diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java deleted file mode 100644 index f786bb0b33..0000000000 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java +++ /dev/null @@ -1,2791 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.bigtable.admin.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for creating, configuring, and deleting Cloud Bigtable Instances and
- * Clusters. Provides access to the Instance and Cluster schemas only, not the
- * tables' metadata or data stored in those tables.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableInstanceAdminGrpc { - - private BigtableInstanceAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.bigtable.admin.v2.BigtableInstanceAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getCreateInstanceMethod = - getCreateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, - responseType = com.google.bigtable.admin.v2.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getGetInstanceMethod = - getGetInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, - responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { - BigtableInstanceAdminGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.bigtable.admin.v2.Instance.class, - responseType = com.google.bigtable.admin.v2.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getUpdateInstanceMethod = - getUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", - requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod; - if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getPartialUpdateInstanceMethod = - BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) - == null) { - BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = - getPartialUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier( - "PartialUpdateInstance")) - .build(); - } - } - } - return getPartialUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getDeleteInstanceMethod = - getDeleteInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { - BigtableInstanceAdminGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, - responseType = com.google.bigtable.admin.v2.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { - BigtableInstanceAdminGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, - responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { - BigtableInstanceAdminGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.bigtable.admin.v2.Cluster.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor - getUpdateClusterMethod; - if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { - BigtableInstanceAdminGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", - requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod; - if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getPartialUpdateClusterMethod = - BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) - == null) { - BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = - getPartialUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) - .build(); - } - } - } - return getPartialUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { - BigtableInstanceAdminGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", - requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - responseType = com.google.bigtable.admin.v2.AppProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod; - if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getCreateAppProfileMethod = - getCreateAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) - .build(); - } - } - } - return getCreateAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", - requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, - responseType = com.google.bigtable.admin.v2.AppProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod; - if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { - BigtableInstanceAdminGrpc.getGetAppProfileMethod = - getGetAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) - .build(); - } - } - } - return getGetAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", - requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod; - if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) - == null) { - BigtableInstanceAdminGrpc.getListAppProfilesMethod = - getListAppProfilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListAppProfilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListAppProfilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) - .build(); - } - } - } - return getListAppProfilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", - requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod; - if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = - getUpdateAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.UpdateAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) - .build(); - } - } - } - return getUpdateAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", - requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod; - if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = - getDeleteAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) - .build(); - } - } - } - return getDeleteAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { - BigtableInstanceAdminGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { - BigtableInstanceAdminGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) - == null) { - BigtableInstanceAdminGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", - requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod; - if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { - BigtableInstanceAdminGrpc.getListHotTabletsMethod = - getListHotTabletsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListHotTabletsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListHotTabletsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) - .build(); - } - } - } - return getListHotTabletsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminStub(channel, callOptions); - } - }; - return BigtableInstanceAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigtableInstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminBlockingStub(channel, callOptions); - } - }; - return BigtableInstanceAdminBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BigtableInstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminFutureStub(channel, callOptions); - } - }; - return BigtableInstanceAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - default void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - default void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - default void updateInstance( - com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - default void partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartialUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - default void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - default void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - default void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - default void updateCluster( - com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - default void partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartialUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - default void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - default void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - default void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - default void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAppProfilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - default void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - default void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - default void listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListHotTabletsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public abstract static class BigtableInstanceAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigtableInstanceAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private BigtableInstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public void updateInstance( - com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public void partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public void updateCluster( - com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public void partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public void listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableInstanceAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.bigtable.admin.v2.ListInstancesResponse listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance updateInstance( - com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.protobuf.Empty deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.bigtable.admin.v2.Cluster getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListClustersResponse listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster( - com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAppProfilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.longrunning.Operation updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListHotTabletsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableInstanceAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListInstancesResponse> - listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListClustersResponse> - listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.AppProfile> - createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.AppProfile> - getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListAppProfilesResponse> - listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListHotTabletsResponse> - listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_INSTANCE = 0; - private static final int METHODID_GET_INSTANCE = 1; - private static final int METHODID_LIST_INSTANCES = 2; - private static final int METHODID_UPDATE_INSTANCE = 3; - private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; - private static final int METHODID_DELETE_INSTANCE = 5; - private static final int METHODID_CREATE_CLUSTER = 6; - private static final int METHODID_GET_CLUSTER = 7; - private static final int METHODID_LIST_CLUSTERS = 8; - private static final int METHODID_UPDATE_CLUSTER = 9; - private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; - private static final int METHODID_DELETE_CLUSTER = 11; - private static final int METHODID_CREATE_APP_PROFILE = 12; - private static final int METHODID_GET_APP_PROFILE = 13; - private static final int METHODID_LIST_APP_PROFILES = 14; - private static final int METHODID_UPDATE_APP_PROFILE = 15; - private static final int METHODID_DELETE_APP_PROFILE = 16; - private static final int METHODID_GET_IAM_POLICY = 17; - private static final int METHODID_SET_IAM_POLICY = 18; - private static final int METHODID_TEST_IAM_PERMISSIONS = 19; - private static final int METHODID_LIST_HOT_TABLETS = 20; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.bigtable.admin.v2.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.bigtable.admin.v2.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.bigtable.admin.v2.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.bigtable.admin.v2.Instance) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PARTIAL_UPDATE_INSTANCE: - serviceImpl.partialUpdateInstance( - (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.bigtable.admin.v2.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.bigtable.admin.v2.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.bigtable.admin.v2.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.bigtable.admin.v2.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.bigtable.admin.v2.Cluster) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PARTIAL_UPDATE_CLUSTER: - serviceImpl.partialUpdateCluster( - (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.bigtable.admin.v2.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_APP_PROFILE: - serviceImpl.createAppProfile( - (com.google.bigtable.admin.v2.CreateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_APP_PROFILE: - serviceImpl.getAppProfile( - (com.google.bigtable.admin.v2.GetAppProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_APP_PROFILES: - serviceImpl.listAppProfiles( - (com.google.bigtable.admin.v2.ListAppProfilesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_APP_PROFILE: - serviceImpl.updateAppProfile( - (com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_APP_PROFILE: - serviceImpl.deleteAppProfile( - (com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_HOT_TABLETS: - serviceImpl.listHotTablets( - (com.google.bigtable.admin.v2.ListHotTabletsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetInstanceRequest, - com.google.bigtable.admin.v2.Instance>(service, METHODID_GET_INSTANCE))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getPartialUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetClusterRequest, - com.google.bigtable.admin.v2.Cluster>(service, METHODID_GET_CLUSTER))) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getPartialUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getCreateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>(service, METHODID_CREATE_APP_PROFILE))) - .addMethod( - getGetAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>(service, METHODID_GET_APP_PROFILE))) - .addMethod( - getListAppProfilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse>( - service, METHODID_LIST_APP_PROFILES))) - .addMethod( - getUpdateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_APP_PROFILE))) - .addMethod( - getDeleteAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_APP_PROFILE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getListHotTabletsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse>( - service, METHODID_LIST_HOT_TABLETS))) - .build(); - } - - private abstract static class BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableInstanceAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); - } - } - - private static final class BigtableInstanceAdminFileDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier { - BigtableInstanceAdminFileDescriptorSupplier() {} - } - - private static final class BigtableInstanceAdminMethodDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - BigtableInstanceAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableInstanceAdminFileDescriptorSupplier()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getPartialUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getListClustersMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getPartialUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getCreateAppProfileMethod()) - .addMethod(getGetAppProfileMethod()) - .addMethod(getListAppProfilesMethod()) - .addMethod(getUpdateAppProfileMethod()) - .addMethod(getDeleteAppProfileMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getListHotTabletsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java b/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java deleted file mode 100644 index 70e6a14690..0000000000 --- a/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java +++ /dev/null @@ -1,1298 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.bigtable.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for reading from and writing to existing Bigtable tables.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/v2/bigtable.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableGrpc { - - private BigtableGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.bigtable.v2.Bigtable"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadRows", - requestType = com.google.bigtable.v2.ReadRowsRequest.class, - responseType = com.google.bigtable.v2.ReadRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod; - if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { - BigtableGrpc.getReadRowsMethod = - getReadRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) - .build(); - } - } - } - return getReadRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", - requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, - responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod; - if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { - BigtableGrpc.getSampleRowKeysMethod = - getSampleRowKeysMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) - .build(); - } - } - } - return getSampleRowKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MutateRow", - requestType = com.google.bigtable.v2.MutateRowRequest.class, - responseType = com.google.bigtable.v2.MutateRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod; - if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { - BigtableGrpc.getMutateRowMethod = - getMutateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) - .build(); - } - } - } - return getMutateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MutateRows", - requestType = com.google.bigtable.v2.MutateRowsRequest.class, - responseType = com.google.bigtable.v2.MutateRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod; - if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { - BigtableGrpc.getMutateRowsMethod = - getMutateRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) - .build(); - } - } - } - return getMutateRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", - requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, - responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod; - if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { - BigtableGrpc.getCheckAndMutateRowMethod = - getCheckAndMutateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.CheckAndMutateRowResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) - .build(); - } - } - } - return getCheckAndMutateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", - requestType = com.google.bigtable.v2.PingAndWarmRequest.class, - responseType = com.google.bigtable.v2.PingAndWarmResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod; - if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { - BigtableGrpc.getPingAndWarmMethod = - getPingAndWarmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) - .build(); - } - } - } - return getPingAndWarmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", - requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod; - if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { - BigtableGrpc.getReadModifyWriteRowMethod = - getReadModifyWriteRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadModifyWriteRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadModifyWriteRowResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) - .build(); - } - } - } - return getReadModifyWriteRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", - requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, - responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod; - if ((getGenerateInitialChangeStreamPartitionsMethod = - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) - == null) { - synchronized (BigtableGrpc.class) { - if ((getGenerateInitialChangeStreamPartitionsMethod = - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) - == null) { - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = - getGenerateInitialChangeStreamPartitionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier( - "GenerateInitialChangeStreamPartitions")) - .build(); - } - } - } - return getGenerateInitialChangeStreamPartitionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", - requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, - responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod; - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - BigtableGrpc.getReadChangeStreamMethod = - getReadChangeStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) - .build(); - } - } - } - return getReadChangeStreamMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BigtableStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - }; - return BigtableStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigtableBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - }; - return BigtableBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BigtableFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - }; - return BigtableFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * 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
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - default void readRows( - com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - default void sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSampleRowKeysMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - default void mutateRow( - com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - default void mutateRows( - com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - default void checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckAndMutateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - default void pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPingAndWarmMethod(), responseObserver); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * 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.
-     * 
- */ - default void readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReadModifyWriteRowMethod(), responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - default void generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - default void readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReadChangeStreamMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public abstract static class BigtableImplBase implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigtableGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableStub extends io.grpc.stub.AbstractAsyncStub { - private BigtableStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - - /** - * - * - *
-     * 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
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public void readRows( - com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public void sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public void mutateRow( - com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public void mutateRows( - com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public void checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public void pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * 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.
-     * 
- */ - public void readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public void generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public void readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * 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
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public java.util.Iterator readRows( - com.google.bigtable.v2.ReadRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - public java.util.Iterator sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.bigtable.v2.MutateRowResponse mutateRow( - com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMutateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public java.util.Iterator mutateRows( - com.google.bigtable.v2.MutateRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getMutateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPingAndWarmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * 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.
-     * 
- */ - public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public java.util.Iterator - generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), - getGenerateInitialChangeStreamPartitionsMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public java.util.Iterator readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.MutateRowResponse> - mutateRow(com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.CheckAndMutateRowResponse> - checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.PingAndWarmResponse> - pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * 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.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.ReadModifyWriteRowResponse> - readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_READ_ROWS = 0; - private static final int METHODID_SAMPLE_ROW_KEYS = 1; - private static final int METHODID_MUTATE_ROW = 2; - private static final int METHODID_MUTATE_ROWS = 3; - private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; - private static final int METHODID_PING_AND_WARM = 5; - private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; - private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; - private static final int METHODID_READ_CHANGE_STREAM = 8; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_READ_ROWS: - serviceImpl.readRows( - (com.google.bigtable.v2.ReadRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SAMPLE_ROW_KEYS: - serviceImpl.sampleRowKeys( - (com.google.bigtable.v2.SampleRowKeysRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_MUTATE_ROW: - serviceImpl.mutateRow( - (com.google.bigtable.v2.MutateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_MUTATE_ROWS: - serviceImpl.mutateRows( - (com.google.bigtable.v2.MutateRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CHECK_AND_MUTATE_ROW: - serviceImpl.checkAndMutateRow( - (com.google.bigtable.v2.CheckAndMutateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PING_AND_WARM: - serviceImpl.pingAndWarm( - (com.google.bigtable.v2.PingAndWarmRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_READ_MODIFY_WRITE_ROW: - serviceImpl.readModifyWriteRow( - (com.google.bigtable.v2.ReadModifyWriteRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: - serviceImpl.generateInitialChangeStreamPartitions( - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>) - responseObserver); - break; - case METHODID_READ_CHANGE_STREAM: - serviceImpl.readChangeStream( - (com.google.bigtable.v2.ReadChangeStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadRowsRequest, - com.google.bigtable.v2.ReadRowsResponse>(service, METHODID_READ_ROWS))) - .addMethod( - getSampleRowKeysMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse>( - service, METHODID_SAMPLE_ROW_KEYS))) - .addMethod( - getMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowRequest, - com.google.bigtable.v2.MutateRowResponse>(service, METHODID_MUTATE_ROW))) - .addMethod( - getMutateRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowsRequest, - com.google.bigtable.v2.MutateRowsResponse>(service, METHODID_MUTATE_ROWS))) - .addMethod( - getCheckAndMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse>( - service, METHODID_CHECK_AND_MUTATE_ROW))) - .addMethod( - getPingAndWarmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.PingAndWarmRequest, - com.google.bigtable.v2.PingAndWarmResponse>(service, METHODID_PING_AND_WARM))) - .addMethod( - getReadModifyWriteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse>( - service, METHODID_READ_MODIFY_WRITE_ROW))) - .addMethod( - getGenerateInitialChangeStreamPartitionsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( - service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) - .addMethod( - getReadChangeStreamMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse>( - service, METHODID_READ_CHANGE_STREAM))) - .build(); - } - - private abstract static class BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.v2.BigtableProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Bigtable"); - } - } - - private static final class BigtableFileDescriptorSupplier extends BigtableBaseDescriptorSupplier { - BigtableFileDescriptorSupplier() {} - } - - private static final class BigtableMethodDescriptorSupplier extends BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - BigtableMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigtableGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) - .addMethod(getReadRowsMethod()) - .addMethod(getSampleRowKeysMethod()) - .addMethod(getMutateRowMethod()) - .addMethod(getMutateRowsMethod()) - .addMethod(getCheckAndMutateRowMethod()) - .addMethod(getPingAndWarmMethod()) - .addMethod(getReadModifyWriteRowMethod()) - .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) - .addMethod(getReadChangeStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java new file mode 100644 index 0000000000..596d90144f --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -0,0 +1,3678 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.AppProfileName; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.ProjectName; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.OperationsClient; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances and + * Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata or + * data stored in those tables. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create()) {
+ *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the BaseBigtableInstanceAdminClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

CreateInstance

Create an instance within a project. + *

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createInstanceAsync(CreateInstanceRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • createInstanceAsync(ProjectName parent, String instanceId, Instance instance, Map<String, Cluster> clusters) + *

  • createInstanceAsync(String parent, String instanceId, Instance instance, Map<String, Cluster> clusters) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createInstanceOperationCallable() + *

  • createInstanceCallable() + *

+ *

GetInstance

Gets information about an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getInstance(GetInstanceRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getInstance(InstanceName name) + *

  • getInstance(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getInstanceCallable() + *

+ *

ListInstances

Lists information about instances in a project.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listInstances(ListInstancesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listInstances(ProjectName parent) + *

  • listInstances(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listInstancesCallable() + *

+ *

UpdateInstance

Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateInstance(Instance request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateInstanceCallable() + *

+ *

PartialUpdateInstance

Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • partialUpdateInstanceAsync(PartialUpdateInstanceRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • partialUpdateInstanceAsync(Instance instance, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • partialUpdateInstanceOperationCallable() + *

  • partialUpdateInstanceCallable() + *

+ *

DeleteInstance

Delete an instance from a project.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteInstance(DeleteInstanceRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteInstance(InstanceName name) + *

  • deleteInstance(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteInstanceCallable() + *

+ *

CreateCluster

Creates a cluster within an instance. + *

Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createClusterAsync(CreateClusterRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • createClusterAsync(InstanceName parent, String clusterId, Cluster cluster) + *

  • createClusterAsync(String parent, String clusterId, Cluster cluster) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createClusterOperationCallable() + *

  • createClusterCallable() + *

+ *

GetCluster

Gets information about a cluster.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getCluster(GetClusterRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getCluster(ClusterName name) + *

  • getCluster(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getClusterCallable() + *

+ *

ListClusters

Lists information about clusters in an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listClusters(ListClustersRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listClusters(InstanceName parent) + *

  • listClusters(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listClustersCallable() + *

+ *

UpdateCluster

Updates a cluster within an instance. + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. In order to update it, you must use PartialUpdateCluster.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateClusterAsync(Cluster request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateClusterOperationCallable() + *

  • updateClusterCallable() + *

+ *

PartialUpdateCluster

Partially updates a cluster within a project. This method is the preferred way to update a Cluster. + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the update_mask. + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set a serve_node count via the update_mask.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • partialUpdateClusterAsync(PartialUpdateClusterRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • partialUpdateClusterAsync(Cluster cluster, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • partialUpdateClusterOperationCallable() + *

  • partialUpdateClusterCallable() + *

+ *

DeleteCluster

Deletes a cluster from an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteCluster(DeleteClusterRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteCluster(ClusterName name) + *

  • deleteCluster(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteClusterCallable() + *

+ *

CreateAppProfile

Creates an app profile within an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createAppProfile(CreateAppProfileRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • createAppProfile(InstanceName parent, String appProfileId, AppProfile appProfile) + *

  • createAppProfile(String parent, String appProfileId, AppProfile appProfile) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createAppProfileCallable() + *

+ *

GetAppProfile

Gets information about an app profile.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getAppProfile(GetAppProfileRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getAppProfile(AppProfileName name) + *

  • getAppProfile(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getAppProfileCallable() + *

+ *

ListAppProfiles

Lists information about app profiles in an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listAppProfiles(ListAppProfilesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listAppProfiles(InstanceName parent) + *

  • listAppProfiles(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listAppProfilesPagedCallable() + *

  • listAppProfilesCallable() + *

+ *

UpdateAppProfile

Updates an app profile within an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateAppProfileAsync(UpdateAppProfileRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • updateAppProfileAsync(AppProfile appProfile, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateAppProfileOperationCallable() + *

  • updateAppProfileCallable() + *

+ *

DeleteAppProfile

Deletes an app profile from an instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteAppProfile(DeleteAppProfileRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteAppProfile(AppProfileName name) + *

  • deleteAppProfile(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteAppProfileCallable() + *

+ *

GetIamPolicy

Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getIamPolicy(GetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getIamPolicy(ResourceName resource) + *

  • getIamPolicy(String resource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getIamPolicyCallable() + *

+ *

SetIamPolicy

Sets the access control policy on an instance resource. Replaces any existing policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • setIamPolicy(SetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • setIamPolicy(ResourceName resource, Policy policy) + *

  • setIamPolicy(String resource, Policy policy) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • setIamPolicyCallable() + *

+ *

TestIamPermissions

Returns permissions that the caller has on the specified instance resource.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • testIamPermissions(TestIamPermissionsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • testIamPermissions(ResourceName resource, List<String> permissions) + *

  • testIamPermissions(String resource, List<String> permissions) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • testIamPermissionsCallable() + *

+ *

ListHotTablets

Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listHotTablets(ListHotTabletsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listHotTablets(ClusterName parent) + *

  • listHotTablets(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listHotTabletsPagedCallable() + *

  • listHotTabletsCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of + * BaseBigtableInstanceAdminSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     BaseBigtableInstanceAdminSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create(baseBigtableInstanceAdminSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     BaseBigtableInstanceAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create(baseBigtableInstanceAdminSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminClient implements BackgroundResource { + private final BaseBigtableInstanceAdminSettings settings; + private final BigtableInstanceAdminStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of BaseBigtableInstanceAdminClient with default settings. */ + public static final BaseBigtableInstanceAdminClient create() throws IOException { + return create(BaseBigtableInstanceAdminSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given settings. The + * channels are created based on the settings passed in, or defaults for any settings that are not + * set. + */ + public static final BaseBigtableInstanceAdminClient create( + BaseBigtableInstanceAdminSettings settings) throws IOException { + return new BaseBigtableInstanceAdminClient(settings); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given stub for making + * calls. This is for advanced usage - prefer using create(BaseBigtableInstanceAdminSettings). + */ + public static final BaseBigtableInstanceAdminClient create(BigtableInstanceAdminStub stub) { + return new BaseBigtableInstanceAdminClient(stub); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected BaseBigtableInstanceAdminClient(BaseBigtableInstanceAdminSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((BigtableInstanceAdminStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected BaseBigtableInstanceAdminClient(BigtableInstanceAdminStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final BaseBigtableInstanceAdminSettings getSettings() { + return settings; + } + + public BigtableInstanceAdminStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + ProjectName parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + String parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.createInstanceAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + CreateInstanceRequest request) { + return createInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createInstanceOperationCallable() { + return stub.createInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createInstanceCallable() { + return stub.createInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(InstanceName name) { + GetInstanceRequest request = + GetInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(String name) { + GetInstanceRequest request = GetInstanceRequest.newBuilder().setName(name).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(GetInstanceRequest request) { + return getInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getInstanceCallable() { + return stub.getInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(ProjectName parent) { + ListInstancesRequest request = + ListInstancesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(String parent) { + ListInstancesRequest request = ListInstancesRequest.newBuilder().setParent(parent).build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(ListInstancesRequest request) { + return listInstancesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listInstancesCallable().futureCall(request);
+   *   // Do something.
+   *   ListInstancesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listInstancesCallable() { + return stub.listInstancesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.updateInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance updateInstance(Instance request) { + return updateInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateInstanceCallable() { + return stub.updateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance instance = Instance.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(instance, updateMask).get();
+   * }
+   * }
+ * + * @param instance Required. The Instance which will (partially) replace the current value. + * @param updateMask Required. The subset of Instance fields which should be replaced. Must be + * explicitly set. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateInstanceAsync( + Instance instance, FieldMask updateMask) { + PartialUpdateInstanceRequest request = + PartialUpdateInstanceRequest.newBuilder() + .setInstance(instance) + .setUpdateMask(updateMask) + .build(); + return partialUpdateInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateInstanceAsync( + PartialUpdateInstanceRequest request) { + return partialUpdateInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateInstanceOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateInstanceOperationCallable() { + return stub.partialUpdateInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateInstanceCallable() { + return stub.partialUpdateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(InstanceName name) { + DeleteInstanceRequest request = + DeleteInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(String name) { + DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder().setName(name).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(DeleteInstanceRequest request) { + deleteInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteInstanceCallable() { + return stub.deleteInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + InstanceName parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + String parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.createClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + CreateClusterRequest request) { + return createClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createClusterOperationCallable() { + return stub.createClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createClusterCallable() { + return stub.createClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(ClusterName name) { + GetClusterRequest request = + GetClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(String name) { + GetClusterRequest request = GetClusterRequest.newBuilder().setName(name).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(GetClusterRequest request) { + return getClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getClusterCallable() { + return stub.getClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(InstanceName parent) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(String parent) { + ListClustersRequest request = ListClustersRequest.newBuilder().setParent(parent).build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(ListClustersRequest request) { + return listClustersCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listClustersCallable().futureCall(request);
+   *   // Do something.
+   *   ListClustersResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listClustersCallable() { + return stub.listClustersCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.updateClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateClusterAsync(Cluster request) { + return updateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateClusterOperationCallable() { + return stub.updateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateClusterCallable() { + return stub.updateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterAsync(cluster, updateMask).get();
+   * }
+   * }
+ * + * @param cluster Required. The Cluster which contains the partial updates to be applied, subject + * to the update_mask. + * @param updateMask Required. The subset of Cluster fields which should be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateClusterAsync( + Cluster cluster, FieldMask updateMask) { + PartialUpdateClusterRequest request = + PartialUpdateClusterRequest.newBuilder() + .setCluster(cluster) + .setUpdateMask(updateMask) + .build(); + return partialUpdateClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.partialUpdateClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateClusterAsync( + PartialUpdateClusterRequest request) { + return partialUpdateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateClusterOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateClusterOperationCallable() { + return stub.partialUpdateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateClusterCallable() { + return stub.partialUpdateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(ClusterName name) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteCluster(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(DeleteClusterRequest request) { + deleteClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteClusterCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteClusterCallable() { + return stub.deleteClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + InstanceName parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + String parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.createAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile(CreateAppProfileRequest request) { + return createAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createAppProfileCallable() { + return stub.createAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(AppProfileName name) { + GetAppProfileRequest request = + GetAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(String name) { + GetAppProfileRequest request = GetAppProfileRequest.newBuilder().setName(name).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(GetAppProfileRequest request) { + return getAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getAppProfileCallable() { + return stub.getAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(InstanceName parent) { + ListAppProfilesRequest request = + ListAppProfilesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(String parent) { + ListAppProfilesRequest request = ListAppProfilesRequest.newBuilder().setParent(parent).build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest request) { + return listAppProfilesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listAppProfilesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (AppProfile element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesPagedCallable() { + return stub.listAppProfilesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListAppProfilesResponse response =
+   *         baseBigtableInstanceAdminClient.listAppProfilesCallable().call(request);
+   *     for (AppProfile element : response.getAppProfilesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesCallable() { + return stub.listAppProfilesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.updateAppProfileAsync(appProfile, updateMask).get();
+   * }
+   * }
+ * + * @param appProfile Required. The app profile which will (partially) replace the current value. + * @param updateMask Required. The subset of app profile fields which should be replaced. If + * unset, all fields will be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAppProfileAsync( + AppProfile appProfile, FieldMask updateMask) { + UpdateAppProfileRequest request = + UpdateAppProfileRequest.newBuilder() + .setAppProfile(appProfile) + .setUpdateMask(updateMask) + .build(); + return updateAppProfileAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.updateAppProfileAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAppProfileAsync( + UpdateAppProfileRequest request) { + return updateAppProfileOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileOperationCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateAppProfileOperationCallable() { + return stub.updateAppProfileOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateAppProfileCallable() { + return stub.updateAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(AppProfileName name) { + DeleteAppProfileRequest request = + DeleteAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(String name) { + DeleteAppProfileRequest request = DeleteAppProfileRequest.newBuilder().setName(name).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(DeleteAppProfileRequest request) { + deleteAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteAppProfileCallable() { + return stub.deleteAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + ResourceName resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + String resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(ClusterName parent) { + ListHotTabletsRequest request = + ListHotTabletsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(String parent) { + ListHotTabletsRequest request = ListHotTabletsRequest.newBuilder().setParent(parent).build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(ListHotTabletsRequest request) { + return listHotTabletsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listHotTabletsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (HotTablet element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listHotTabletsPagedCallable() { + return stub.listHotTabletsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListHotTabletsResponse response =
+   *         baseBigtableInstanceAdminClient.listHotTabletsCallable().call(request);
+   *     for (HotTablet element : response.getHotTabletsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listHotTabletsCallable() { + return stub.listHotTabletsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListAppProfilesPagedResponse + extends AbstractPagedListResponse< + ListAppProfilesRequest, + ListAppProfilesResponse, + AppProfile, + ListAppProfilesPage, + ListAppProfilesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListAppProfilesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListAppProfilesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListAppProfilesPagedResponse(ListAppProfilesPage page) { + super(page, ListAppProfilesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListAppProfilesPage + extends AbstractPage< + ListAppProfilesRequest, ListAppProfilesResponse, AppProfile, ListAppProfilesPage> { + + private ListAppProfilesPage( + PageContext context, + ListAppProfilesResponse response) { + super(context, response); + } + + private static ListAppProfilesPage createEmptyPage() { + return new ListAppProfilesPage(null, null); + } + + @Override + protected ListAppProfilesPage createPage( + PageContext context, + ListAppProfilesResponse response) { + return new ListAppProfilesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListAppProfilesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListAppProfilesRequest, + ListAppProfilesResponse, + AppProfile, + ListAppProfilesPage, + ListAppProfilesFixedSizeCollection> { + + private ListAppProfilesFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListAppProfilesFixedSizeCollection createEmptyCollection() { + return new ListAppProfilesFixedSizeCollection(null, 0); + } + + @Override + protected ListAppProfilesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListAppProfilesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListHotTabletsPagedResponse + extends AbstractPagedListResponse< + ListHotTabletsRequest, + ListHotTabletsResponse, + HotTablet, + ListHotTabletsPage, + ListHotTabletsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListHotTabletsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListHotTabletsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListHotTabletsPagedResponse(ListHotTabletsPage page) { + super(page, ListHotTabletsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListHotTabletsPage + extends AbstractPage< + ListHotTabletsRequest, ListHotTabletsResponse, HotTablet, ListHotTabletsPage> { + + private ListHotTabletsPage( + PageContext context, + ListHotTabletsResponse response) { + super(context, response); + } + + private static ListHotTabletsPage createEmptyPage() { + return new ListHotTabletsPage(null, null); + } + + @Override + protected ListHotTabletsPage createPage( + PageContext context, + ListHotTabletsResponse response) { + return new ListHotTabletsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListHotTabletsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListHotTabletsRequest, + ListHotTabletsResponse, + HotTablet, + ListHotTabletsPage, + ListHotTabletsFixedSizeCollection> { + + private ListHotTabletsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListHotTabletsFixedSizeCollection createEmptyCollection() { + return new ListHotTabletsFixedSizeCollection(null, 0); + } + + @Override + protected ListHotTabletsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListHotTabletsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java new file mode 100644 index 0000000000..c3b8074305 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java @@ -0,0 +1,525 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BaseBigtableInstanceAdminClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtableadmin.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getInstance to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableInstanceAdminSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
+ *     BaseBigtableInstanceAdminSettings.newBuilder();
+ * baseBigtableInstanceAdminSettingsBuilder
+ *     .getInstanceSettings()
+ *     .setRetrySettings(
+ *         baseBigtableInstanceAdminSettingsBuilder
+ *             .getInstanceSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     baseBigtableInstanceAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to createInstance. */ + public UnaryCallSettings createInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createInstanceSettings(); + } + + /** Returns the object with the settings used for calls to createInstance. */ + public OperationCallSettings + createInstanceOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .createInstanceOperationSettings(); + } + + /** Returns the object with the settings used for calls to getInstance. */ + public UnaryCallSettings getInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getInstanceSettings(); + } + + /** Returns the object with the settings used for calls to listInstances. */ + public UnaryCallSettings listInstancesSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listInstancesSettings(); + } + + /** Returns the object with the settings used for calls to updateInstance. */ + public UnaryCallSettings updateInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateInstanceSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings + partialUpdateInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).partialUpdateInstanceSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings + partialUpdateInstanceOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .partialUpdateInstanceOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteInstance. */ + public UnaryCallSettings deleteInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteInstanceSettings(); + } + + /** Returns the object with the settings used for calls to createCluster. */ + public UnaryCallSettings createClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createClusterSettings(); + } + + /** Returns the object with the settings used for calls to createCluster. */ + public OperationCallSettings + createClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to getCluster. */ + public UnaryCallSettings getClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getClusterSettings(); + } + + /** Returns the object with the settings used for calls to listClusters. */ + public UnaryCallSettings listClustersSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listClustersSettings(); + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public UnaryCallSettings updateClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateClusterSettings(); + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public OperationCallSettings + updateClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings partialUpdateClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).partialUpdateClusterSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings + partialUpdateClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .partialUpdateClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteCluster. */ + public UnaryCallSettings deleteClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteClusterSettings(); + } + + /** Returns the object with the settings used for calls to createAppProfile. */ + public UnaryCallSettings createAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to getAppProfile. */ + public UnaryCallSettings getAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to listAppProfiles. */ + public PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listAppProfilesSettings(); + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public UnaryCallSettings updateAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public OperationCallSettings + updateAppProfileOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .updateAppProfileOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings deleteAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + /** Returns the object with the settings used for calls to listHotTablets. */ + public PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listHotTabletsSettings(); + } + + public static final BaseBigtableInstanceAdminSettings create( + BigtableInstanceAdminStubSettings stub) throws IOException { + return new BaseBigtableInstanceAdminSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableInstanceAdminStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableInstanceAdminStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableInstanceAdminStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableInstanceAdminSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableInstanceAdminSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableInstanceAdminStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableInstanceAdminSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableInstanceAdminStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableInstanceAdminStubSettings.newBuilder()); + } + + public BigtableInstanceAdminStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableInstanceAdminStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return getStubSettingsBuilder().createInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return getStubSettingsBuilder().createInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getStubSettingsBuilder().getInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return getStubSettingsBuilder().listInstancesSettings(); + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return getStubSettingsBuilder().updateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return getStubSettingsBuilder().partialUpdateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return getStubSettingsBuilder().partialUpdateInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return getStubSettingsBuilder().deleteInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return getStubSettingsBuilder().createClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public OperationCallSettings.Builder + createClusterOperationSettings() { + return getStubSettingsBuilder().createClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getStubSettingsBuilder().getClusterSettings(); + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return getStubSettingsBuilder().listClustersSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return getStubSettingsBuilder().updateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return getStubSettingsBuilder().updateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return getStubSettingsBuilder().partialUpdateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return getStubSettingsBuilder().partialUpdateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return getStubSettingsBuilder().deleteClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return getStubSettingsBuilder().createAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getStubSettingsBuilder().getAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return getStubSettingsBuilder().listAppProfilesSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return getStubSettingsBuilder().updateAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return getStubSettingsBuilder().updateAppProfileOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return getStubSettingsBuilder().deleteAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return getStubSettingsBuilder().listHotTabletsSettings(); + } + + @Override + public BaseBigtableInstanceAdminSettings build() throws IOException { + return new BaseBigtableInstanceAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java new file mode 100644 index 0000000000..8eaf2a385a --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -0,0 +1,4948 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BackupName; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CopyBackupMetadata; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotName; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.TableName; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStub; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.OperationsClient; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. + * + *

Provides access to the table schemas only, not the data stored within the tables. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+ *     BaseBigtableTableAdminClient.create()) {
+ *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   String tableId = "tableId-1552905847";
+ *   Table table = Table.newBuilder().build();
+ *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the BaseBigtableTableAdminClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

CreateTable

Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createTable(CreateTableRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • createTable(InstanceName parent, String tableId, Table table) + *

  • createTable(String parent, String tableId, Table table) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createTableCallable() + *

+ *

CreateTableFromSnapshot

Creates a new table from the specified snapshot. The target table must not exist. The snapshot and the table must be in the same instance. + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createTableFromSnapshotAsync(CreateTableFromSnapshotRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • createTableFromSnapshotAsync(InstanceName parent, String tableId, SnapshotName sourceSnapshot) + *

  • createTableFromSnapshotAsync(InstanceName parent, String tableId, String sourceSnapshot) + *

  • createTableFromSnapshotAsync(String parent, String tableId, SnapshotName sourceSnapshot) + *

  • createTableFromSnapshotAsync(String parent, String tableId, String sourceSnapshot) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createTableFromSnapshotOperationCallable() + *

  • createTableFromSnapshotCallable() + *

+ *

ListTables

Lists all tables served from a specified instance.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listTables(ListTablesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listTables(InstanceName parent) + *

  • listTables(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listTablesPagedCallable() + *

  • listTablesCallable() + *

+ *

GetTable

Gets metadata information about the specified table.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getTable(GetTableRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getTable(TableName name) + *

  • getTable(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getTableCallable() + *

+ *

UpdateTable

Updates a specified table.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateTableAsync(UpdateTableRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • updateTableAsync(Table table, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateTableOperationCallable() + *

  • updateTableCallable() + *

+ *

DeleteTable

Permanently deletes a specified table and all of its data.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteTable(DeleteTableRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteTable(TableName name) + *

  • deleteTable(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteTableCallable() + *

+ *

UndeleteTable

Restores a specified table which was accidentally deleted.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • undeleteTableAsync(UndeleteTableRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • undeleteTableAsync(TableName name) + *

  • undeleteTableAsync(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • undeleteTableOperationCallable() + *

  • undeleteTableCallable() + *

+ *

ModifyColumnFamilies

Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • modifyColumnFamilies(ModifyColumnFamiliesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • modifyColumnFamilies(TableName name, List<ModifyColumnFamiliesRequest.Modification> modifications) + *

  • modifyColumnFamilies(String name, List<ModifyColumnFamiliesRequest.Modification> modifications) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • modifyColumnFamiliesCallable() + *

+ *

DropRowRange

Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • dropRowRange(DropRowRangeRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • dropRowRangeCallable() + *

+ *

GenerateConsistencyToken

Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • generateConsistencyToken(GenerateConsistencyTokenRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • generateConsistencyToken(TableName name) + *

  • generateConsistencyToken(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • generateConsistencyTokenCallable() + *

+ *

CheckConsistency

Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • checkConsistency(CheckConsistencyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • checkConsistency(TableName name, String consistencyToken) + *

  • checkConsistency(String name, String consistencyToken) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • checkConsistencyCallable() + *

+ *

SnapshotTable

Creates a new snapshot in the specified cluster from the specified source table. The cluster and the table must be in the same instance. + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • snapshotTableAsync(SnapshotTableRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • snapshotTableAsync(TableName name, ClusterName cluster, String snapshotId, String description) + *

  • snapshotTableAsync(TableName name, String cluster, String snapshotId, String description) + *

  • snapshotTableAsync(String name, ClusterName cluster, String snapshotId, String description) + *

  • snapshotTableAsync(String name, String cluster, String snapshotId, String description) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • snapshotTableOperationCallable() + *

  • snapshotTableCallable() + *

+ *

GetSnapshot

Gets metadata information about the specified snapshot. + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getSnapshot(GetSnapshotRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getSnapshot(SnapshotName name) + *

  • getSnapshot(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getSnapshotCallable() + *

+ *

ListSnapshots

Lists all snapshots associated with the specified cluster. + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listSnapshots(ListSnapshotsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listSnapshots(ClusterName parent) + *

  • listSnapshots(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listSnapshotsPagedCallable() + *

  • listSnapshotsCallable() + *

+ *

DeleteSnapshot

Permanently deletes the specified snapshot. + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteSnapshot(DeleteSnapshotRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteSnapshot(SnapshotName name) + *

  • deleteSnapshot(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteSnapshotCallable() + *

+ *

CreateBackup

Starts creating a new Cloud Bigtable Backup. The returned backup [long-running operation][google.longrunning.Operation] can be used to track creation of the backup. The [metadata][google.longrunning.Operation.metadata] field type is [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the creation and delete the backup.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createBackupAsync(CreateBackupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • createBackupAsync(ClusterName parent, String backupId, Backup backup) + *

  • createBackupAsync(String parent, String backupId, Backup backup) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createBackupOperationCallable() + *

  • createBackupCallable() + *

+ *

GetBackup

Gets metadata on a pending or completed Cloud Bigtable Backup.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getBackup(GetBackupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getBackup(BackupName name) + *

  • getBackup(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getBackupCallable() + *

+ *

UpdateBackup

Updates a pending or completed Cloud Bigtable Backup.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateBackup(UpdateBackupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • updateBackup(Backup backup, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateBackupCallable() + *

+ *

DeleteBackup

Deletes a pending or completed Cloud Bigtable backup.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteBackup(DeleteBackupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteBackup(BackupName name) + *

  • deleteBackup(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteBackupCallable() + *

+ *

ListBackups

Lists Cloud Bigtable backups. Returns both completed and pending backups.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listBackups(ListBackupsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listBackups(ClusterName parent) + *

  • listBackups(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listBackupsPagedCallable() + *

  • listBackupsCallable() + *

+ *

RestoreTable

Create a new table by restoring from a completed backup. The returned table [long-running operation][google.longrunning.Operation] can be used to track the progress of the operation, and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The [response][google.longrunning.Operation.response] type is [Table][google.bigtable.admin.v2.Table], if successful.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • restoreTableAsync(RestoreTableRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • restoreTableOperationCallable() + *

  • restoreTableCallable() + *

+ *

CopyBackup

Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • copyBackupAsync(CopyBackupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • copyBackupAsync(ClusterName parent, String backupId, BackupName sourceBackup, Timestamp expireTime) + *

  • copyBackupAsync(ClusterName parent, String backupId, String sourceBackup, Timestamp expireTime) + *

  • copyBackupAsync(String parent, String backupId, BackupName sourceBackup, Timestamp expireTime) + *

  • copyBackupAsync(String parent, String backupId, String sourceBackup, Timestamp expireTime) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • copyBackupOperationCallable() + *

  • copyBackupCallable() + *

+ *

GetIamPolicy

Gets the access control policy for a Table or Backup resource. Returns an empty policy if the resource exists but does not have a policy set.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getIamPolicy(GetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getIamPolicy(ResourceName resource) + *

  • getIamPolicy(String resource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getIamPolicyCallable() + *

+ *

SetIamPolicy

Sets the access control policy on a Table or Backup resource. Replaces any existing policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • setIamPolicy(SetIamPolicyRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • setIamPolicy(ResourceName resource, Policy policy) + *

  • setIamPolicy(String resource, Policy policy) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • setIamPolicyCallable() + *

+ *

TestIamPermissions

Returns permissions that the caller has on the specified Table or Backup resource.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • testIamPermissions(TestIamPermissionsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • testIamPermissions(ResourceName resource, List<String> permissions) + *

  • testIamPermissions(String resource, List<String> permissions) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • testIamPermissionsCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of BaseBigtableTableAdminSettings + * to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings =
+ *     BaseBigtableTableAdminSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+ *     BaseBigtableTableAdminClient.create(baseBigtableTableAdminSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings =
+ *     BaseBigtableTableAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+ *     BaseBigtableTableAdminClient.create(baseBigtableTableAdminSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminClient implements BackgroundResource { + private final BaseBigtableTableAdminSettings settings; + private final BigtableTableAdminStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of BaseBigtableTableAdminClient with default settings. */ + public static final BaseBigtableTableAdminClient create() throws IOException { + return create(BaseBigtableTableAdminSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final BaseBigtableTableAdminClient create(BaseBigtableTableAdminSettings settings) + throws IOException { + return new BaseBigtableTableAdminClient(settings); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(BaseBigtableTableAdminSettings). + */ + public static final BaseBigtableTableAdminClient create(BigtableTableAdminStub stub) { + return new BaseBigtableTableAdminClient(stub); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected BaseBigtableTableAdminClient(BaseBigtableTableAdminSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((BigtableTableAdminStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected BaseBigtableTableAdminClient(BigtableTableAdminStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final BaseBigtableTableAdminSettings getSettings() { + return settings; + } + + public BigtableTableAdminStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table in the specified instance. The table can be created with a full set of + * initial column families, specified in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   Table table = Table.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 + * characters. + * @param table Required. The Table to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table createTable(InstanceName parent, String tableId, Table table) { + CreateTableRequest request = + CreateTableRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setTable(table) + .build(); + return createTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table in the specified instance. The table can be created with a full set of + * initial column families, specified in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   Table table = Table.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 + * characters. + * @param table Required. The Table to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table createTable(String parent, String tableId, Table table) { + CreateTableRequest request = + CreateTableRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setTable(table) + .build(); + return createTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table in the specified instance. The table can be created with a full set of + * initial column families, specified in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateTableRequest request =
+   *       CreateTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setTable(Table.newBuilder().build())
+   *           .addAllInitialSplits(new ArrayList())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.createTable(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table createTable(CreateTableRequest request) { + return createTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table in the specified instance. The table can be created with a full set of + * initial column families, specified in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateTableRequest request =
+   *       CreateTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setTable(Table.newBuilder().build())
+   *           .addAllInitialSplits(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createTableCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+   */
+  public final UnaryCallable createTableCallable() {
+    return stub.createTableCallable();
+  }
+
+  // AUTO-GENERATED DOCUMENTATION AND METHOD.
+  /**
+   * Creates a new table from the specified snapshot. The target table must not exist. The snapshot
+   * and the table must be in the same instance.
+   *
+   * 

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   SnapshotName sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + InstanceName parent, String tableId, SnapshotName sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot == null ? null : sourceSnapshot.toString()) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   String sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + InstanceName parent, String tableId, String sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   SnapshotName sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + String parent, String tableId, SnapshotName sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot == null ? null : sourceSnapshot.toString()) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   String sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot Required. The unique name of the snapshot from which to restore the + * table. The snapshot and the table must be in the same instance. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + String parent, String tableId, String sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.createTableFromSnapshotAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + CreateTableFromSnapshotRequest request) { + return createTableFromSnapshotOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationCallable() { + return stub.createTableFromSnapshotOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new table from the specified snapshot. The target table must not exist. The snapshot + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createTableFromSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createTableFromSnapshotCallable() { + return stub.createTableFromSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   for (Table element : baseBigtableTableAdminClient.listTables(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListTablesPagedResponse listTables(InstanceName parent) { + ListTablesRequest request = + ListTablesRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); + return listTables(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   for (Table element : baseBigtableTableAdminClient.listTables(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListTablesPagedResponse listTables(String parent) { + ListTablesRequest request = ListTablesRequest.newBuilder().setParent(parent).build(); + return listTables(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Table element : baseBigtableTableAdminClient.listTables(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListTablesPagedResponse listTables(ListTablesRequest request) { + return listTablesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture
future = + * baseBigtableTableAdminClient.listTablesPagedCallable().futureCall(request); + * // Do something. + * for (Table element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * } + */ + public final UnaryCallable listTablesPagedCallable() { + return stub.listTablesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListTablesResponse response =
+   *         baseBigtableTableAdminClient.listTablesCallable().call(request);
+   *     for (Table element : response.getTablesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listTablesCallable() { + return stub.listTablesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   Table response = baseBigtableTableAdminClient.getTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table getTable(TableName name) { + GetTableRequest request = + GetTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   Table response = baseBigtableTableAdminClient.getTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table getTable(String name) { + GetTableRequest request = GetTableRequest.newBuilder().setName(name).build(); + return getTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetTableRequest request =
+   *       GetTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.getTable(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table getTable(GetTableRequest request) { + return getTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetTableRequest request =
+   *       GetTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture
future = baseBigtableTableAdminClient.getTableCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final UnaryCallable getTableCallable() { + return stub.getTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   Table table = Table.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.updateTableAsync(table, updateMask).get();
+   * }
+   * }
+ * + * @param table Required. The table to update. The table's `name` field is used to identify the + * table to update. + * @param updateMask Required. The list of fields to update. A mask specifying which fields (e.g. + * `change_stream_config`) in the `table` field should be updated. This mask is relative to + * the `table` field, not to the request message. The wildcard (*) path is currently not + * supported. Currently UpdateTable is only supported for the following fields: + *
    + *
  • `change_stream_config` + *
  • `change_stream_config.retention_period` + *
  • `deletion_protection` + *
+ *

If `column_families` is set in `update_mask`, it will return an UNIMPLEMENTED error. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateTableAsync( + Table table, FieldMask updateMask) { + UpdateTableRequest request = + UpdateTableRequest.newBuilder().setTable(table).setUpdateMask(updateMask).build(); + return updateTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.updateTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateTableAsync( + UpdateTableRequest request) { + return updateTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.updateTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateTableOperationCallable() { + return stub.updateTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateTableCallable() { + return stub.updateTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(TableName name) { + DeleteTableRequest request = + DeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(String name) { + DeleteTableRequest request = DeleteTableRequest.newBuilder().setName(name).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteTable(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(DeleteTableRequest request) { + deleteTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteTableCallable() { + return stub.deleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(TableName name) { + UndeleteTableRequest request = + UndeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(String name) { + UndeleteTableRequest request = UndeleteTableRequest.newBuilder().setName(name).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync( + UndeleteTableRequest request) { + return undeleteTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + undeleteTableOperationCallable() { + return stub.undeleteTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable undeleteTableCallable() { + return stub.undeleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + TableName name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + String name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies(ModifyColumnFamiliesRequest request) { + return modifyColumnFamiliesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture
future = + * baseBigtableTableAdminClient.modifyColumnFamiliesCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final UnaryCallable modifyColumnFamiliesCallable() { + return stub.modifyColumnFamiliesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently drop/delete a row range from a specified table. The request can specify whether to + * delete all rows in a table, or only those that match a particular prefix. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.dropRowRange(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void dropRowRange(DropRowRangeRequest request) { + dropRowRangeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently drop/delete a row range from a specified table. The request can specify whether to + * delete all rows in a table, or only those that match a particular prefix. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.dropRowRangeCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable dropRowRangeCallable() { + return stub.dropRowRangeCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder().setName(name).build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken( + GenerateConsistencyTokenRequest request) { + return generateConsistencyTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.generateConsistencyTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateConsistencyTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + generateConsistencyTokenCallable() { + return stub.generateConsistencyTokenCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   CheckConsistencyResponse response = baseBigtableTableAdminClient.checkConsistency(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest request) { + return checkConsistencyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.checkConsistencyCallable().futureCall(request);
+   *   // Do something.
+   *   CheckConsistencyResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkConsistencyCallable() { + return stub.checkConsistencyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.snapshotTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + SnapshotTableRequest request) { + return snapshotTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + snapshotTableOperationCallable() { + return stub.snapshotTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable snapshotTableCallable() { + return stub.snapshotTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(SnapshotName name) { + GetSnapshotRequest request = + GetSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(String name) { + GetSnapshotRequest request = GetSnapshotRequest.newBuilder().setName(name).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(GetSnapshotRequest request) { + return getSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getSnapshotCallable() { + return stub.getSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { + ListSnapshotsRequest request = + ListSnapshotsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(String parent) { + ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder().setParent(parent).build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest request) { + return listSnapshotsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listSnapshotsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Snapshot element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listSnapshotsPagedCallable() { + return stub.listSnapshotsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListSnapshotsResponse response =
+   *         baseBigtableTableAdminClient.listSnapshotsCallable().call(request);
+   *     for (Snapshot element : response.getSnapshotsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listSnapshotsCallable() { + return stub.listSnapshotsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(SnapshotName name) { + DeleteSnapshotRequest request = + DeleteSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(String name) { + DeleteSnapshotRequest request = DeleteSnapshotRequest.newBuilder().setName(name).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteSnapshot(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(DeleteSnapshotRequest request) { + deleteSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteSnapshotCallable() { + return stub.deleteSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String backupId = "backupId2121930365";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent Required. This must be one of the clusters in the instance in which this table is + * located. The backup will be stored in this cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup + * name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + ClusterName parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String backupId = "backupId2121930365";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent Required. This must be one of the clusters in the instance in which this table is + * located. The backup will be stored in this cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup + * name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + String parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.createBackupAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + CreateBackupRequest request) { + return createBackupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.createBackupOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createBackupOperationCallable() { + return stub.createBackupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createBackupCallable() { + return stub.createBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(BackupName name) { + GetBackupRequest request = + GetBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(String name) { + GetBackupRequest request = GetBackupRequest.newBuilder().setName(name).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(GetBackupRequest request) { + return getBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getBackupCallable() { + return stub.getBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   Backup backup = Backup.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(backup, updateMask);
+   * }
+   * }
+ * + * @param backup Required. The backup to update. `backup.name`, and the fields to be updated as + * specified by `update_mask` are required. Other fields are ignored. Update is only supported + * for the following fields: + *

* `backup.expire_time`. + * @param updateMask Required. A mask specifying which fields (e.g. `expire_time`) in the Backup + * resource should be updated. This mask is relative to the Backup resource, not to the + * request message. The field mask must always be specified; this prevents any future fields + * from being erased accidentally by clients that do not know about them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup updateBackup(Backup backup, FieldMask updateMask) { + UpdateBackupRequest request = + UpdateBackupRequest.newBuilder().setBackup(backup).setUpdateMask(updateMask).build(); + return updateBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup updateBackup(UpdateBackupRequest request) { + return updateBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateBackupCallable() { + return stub.updateBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(BackupName name) { + DeleteBackupRequest request = + DeleteBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(String name) { + DeleteBackupRequest request = DeleteBackupRequest.newBuilder().setName(name).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(DeleteBackupRequest request) { + deleteBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteBackupCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteBackupCallable() { + return stub.deleteBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(ClusterName parent) { + ListBackupsRequest request = + ListBackupsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(String parent) { + ListBackupsRequest request = ListBackupsRequest.newBuilder().setParent(parent).build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { + return listBackupsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listBackupsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Backup element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listBackupsPagedCallable() { + return stub.listBackupsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListBackupsResponse response =
+   *         baseBigtableTableAdminClient.listBackupsCallable().call(request);
+   *     for (Backup element : response.getBackupsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listBackupsCallable() { + return stub.listBackupsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.restoreTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture restoreTableAsync( + RestoreTableRequest request) { + return restoreTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.restoreTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + restoreTableOperationCallable() { + return stub.restoreTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.restoreTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable restoreTableCallable() { + return stub.restoreTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String backupId = "backupId2121930365";
+   *   BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Timestamp expireTime = Timestamp.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient
+   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The name of the destination cluster that will contain the backup copy. + * The cluster must already exists. Values are of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are + * combined as {parent}/backups/{backup_id} to create the full backup name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param sourceBackup Required. The source backup to be copied from. The source backup needs to + * be in READY state for it to be copied. Copying a copied backup is not allowed. Once + * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration + * until CopyBackup is finished. Values are of the form: + * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. + * @param expireTime Required. Required. The expiration time of the copied backup with microsecond + * granularity that must be at least 6 hours and at most 30 days from the time the request is + * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free + * the resources used by the backup. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyBackupAsync( + ClusterName parent, String backupId, BackupName sourceBackup, Timestamp expireTime) { + CopyBackupRequest request = + CopyBackupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setBackupId(backupId) + .setSourceBackup(sourceBackup == null ? null : sourceBackup.toString()) + .setExpireTime(expireTime) + .build(); + return copyBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String backupId = "backupId2121930365";
+   *   String sourceBackup =
+   *       BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   Timestamp expireTime = Timestamp.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient
+   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The name of the destination cluster that will contain the backup copy. + * The cluster must already exists. Values are of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are + * combined as {parent}/backups/{backup_id} to create the full backup name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param sourceBackup Required. The source backup to be copied from. The source backup needs to + * be in READY state for it to be copied. Copying a copied backup is not allowed. Once + * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration + * until CopyBackup is finished. Values are of the form: + * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. + * @param expireTime Required. Required. The expiration time of the copied backup with microsecond + * granularity that must be at least 6 hours and at most 30 days from the time the request is + * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free + * the resources used by the backup. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyBackupAsync( + ClusterName parent, String backupId, String sourceBackup, Timestamp expireTime) { + CopyBackupRequest request = + CopyBackupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setBackupId(backupId) + .setSourceBackup(sourceBackup) + .setExpireTime(expireTime) + .build(); + return copyBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String backupId = "backupId2121930365";
+   *   BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Timestamp expireTime = Timestamp.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient
+   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The name of the destination cluster that will contain the backup copy. + * The cluster must already exists. Values are of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are + * combined as {parent}/backups/{backup_id} to create the full backup name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param sourceBackup Required. The source backup to be copied from. The source backup needs to + * be in READY state for it to be copied. Copying a copied backup is not allowed. Once + * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration + * until CopyBackup is finished. Values are of the form: + * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. + * @param expireTime Required. Required. The expiration time of the copied backup with microsecond + * granularity that must be at least 6 hours and at most 30 days from the time the request is + * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free + * the resources used by the backup. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyBackupAsync( + String parent, String backupId, BackupName sourceBackup, Timestamp expireTime) { + CopyBackupRequest request = + CopyBackupRequest.newBuilder() + .setParent(parent) + .setBackupId(backupId) + .setSourceBackup(sourceBackup == null ? null : sourceBackup.toString()) + .setExpireTime(expireTime) + .build(); + return copyBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String backupId = "backupId2121930365";
+   *   String sourceBackup =
+   *       BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   Timestamp expireTime = Timestamp.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient
+   *           .copyBackupAsync(parent, backupId, sourceBackup, expireTime)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The name of the destination cluster that will contain the backup copy. + * The cluster must already exists. Values are of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the new backup. The `backup_id` along with `parent` are + * combined as {parent}/backups/{backup_id} to create the full backup name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param sourceBackup Required. The source backup to be copied from. The source backup needs to + * be in READY state for it to be copied. Copying a copied backup is not allowed. Once + * CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration + * until CopyBackup is finished. Values are of the form: + * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`. + * @param expireTime Required. Required. The expiration time of the copied backup with microsecond + * granularity that must be at least 6 hours and at most 30 days from the time the request is + * received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free + * the resources used by the backup. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyBackupAsync( + String parent, String backupId, String sourceBackup, Timestamp expireTime) { + CopyBackupRequest request = + CopyBackupRequest.newBuilder() + .setParent(parent) + .setBackupId(backupId) + .setSourceBackup(sourceBackup) + .setExpireTime(expireTime) + .build(); + return copyBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CopyBackupRequest request =
+   *       CopyBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setSourceBackup(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setExpireTime(Timestamp.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.copyBackupAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyBackupAsync( + CopyBackupRequest request) { + return copyBackupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CopyBackupRequest request =
+   *       CopyBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setSourceBackup(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setExpireTime(Timestamp.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.copyBackupOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + copyBackupOperationCallable() { + return stub.copyBackupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the + * destination instance and project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CopyBackupRequest request =
+   *       CopyBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setSourceBackup(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setExpireTime(Timestamp.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.copyBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable copyBackupCallable() { + return stub.copyBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a Table or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + ResourceName resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + String resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListTablesPagedResponse + extends AbstractPagedListResponse< + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListTablesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListTablesPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListTablesPagedResponse(ListTablesPage page) { + super(page, ListTablesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListTablesPage + extends AbstractPage { + + private ListTablesPage( + PageContext context, + ListTablesResponse response) { + super(context, response); + } + + private static ListTablesPage createEmptyPage() { + return new ListTablesPage(null, null); + } + + @Override + protected ListTablesPage createPage( + PageContext context, + ListTablesResponse response) { + return new ListTablesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListTablesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { + + private ListTablesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListTablesFixedSizeCollection createEmptyCollection() { + return new ListTablesFixedSizeCollection(null, 0); + } + + @Override + protected ListTablesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListTablesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListSnapshotsPagedResponse + extends AbstractPagedListResponse< + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListSnapshotsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListSnapshotsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListSnapshotsPagedResponse(ListSnapshotsPage page) { + super(page, ListSnapshotsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListSnapshotsPage + extends AbstractPage< + ListSnapshotsRequest, ListSnapshotsResponse, Snapshot, ListSnapshotsPage> { + + private ListSnapshotsPage( + PageContext context, + ListSnapshotsResponse response) { + super(context, response); + } + + private static ListSnapshotsPage createEmptyPage() { + return new ListSnapshotsPage(null, null); + } + + @Override + protected ListSnapshotsPage createPage( + PageContext context, + ListSnapshotsResponse response) { + return new ListSnapshotsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListSnapshotsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { + + private ListSnapshotsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListSnapshotsFixedSizeCollection createEmptyCollection() { + return new ListSnapshotsFixedSizeCollection(null, 0); + } + + @Override + protected ListSnapshotsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListSnapshotsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListBackupsPagedResponse + extends AbstractPagedListResponse< + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListBackupsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListBackupsPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListBackupsPagedResponse(ListBackupsPage page) { + super(page, ListBackupsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListBackupsPage + extends AbstractPage { + + private ListBackupsPage( + PageContext context, + ListBackupsResponse response) { + super(context, response); + } + + private static ListBackupsPage createEmptyPage() { + return new ListBackupsPage(null, null); + } + + @Override + protected ListBackupsPage createPage( + PageContext context, + ListBackupsResponse response) { + return new ListBackupsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListBackupsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { + + private ListBackupsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListBackupsFixedSizeCollection createEmptyCollection() { + return new ListBackupsFixedSizeCollection(null, 0); + } + + @Override + protected ListBackupsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListBackupsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java new file mode 100644 index 0000000000..9cf811fc17 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java @@ -0,0 +1,582 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CopyBackupMetadata; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BaseBigtableTableAdminClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtableadmin.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of createTable to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableTableAdminSettings.Builder baseBigtableTableAdminSettingsBuilder =
+ *     BaseBigtableTableAdminSettings.newBuilder();
+ * baseBigtableTableAdminSettingsBuilder
+ *     .createTableSettings()
+ *     .setRetrySettings(
+ *         baseBigtableTableAdminSettingsBuilder
+ *             .createTableSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableTableAdminSettings baseBigtableTableAdminSettings =
+ *     baseBigtableTableAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to createTable. */ + public UnaryCallSettings createTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createTableSettings(); + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings + createTableFromSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createTableFromSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()) + .createTableFromSnapshotOperationSettings(); + } + + /** Returns the object with the settings used for calls to listTables. */ + public PagedCallSettings + listTablesSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listTablesSettings(); + } + + /** Returns the object with the settings used for calls to getTable. */ + public UnaryCallSettings getTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getTableSettings(); + } + + /** Returns the object with the settings used for calls to updateTable. */ + public UnaryCallSettings updateTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateTableSettings(); + } + + /** Returns the object with the settings used for calls to updateTable. */ + public OperationCallSettings + updateTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteTable. */ + public UnaryCallSettings deleteTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteTableSettings(); + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public UnaryCallSettings undeleteTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).undeleteTableSettings(); + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public OperationCallSettings + undeleteTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).undeleteTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings modifyColumnFamiliesSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).modifyColumnFamiliesSettings(); + } + + /** Returns the object with the settings used for calls to dropRowRange. */ + public UnaryCallSettings dropRowRangeSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).dropRowRangeSettings(); + } + + /** Returns the object with the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings + generateConsistencyTokenSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).generateConsistencyTokenSettings(); + } + + /** Returns the object with the settings used for calls to checkConsistency. */ + public UnaryCallSettings + checkConsistencySettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).checkConsistencySettings(); + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public UnaryCallSettings snapshotTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).snapshotTableSettings(); + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public OperationCallSettings + snapshotTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).snapshotTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to getSnapshot. */ + public UnaryCallSettings getSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to listSnapshots. */ + public PagedCallSettings + listSnapshotsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listSnapshotsSettings(); + } + + /** Returns the object with the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings deleteSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to createBackup. */ + public UnaryCallSettings createBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createBackupSettings(); + } + + /** Returns the object with the settings used for calls to createBackup. */ + public OperationCallSettings + createBackupOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createBackupOperationSettings(); + } + + /** Returns the object with the settings used for calls to getBackup. */ + public UnaryCallSettings getBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getBackupSettings(); + } + + /** Returns the object with the settings used for calls to updateBackup. */ + public UnaryCallSettings updateBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateBackupSettings(); + } + + /** Returns the object with the settings used for calls to deleteBackup. */ + public UnaryCallSettings deleteBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteBackupSettings(); + } + + /** Returns the object with the settings used for calls to listBackups. */ + public PagedCallSettings + listBackupsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listBackupsSettings(); + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public UnaryCallSettings restoreTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).restoreTableSettings(); + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public OperationCallSettings + restoreTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).restoreTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to copyBackup. */ + public UnaryCallSettings copyBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupSettings(); + } + + /** Returns the object with the settings used for calls to copyBackup. */ + public OperationCallSettings + copyBackupOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).copyBackupOperationSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + public static final BaseBigtableTableAdminSettings create(BigtableTableAdminStubSettings stub) + throws IOException { + return new BaseBigtableTableAdminSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableTableAdminStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableTableAdminStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableTableAdminStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableTableAdminStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableTableAdminStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableTableAdminStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableTableAdminStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableTableAdminSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableTableAdminSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableTableAdminStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableTableAdminSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableTableAdminStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableTableAdminStubSettings.newBuilder()); + } + + public BigtableTableAdminStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableTableAdminStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to createTable. */ + public UnaryCallSettings.Builder createTableSettings() { + return getStubSettingsBuilder().createTableSettings(); + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings.Builder + createTableFromSnapshotSettings() { + return getStubSettingsBuilder().createTableFromSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return getStubSettingsBuilder().createTableFromSnapshotOperationSettings(); + } + + /** Returns the builder for the settings used for calls to listTables. */ + public PagedCallSettings.Builder + listTablesSettings() { + return getStubSettingsBuilder().listTablesSettings(); + } + + /** Returns the builder for the settings used for calls to getTable. */ + public UnaryCallSettings.Builder getTableSettings() { + return getStubSettingsBuilder().getTableSettings(); + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public UnaryCallSettings.Builder updateTableSettings() { + return getStubSettingsBuilder().updateTableSettings(); + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public OperationCallSettings.Builder + updateTableOperationSettings() { + return getStubSettingsBuilder().updateTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteTable. */ + public UnaryCallSettings.Builder deleteTableSettings() { + return getStubSettingsBuilder().deleteTableSettings(); + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public UnaryCallSettings.Builder undeleteTableSettings() { + return getStubSettingsBuilder().undeleteTableSettings(); + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public OperationCallSettings.Builder + undeleteTableOperationSettings() { + return getStubSettingsBuilder().undeleteTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings.Builder + modifyColumnFamiliesSettings() { + return getStubSettingsBuilder().modifyColumnFamiliesSettings(); + } + + /** Returns the builder for the settings used for calls to dropRowRange. */ + public UnaryCallSettings.Builder dropRowRangeSettings() { + return getStubSettingsBuilder().dropRowRangeSettings(); + } + + /** Returns the builder for the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings() { + return getStubSettingsBuilder().generateConsistencyTokenSettings(); + } + + /** Returns the builder for the settings used for calls to checkConsistency. */ + public UnaryCallSettings.Builder + checkConsistencySettings() { + return getStubSettingsBuilder().checkConsistencySettings(); + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public UnaryCallSettings.Builder snapshotTableSettings() { + return getStubSettingsBuilder().snapshotTableSettings(); + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public OperationCallSettings.Builder + snapshotTableOperationSettings() { + return getStubSettingsBuilder().snapshotTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getSnapshot. */ + public UnaryCallSettings.Builder getSnapshotSettings() { + return getStubSettingsBuilder().getSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to listSnapshots. */ + public PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings() { + return getStubSettingsBuilder().listSnapshotsSettings(); + } + + /** Returns the builder for the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings.Builder deleteSnapshotSettings() { + return getStubSettingsBuilder().deleteSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public UnaryCallSettings.Builder createBackupSettings() { + return getStubSettingsBuilder().createBackupSettings(); + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public OperationCallSettings.Builder + createBackupOperationSettings() { + return getStubSettingsBuilder().createBackupOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getBackup. */ + public UnaryCallSettings.Builder getBackupSettings() { + return getStubSettingsBuilder().getBackupSettings(); + } + + /** Returns the builder for the settings used for calls to updateBackup. */ + public UnaryCallSettings.Builder updateBackupSettings() { + return getStubSettingsBuilder().updateBackupSettings(); + } + + /** Returns the builder for the settings used for calls to deleteBackup. */ + public UnaryCallSettings.Builder deleteBackupSettings() { + return getStubSettingsBuilder().deleteBackupSettings(); + } + + /** Returns the builder for the settings used for calls to listBackups. */ + public PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings() { + return getStubSettingsBuilder().listBackupsSettings(); + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public UnaryCallSettings.Builder restoreTableSettings() { + return getStubSettingsBuilder().restoreTableSettings(); + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public OperationCallSettings.Builder + restoreTableOperationSettings() { + return getStubSettingsBuilder().restoreTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to copyBackup. */ + public UnaryCallSettings.Builder copyBackupSettings() { + return getStubSettingsBuilder().copyBackupSettings(); + } + + /** Returns the builder for the settings used for calls to copyBackup. */ + public OperationCallSettings.Builder + copyBackupOperationSettings() { + return getStubSettingsBuilder().copyBackupOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + @Override + public BaseBigtableTableAdminSettings build() throws IOException { + return new BaseBigtableTableAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json new file mode 100644 index 0000000000..aca81585e0 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json @@ -0,0 +1,165 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.bigtable.admin.v2", + "libraryPackage": "com.google.cloud.bigtable.admin.v2", + "services": { + "BigtableInstanceAdmin": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableInstanceAdminClient", + "rpcs": { + "CreateAppProfile": { + "methods": ["createAppProfile", "createAppProfile", "createAppProfile", "createAppProfileCallable"] + }, + "CreateCluster": { + "methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"] + }, + "CreateInstance": { + "methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"] + }, + "DeleteAppProfile": { + "methods": ["deleteAppProfile", "deleteAppProfile", "deleteAppProfile", "deleteAppProfileCallable"] + }, + "DeleteCluster": { + "methods": ["deleteCluster", "deleteCluster", "deleteCluster", "deleteClusterCallable"] + }, + "DeleteInstance": { + "methods": ["deleteInstance", "deleteInstance", "deleteInstance", "deleteInstanceCallable"] + }, + "GetAppProfile": { + "methods": ["getAppProfile", "getAppProfile", "getAppProfile", "getAppProfileCallable"] + }, + "GetCluster": { + "methods": ["getCluster", "getCluster", "getCluster", "getClusterCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetInstance": { + "methods": ["getInstance", "getInstance", "getInstance", "getInstanceCallable"] + }, + "ListAppProfiles": { + "methods": ["listAppProfiles", "listAppProfiles", "listAppProfiles", "listAppProfilesPagedCallable", "listAppProfilesCallable"] + }, + "ListClusters": { + "methods": ["listClusters", "listClusters", "listClusters", "listClustersCallable"] + }, + "ListHotTablets": { + "methods": ["listHotTablets", "listHotTablets", "listHotTablets", "listHotTabletsPagedCallable", "listHotTabletsCallable"] + }, + "ListInstances": { + "methods": ["listInstances", "listInstances", "listInstances", "listInstancesCallable"] + }, + "PartialUpdateCluster": { + "methods": ["partialUpdateClusterAsync", "partialUpdateClusterAsync", "partialUpdateClusterOperationCallable", "partialUpdateClusterCallable"] + }, + "PartialUpdateInstance": { + "methods": ["partialUpdateInstanceAsync", "partialUpdateInstanceAsync", "partialUpdateInstanceOperationCallable", "partialUpdateInstanceCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + }, + "UpdateAppProfile": { + "methods": ["updateAppProfileAsync", "updateAppProfileAsync", "updateAppProfileOperationCallable", "updateAppProfileCallable"] + }, + "UpdateCluster": { + "methods": ["updateClusterAsync", "updateClusterOperationCallable", "updateClusterCallable"] + }, + "UpdateInstance": { + "methods": ["updateInstance", "updateInstanceCallable"] + } + } + } + } + }, + "BigtableTableAdmin": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableTableAdminClient", + "rpcs": { + "CheckConsistency": { + "methods": ["checkConsistency", "checkConsistency", "checkConsistency", "checkConsistencyCallable"] + }, + "CopyBackup": { + "methods": ["copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupOperationCallable", "copyBackupCallable"] + }, + "CreateBackup": { + "methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"] + }, + "CreateTable": { + "methods": ["createTable", "createTable", "createTable", "createTableCallable"] + }, + "CreateTableFromSnapshot": { + "methods": ["createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotOperationCallable", "createTableFromSnapshotCallable"] + }, + "DeleteBackup": { + "methods": ["deleteBackup", "deleteBackup", "deleteBackup", "deleteBackupCallable"] + }, + "DeleteSnapshot": { + "methods": ["deleteSnapshot", "deleteSnapshot", "deleteSnapshot", "deleteSnapshotCallable"] + }, + "DeleteTable": { + "methods": ["deleteTable", "deleteTable", "deleteTable", "deleteTableCallable"] + }, + "DropRowRange": { + "methods": ["dropRowRange", "dropRowRangeCallable"] + }, + "GenerateConsistencyToken": { + "methods": ["generateConsistencyToken", "generateConsistencyToken", "generateConsistencyToken", "generateConsistencyTokenCallable"] + }, + "GetBackup": { + "methods": ["getBackup", "getBackup", "getBackup", "getBackupCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetSnapshot": { + "methods": ["getSnapshot", "getSnapshot", "getSnapshot", "getSnapshotCallable"] + }, + "GetTable": { + "methods": ["getTable", "getTable", "getTable", "getTableCallable"] + }, + "ListBackups": { + "methods": ["listBackups", "listBackups", "listBackups", "listBackupsPagedCallable", "listBackupsCallable"] + }, + "ListSnapshots": { + "methods": ["listSnapshots", "listSnapshots", "listSnapshots", "listSnapshotsPagedCallable", "listSnapshotsCallable"] + }, + "ListTables": { + "methods": ["listTables", "listTables", "listTables", "listTablesPagedCallable", "listTablesCallable"] + }, + "ModifyColumnFamilies": { + "methods": ["modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamiliesCallable"] + }, + "RestoreTable": { + "methods": ["restoreTableAsync", "restoreTableOperationCallable", "restoreTableCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "SnapshotTable": { + "methods": ["snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableOperationCallable", "snapshotTableCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + }, + "UndeleteTable": { + "methods": ["undeleteTableAsync", "undeleteTableAsync", "undeleteTableAsync", "undeleteTableOperationCallable", "undeleteTableCallable"] + }, + "UpdateBackup": { + "methods": ["updateBackup", "updateBackup", "updateBackupCallable"] + }, + "UpdateTable": { + "methods": ["updateTableAsync", "updateTableAsync", "updateTableOperationCallable", "updateTableCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java new file mode 100644 index 0000000000..db84b4970e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java @@ -0,0 +1,69 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Bigtable Admin API + * + *

The interfaces provided are listed below, along with usage samples. + * + *

======================= BaseBigtableInstanceAdminClient ======================= + * + *

Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances + * and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata + * or data stored in those tables. + * + *

Sample for BaseBigtableInstanceAdminClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create()) {
+ *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+ * }
+ * }
+ * + *

======================= BaseBigtableTableAdminClient ======================= + * + *

Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. + * + *

Provides access to the table schemas only, not the data stored within the tables. + * + *

Sample for BaseBigtableTableAdminClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+ *     BaseBigtableTableAdminClient.create()) {
+ *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   String tableId = "tableId-1552905847";
+ *   Table table = Table.newBuilder().build();
+ *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.bigtable.admin.v2; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java new file mode 100644 index 0000000000..2e9a4c3474 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java @@ -0,0 +1,206 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableInstanceAdminStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + } + + public OperationCallable + createInstanceOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createInstanceOperationCallable()"); + } + + public UnaryCallable createInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: createInstanceCallable()"); + } + + public UnaryCallable getInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: getInstanceCallable()"); + } + + public UnaryCallable listInstancesCallable() { + throw new UnsupportedOperationException("Not implemented: listInstancesCallable()"); + } + + public UnaryCallable updateInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: updateInstanceCallable()"); + } + + public OperationCallable + partialUpdateInstanceOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: partialUpdateInstanceOperationCallable()"); + } + + public UnaryCallable partialUpdateInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: partialUpdateInstanceCallable()"); + } + + public UnaryCallable deleteInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()"); + } + + public OperationCallable + createClusterOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createClusterOperationCallable()"); + } + + public UnaryCallable createClusterCallable() { + throw new UnsupportedOperationException("Not implemented: createClusterCallable()"); + } + + public UnaryCallable getClusterCallable() { + throw new UnsupportedOperationException("Not implemented: getClusterCallable()"); + } + + public UnaryCallable listClustersCallable() { + throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); + } + + public OperationCallable + updateClusterOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateClusterOperationCallable()"); + } + + public UnaryCallable updateClusterCallable() { + throw new UnsupportedOperationException("Not implemented: updateClusterCallable()"); + } + + public OperationCallable + partialUpdateClusterOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: partialUpdateClusterOperationCallable()"); + } + + public UnaryCallable partialUpdateClusterCallable() { + throw new UnsupportedOperationException("Not implemented: partialUpdateClusterCallable()"); + } + + public UnaryCallable deleteClusterCallable() { + throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); + } + + public UnaryCallable createAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: createAppProfileCallable()"); + } + + public UnaryCallable getAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: getAppProfileCallable()"); + } + + public UnaryCallable + listAppProfilesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listAppProfilesPagedCallable()"); + } + + public UnaryCallable listAppProfilesCallable() { + throw new UnsupportedOperationException("Not implemented: listAppProfilesCallable()"); + } + + public OperationCallable + updateAppProfileOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateAppProfileOperationCallable()"); + } + + public UnaryCallable updateAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: updateAppProfileCallable()"); + } + + public UnaryCallable deleteAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: deleteAppProfileCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + public UnaryCallable + listHotTabletsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listHotTabletsPagedCallable()"); + } + + public UnaryCallable listHotTabletsCallable() { + throw new UnsupportedOperationException("Not implemented: listHotTabletsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java new file mode 100644 index 0000000000..dc34cead80 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java @@ -0,0 +1,1259 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableInstanceAdminStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtableadmin.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getInstance to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BigtableInstanceAdminStubSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
+ *     BigtableInstanceAdminStubSettings.newBuilder();
+ * baseBigtableInstanceAdminSettingsBuilder
+ *     .getInstanceSettings()
+ *     .setRetrySettings(
+ *         baseBigtableInstanceAdminSettingsBuilder
+ *             .getInstanceSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableInstanceAdminStubSettings baseBigtableInstanceAdminSettings =
+ *     baseBigtableInstanceAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableInstanceAdminStubSettings + extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.admin") + .add("https://www.googleapis.com/auth/bigtable.admin.cluster") + .add("https://www.googleapis.com/auth/bigtable.admin.instance") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin.cluster") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final UnaryCallSettings createInstanceSettings; + private final OperationCallSettings + createInstanceOperationSettings; + private final UnaryCallSettings getInstanceSettings; + private final UnaryCallSettings + listInstancesSettings; + private final UnaryCallSettings updateInstanceSettings; + private final UnaryCallSettings + partialUpdateInstanceSettings; + private final OperationCallSettings< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings; + private final UnaryCallSettings deleteInstanceSettings; + private final UnaryCallSettings createClusterSettings; + private final OperationCallSettings + createClusterOperationSettings; + private final UnaryCallSettings getClusterSettings; + private final UnaryCallSettings listClustersSettings; + private final UnaryCallSettings updateClusterSettings; + private final OperationCallSettings + updateClusterOperationSettings; + private final UnaryCallSettings + partialUpdateClusterSettings; + private final OperationCallSettings< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings; + private final UnaryCallSettings deleteClusterSettings; + private final UnaryCallSettings createAppProfileSettings; + private final UnaryCallSettings getAppProfileSettings; + private final PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings; + private final UnaryCallSettings updateAppProfileSettings; + private final OperationCallSettings + updateAppProfileOperationSettings; + private final UnaryCallSettings deleteAppProfileSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + private final PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings; + + private static final PagedListDescriptor< + ListAppProfilesRequest, ListAppProfilesResponse, AppProfile> + LIST_APP_PROFILES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListAppProfilesRequest injectToken( + ListAppProfilesRequest payload, String token) { + return ListAppProfilesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListAppProfilesRequest injectPageSize( + ListAppProfilesRequest payload, int pageSize) { + return ListAppProfilesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListAppProfilesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListAppProfilesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListAppProfilesResponse payload) { + return payload.getAppProfilesList() == null + ? ImmutableList.of() + : payload.getAppProfilesList(); + } + }; + + private static final PagedListDescriptor + LIST_HOT_TABLETS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListHotTabletsRequest injectToken(ListHotTabletsRequest payload, String token) { + return ListHotTabletsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListHotTabletsRequest injectPageSize( + ListHotTabletsRequest payload, int pageSize) { + return ListHotTabletsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListHotTabletsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListHotTabletsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListHotTabletsResponse payload) { + return payload.getHotTabletsList() == null + ? ImmutableList.of() + : payload.getHotTabletsList(); + } + }; + + private static final PagedListResponseFactory< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + LIST_APP_PROFILES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListAppProfilesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_APP_PROFILES_PAGE_STR_DESC, request, context); + return ListAppProfilesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + LIST_HOT_TABLETS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListHotTabletsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_HOT_TABLETS_PAGE_STR_DESC, request, context); + return ListHotTabletsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to createInstance. */ + public UnaryCallSettings createInstanceSettings() { + return createInstanceSettings; + } + + /** Returns the object with the settings used for calls to createInstance. */ + public OperationCallSettings + createInstanceOperationSettings() { + return createInstanceOperationSettings; + } + + /** Returns the object with the settings used for calls to getInstance. */ + public UnaryCallSettings getInstanceSettings() { + return getInstanceSettings; + } + + /** Returns the object with the settings used for calls to listInstances. */ + public UnaryCallSettings listInstancesSettings() { + return listInstancesSettings; + } + + /** Returns the object with the settings used for calls to updateInstance. */ + public UnaryCallSettings updateInstanceSettings() { + return updateInstanceSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings + partialUpdateInstanceSettings() { + return partialUpdateInstanceSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings + partialUpdateInstanceOperationSettings() { + return partialUpdateInstanceOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteInstance. */ + public UnaryCallSettings deleteInstanceSettings() { + return deleteInstanceSettings; + } + + /** Returns the object with the settings used for calls to createCluster. */ + public UnaryCallSettings createClusterSettings() { + return createClusterSettings; + } + + /** Returns the object with the settings used for calls to createCluster. */ + public OperationCallSettings + createClusterOperationSettings() { + return createClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to getCluster. */ + public UnaryCallSettings getClusterSettings() { + return getClusterSettings; + } + + /** Returns the object with the settings used for calls to listClusters. */ + public UnaryCallSettings listClustersSettings() { + return listClustersSettings; + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public UnaryCallSettings updateClusterSettings() { + return updateClusterSettings; + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public OperationCallSettings + updateClusterOperationSettings() { + return updateClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings partialUpdateClusterSettings() { + return partialUpdateClusterSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings + partialUpdateClusterOperationSettings() { + return partialUpdateClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteCluster. */ + public UnaryCallSettings deleteClusterSettings() { + return deleteClusterSettings; + } + + /** Returns the object with the settings used for calls to createAppProfile. */ + public UnaryCallSettings createAppProfileSettings() { + return createAppProfileSettings; + } + + /** Returns the object with the settings used for calls to getAppProfile. */ + public UnaryCallSettings getAppProfileSettings() { + return getAppProfileSettings; + } + + /** Returns the object with the settings used for calls to listAppProfiles. */ + public PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return listAppProfilesSettings; + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public UnaryCallSettings updateAppProfileSettings() { + return updateAppProfileSettings; + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public OperationCallSettings + updateAppProfileOperationSettings() { + return updateAppProfileOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings deleteAppProfileSettings() { + return deleteAppProfileSettings; + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the object with the settings used for calls to listHotTablets. */ + public PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return listHotTabletsSettings; + } + + public BigtableInstanceAdminStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableInstanceAdminStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "bigtableadmin"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtableadmin.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtableadmin.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(BigtableInstanceAdminStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableInstanceAdminStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + createInstanceSettings = settingsBuilder.createInstanceSettings().build(); + createInstanceOperationSettings = settingsBuilder.createInstanceOperationSettings().build(); + getInstanceSettings = settingsBuilder.getInstanceSettings().build(); + listInstancesSettings = settingsBuilder.listInstancesSettings().build(); + updateInstanceSettings = settingsBuilder.updateInstanceSettings().build(); + partialUpdateInstanceSettings = settingsBuilder.partialUpdateInstanceSettings().build(); + partialUpdateInstanceOperationSettings = + settingsBuilder.partialUpdateInstanceOperationSettings().build(); + deleteInstanceSettings = settingsBuilder.deleteInstanceSettings().build(); + createClusterSettings = settingsBuilder.createClusterSettings().build(); + createClusterOperationSettings = settingsBuilder.createClusterOperationSettings().build(); + getClusterSettings = settingsBuilder.getClusterSettings().build(); + listClustersSettings = settingsBuilder.listClustersSettings().build(); + updateClusterSettings = settingsBuilder.updateClusterSettings().build(); + updateClusterOperationSettings = settingsBuilder.updateClusterOperationSettings().build(); + partialUpdateClusterSettings = settingsBuilder.partialUpdateClusterSettings().build(); + partialUpdateClusterOperationSettings = + settingsBuilder.partialUpdateClusterOperationSettings().build(); + deleteClusterSettings = settingsBuilder.deleteClusterSettings().build(); + createAppProfileSettings = settingsBuilder.createAppProfileSettings().build(); + getAppProfileSettings = settingsBuilder.getAppProfileSettings().build(); + listAppProfilesSettings = settingsBuilder.listAppProfilesSettings().build(); + updateAppProfileSettings = settingsBuilder.updateAppProfileSettings().build(); + updateAppProfileOperationSettings = settingsBuilder.updateAppProfileOperationSettings().build(); + deleteAppProfileSettings = settingsBuilder.deleteAppProfileSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + listHotTabletsSettings = settingsBuilder.listHotTabletsSettings().build(); + } + + /** Builder for BigtableInstanceAdminStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + createInstanceSettings; + private final OperationCallSettings.Builder< + CreateInstanceRequest, Instance, CreateInstanceMetadata> + createInstanceOperationSettings; + private final UnaryCallSettings.Builder getInstanceSettings; + private final UnaryCallSettings.Builder + listInstancesSettings; + private final UnaryCallSettings.Builder updateInstanceSettings; + private final UnaryCallSettings.Builder + partialUpdateInstanceSettings; + private final OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings; + private final UnaryCallSettings.Builder deleteInstanceSettings; + private final UnaryCallSettings.Builder createClusterSettings; + private final OperationCallSettings.Builder< + CreateClusterRequest, Cluster, CreateClusterMetadata> + createClusterOperationSettings; + private final UnaryCallSettings.Builder getClusterSettings; + private final UnaryCallSettings.Builder + listClustersSettings; + private final UnaryCallSettings.Builder updateClusterSettings; + private final OperationCallSettings.Builder + updateClusterOperationSettings; + private final UnaryCallSettings.Builder + partialUpdateClusterSettings; + private final OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings; + private final UnaryCallSettings.Builder deleteClusterSettings; + private final UnaryCallSettings.Builder + createAppProfileSettings; + private final UnaryCallSettings.Builder getAppProfileSettings; + private final PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings; + private final UnaryCallSettings.Builder + updateAppProfileSettings; + private final OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings; + private final UnaryCallSettings.Builder + deleteAppProfileSettings; + private final UnaryCallSettings.Builder getIamPolicySettings; + private final UnaryCallSettings.Builder setIamPolicySettings; + private final UnaryCallSettings.Builder + testIamPermissionsSettings; + private final PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_4_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_5_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build(); + definitions.put("no_retry_4_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_5_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_6_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + createInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createInstanceOperationSettings = OperationCallSettings.newBuilder(); + getInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listInstancesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateInstanceOperationSettings = OperationCallSettings.newBuilder(); + deleteInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createClusterOperationSettings = OperationCallSettings.newBuilder(); + getClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listClustersSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateClusterOperationSettings = OperationCallSettings.newBuilder(); + partialUpdateClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateClusterOperationSettings = OperationCallSettings.newBuilder(); + deleteClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listAppProfilesSettings = PagedCallSettings.newBuilder(LIST_APP_PROFILES_PAGE_STR_FACT); + updateAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateAppProfileOperationSettings = OperationCallSettings.newBuilder(); + deleteAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listHotTabletsSettings = PagedCallSettings.newBuilder(LIST_HOT_TABLETS_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createInstanceSettings, + getInstanceSettings, + listInstancesSettings, + updateInstanceSettings, + partialUpdateInstanceSettings, + deleteInstanceSettings, + createClusterSettings, + getClusterSettings, + listClustersSettings, + updateClusterSettings, + partialUpdateClusterSettings, + deleteClusterSettings, + createAppProfileSettings, + getAppProfileSettings, + listAppProfilesSettings, + updateAppProfileSettings, + deleteAppProfileSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + listHotTabletsSettings); + initDefaults(this); + } + + protected Builder(BigtableInstanceAdminStubSettings settings) { + super(settings); + + createInstanceSettings = settings.createInstanceSettings.toBuilder(); + createInstanceOperationSettings = settings.createInstanceOperationSettings.toBuilder(); + getInstanceSettings = settings.getInstanceSettings.toBuilder(); + listInstancesSettings = settings.listInstancesSettings.toBuilder(); + updateInstanceSettings = settings.updateInstanceSettings.toBuilder(); + partialUpdateInstanceSettings = settings.partialUpdateInstanceSettings.toBuilder(); + partialUpdateInstanceOperationSettings = + settings.partialUpdateInstanceOperationSettings.toBuilder(); + deleteInstanceSettings = settings.deleteInstanceSettings.toBuilder(); + createClusterSettings = settings.createClusterSettings.toBuilder(); + createClusterOperationSettings = settings.createClusterOperationSettings.toBuilder(); + getClusterSettings = settings.getClusterSettings.toBuilder(); + listClustersSettings = settings.listClustersSettings.toBuilder(); + updateClusterSettings = settings.updateClusterSettings.toBuilder(); + updateClusterOperationSettings = settings.updateClusterOperationSettings.toBuilder(); + partialUpdateClusterSettings = settings.partialUpdateClusterSettings.toBuilder(); + partialUpdateClusterOperationSettings = + settings.partialUpdateClusterOperationSettings.toBuilder(); + deleteClusterSettings = settings.deleteClusterSettings.toBuilder(); + createAppProfileSettings = settings.createAppProfileSettings.toBuilder(); + getAppProfileSettings = settings.getAppProfileSettings.toBuilder(); + listAppProfilesSettings = settings.listAppProfilesSettings.toBuilder(); + updateAppProfileSettings = settings.updateAppProfileSettings.toBuilder(); + updateAppProfileOperationSettings = settings.updateAppProfileOperationSettings.toBuilder(); + deleteAppProfileSettings = settings.deleteAppProfileSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + listHotTabletsSettings = settings.listHotTabletsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createInstanceSettings, + getInstanceSettings, + listInstancesSettings, + updateInstanceSettings, + partialUpdateInstanceSettings, + deleteInstanceSettings, + createClusterSettings, + getClusterSettings, + listClustersSettings, + updateClusterSettings, + partialUpdateClusterSettings, + deleteClusterSettings, + createAppProfileSettings, + getAppProfileSettings, + listAppProfilesSettings, + updateAppProfileSettings, + deleteAppProfileSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + listHotTabletsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .createInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")); + + builder + .getInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .listInstancesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .updateInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .partialUpdateInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .deleteInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .createClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .getClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .listClustersSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .updateClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .partialUpdateClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .createAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .getAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .listAppProfilesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .updateAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .deleteAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .listHotTabletsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")); + + builder + .createInstanceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_4_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Instance.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateInstanceMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .partialUpdateInstanceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Instance.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateInstanceMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .createClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(21600000L)) + .build())); + + builder + .updateClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .partialUpdateClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + PartialUpdateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .updateAppProfileOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_5_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(AppProfile.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateAppProfileMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return createInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return createInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getInstanceSettings; + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return listInstancesSettings; + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return updateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return partialUpdateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return partialUpdateInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return deleteInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return createClusterSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createClusterOperationSettings() { + return createClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getClusterSettings; + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return listClustersSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return updateClusterSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return updateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return partialUpdateClusterSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return partialUpdateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return deleteClusterSettings; + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return createAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return listAppProfilesSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return updateAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return updateAppProfileOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return deleteAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return listHotTabletsSettings; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @Override + public BigtableInstanceAdminStubSettings build() throws IOException { + return new BigtableInstanceAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java new file mode 100644 index 0000000000..de33001f05 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java @@ -0,0 +1,241 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CopyBackupMetadata; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the BigtableTableAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableTableAdminStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + } + + public UnaryCallable createTableCallable() { + throw new UnsupportedOperationException("Not implemented: createTableCallable()"); + } + + public OperationCallable + createTableFromSnapshotOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: createTableFromSnapshotOperationCallable()"); + } + + public UnaryCallable + createTableFromSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: createTableFromSnapshotCallable()"); + } + + public UnaryCallable listTablesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listTablesPagedCallable()"); + } + + public UnaryCallable listTablesCallable() { + throw new UnsupportedOperationException("Not implemented: listTablesCallable()"); + } + + public UnaryCallable getTableCallable() { + throw new UnsupportedOperationException("Not implemented: getTableCallable()"); + } + + public OperationCallable + updateTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateTableOperationCallable()"); + } + + public UnaryCallable updateTableCallable() { + throw new UnsupportedOperationException("Not implemented: updateTableCallable()"); + } + + public UnaryCallable deleteTableCallable() { + throw new UnsupportedOperationException("Not implemented: deleteTableCallable()"); + } + + public OperationCallable + undeleteTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: undeleteTableOperationCallable()"); + } + + public UnaryCallable undeleteTableCallable() { + throw new UnsupportedOperationException("Not implemented: undeleteTableCallable()"); + } + + public UnaryCallable modifyColumnFamiliesCallable() { + throw new UnsupportedOperationException("Not implemented: modifyColumnFamiliesCallable()"); + } + + public UnaryCallable dropRowRangeCallable() { + throw new UnsupportedOperationException("Not implemented: dropRowRangeCallable()"); + } + + public UnaryCallable + generateConsistencyTokenCallable() { + throw new UnsupportedOperationException("Not implemented: generateConsistencyTokenCallable()"); + } + + public UnaryCallable + checkConsistencyCallable() { + throw new UnsupportedOperationException("Not implemented: checkConsistencyCallable()"); + } + + public OperationCallable + snapshotTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: snapshotTableOperationCallable()"); + } + + public UnaryCallable snapshotTableCallable() { + throw new UnsupportedOperationException("Not implemented: snapshotTableCallable()"); + } + + public UnaryCallable getSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: getSnapshotCallable()"); + } + + public UnaryCallable + listSnapshotsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listSnapshotsPagedCallable()"); + } + + public UnaryCallable listSnapshotsCallable() { + throw new UnsupportedOperationException("Not implemented: listSnapshotsCallable()"); + } + + public UnaryCallable deleteSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: deleteSnapshotCallable()"); + } + + public OperationCallable + createBackupOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createBackupOperationCallable()"); + } + + public UnaryCallable createBackupCallable() { + throw new UnsupportedOperationException("Not implemented: createBackupCallable()"); + } + + public UnaryCallable getBackupCallable() { + throw new UnsupportedOperationException("Not implemented: getBackupCallable()"); + } + + public UnaryCallable updateBackupCallable() { + throw new UnsupportedOperationException("Not implemented: updateBackupCallable()"); + } + + public UnaryCallable deleteBackupCallable() { + throw new UnsupportedOperationException("Not implemented: deleteBackupCallable()"); + } + + public UnaryCallable listBackupsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listBackupsPagedCallable()"); + } + + public UnaryCallable listBackupsCallable() { + throw new UnsupportedOperationException("Not implemented: listBackupsCallable()"); + } + + public OperationCallable + restoreTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: restoreTableOperationCallable()"); + } + + public UnaryCallable restoreTableCallable() { + throw new UnsupportedOperationException("Not implemented: restoreTableCallable()"); + } + + public OperationCallable + copyBackupOperationCallable() { + throw new UnsupportedOperationException("Not implemented: copyBackupOperationCallable()"); + } + + public UnaryCallable copyBackupCallable() { + throw new UnsupportedOperationException("Not implemented: copyBackupCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java new file mode 100644 index 0000000000..043ee375b9 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java @@ -0,0 +1,1449 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CopyBackupMetadata; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableTableAdminStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtableadmin.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of createTable to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BigtableTableAdminStubSettings.Builder baseBigtableTableAdminSettingsBuilder =
+ *     BigtableTableAdminStubSettings.newBuilder();
+ * baseBigtableTableAdminSettingsBuilder
+ *     .createTableSettings()
+ *     .setRetrySettings(
+ *         baseBigtableTableAdminSettingsBuilder
+ *             .createTableSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableTableAdminStubSettings baseBigtableTableAdminSettings =
+ *     baseBigtableTableAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableTableAdminStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.admin") + .add("https://www.googleapis.com/auth/bigtable.admin.table") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin.table") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final UnaryCallSettings createTableSettings; + private final UnaryCallSettings + createTableFromSnapshotSettings; + private final OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings; + private final PagedCallSettings + listTablesSettings; + private final UnaryCallSettings getTableSettings; + private final UnaryCallSettings updateTableSettings; + private final OperationCallSettings + updateTableOperationSettings; + private final UnaryCallSettings deleteTableSettings; + private final UnaryCallSettings undeleteTableSettings; + private final OperationCallSettings + undeleteTableOperationSettings; + private final UnaryCallSettings modifyColumnFamiliesSettings; + private final UnaryCallSettings dropRowRangeSettings; + private final UnaryCallSettings + generateConsistencyTokenSettings; + private final UnaryCallSettings + checkConsistencySettings; + private final UnaryCallSettings snapshotTableSettings; + private final OperationCallSettings + snapshotTableOperationSettings; + private final UnaryCallSettings getSnapshotSettings; + private final PagedCallSettings< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings; + private final UnaryCallSettings deleteSnapshotSettings; + private final UnaryCallSettings createBackupSettings; + private final OperationCallSettings + createBackupOperationSettings; + private final UnaryCallSettings getBackupSettings; + private final UnaryCallSettings updateBackupSettings; + private final UnaryCallSettings deleteBackupSettings; + private final PagedCallSettings + listBackupsSettings; + private final UnaryCallSettings restoreTableSettings; + private final OperationCallSettings + restoreTableOperationSettings; + private final UnaryCallSettings copyBackupSettings; + private final OperationCallSettings + copyBackupOperationSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + + private static final PagedListDescriptor + LIST_TABLES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListTablesRequest injectToken(ListTablesRequest payload, String token) { + return ListTablesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListTablesRequest injectPageSize(ListTablesRequest payload, int pageSize) { + return ListTablesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListTablesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListTablesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable
extractResources(ListTablesResponse payload) { + return payload.getTablesList() == null + ? ImmutableList.
of() + : payload.getTablesList(); + } + }; + + private static final PagedListDescriptor + LIST_SNAPSHOTS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListSnapshotsRequest injectToken(ListSnapshotsRequest payload, String token) { + return ListSnapshotsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListSnapshotsRequest injectPageSize(ListSnapshotsRequest payload, int pageSize) { + return ListSnapshotsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListSnapshotsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListSnapshotsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListSnapshotsResponse payload) { + return payload.getSnapshotsList() == null + ? ImmutableList.of() + : payload.getSnapshotsList(); + } + }; + + private static final PagedListDescriptor + LIST_BACKUPS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListBackupsRequest injectToken(ListBackupsRequest payload, String token) { + return ListBackupsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListBackupsRequest injectPageSize(ListBackupsRequest payload, int pageSize) { + return ListBackupsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListBackupsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListBackupsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListBackupsResponse payload) { + return payload.getBackupsList() == null + ? ImmutableList.of() + : payload.getBackupsList(); + } + }; + + private static final PagedListResponseFactory< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> + LIST_TABLES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListTablesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_TABLES_PAGE_STR_DESC, request, context); + return ListTablesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + LIST_SNAPSHOTS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListSnapshotsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_SNAPSHOTS_PAGE_STR_DESC, request, context); + return ListSnapshotsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + LIST_BACKUPS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListBackupsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_BACKUPS_PAGE_STR_DESC, request, context); + return ListBackupsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to createTable. */ + public UnaryCallSettings createTableSettings() { + return createTableSettings; + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings + createTableFromSnapshotSettings() { + return createTableFromSnapshotSettings; + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return createTableFromSnapshotOperationSettings; + } + + /** Returns the object with the settings used for calls to listTables. */ + public PagedCallSettings + listTablesSettings() { + return listTablesSettings; + } + + /** Returns the object with the settings used for calls to getTable. */ + public UnaryCallSettings getTableSettings() { + return getTableSettings; + } + + /** Returns the object with the settings used for calls to updateTable. */ + public UnaryCallSettings updateTableSettings() { + return updateTableSettings; + } + + /** Returns the object with the settings used for calls to updateTable. */ + public OperationCallSettings + updateTableOperationSettings() { + return updateTableOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteTable. */ + public UnaryCallSettings deleteTableSettings() { + return deleteTableSettings; + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public UnaryCallSettings undeleteTableSettings() { + return undeleteTableSettings; + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public OperationCallSettings + undeleteTableOperationSettings() { + return undeleteTableOperationSettings; + } + + /** Returns the object with the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings modifyColumnFamiliesSettings() { + return modifyColumnFamiliesSettings; + } + + /** Returns the object with the settings used for calls to dropRowRange. */ + public UnaryCallSettings dropRowRangeSettings() { + return dropRowRangeSettings; + } + + /** Returns the object with the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings + generateConsistencyTokenSettings() { + return generateConsistencyTokenSettings; + } + + /** Returns the object with the settings used for calls to checkConsistency. */ + public UnaryCallSettings + checkConsistencySettings() { + return checkConsistencySettings; + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public UnaryCallSettings snapshotTableSettings() { + return snapshotTableSettings; + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public OperationCallSettings + snapshotTableOperationSettings() { + return snapshotTableOperationSettings; + } + + /** Returns the object with the settings used for calls to getSnapshot. */ + public UnaryCallSettings getSnapshotSettings() { + return getSnapshotSettings; + } + + /** Returns the object with the settings used for calls to listSnapshots. */ + public PagedCallSettings + listSnapshotsSettings() { + return listSnapshotsSettings; + } + + /** Returns the object with the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings deleteSnapshotSettings() { + return deleteSnapshotSettings; + } + + /** Returns the object with the settings used for calls to createBackup. */ + public UnaryCallSettings createBackupSettings() { + return createBackupSettings; + } + + /** Returns the object with the settings used for calls to createBackup. */ + public OperationCallSettings + createBackupOperationSettings() { + return createBackupOperationSettings; + } + + /** Returns the object with the settings used for calls to getBackup. */ + public UnaryCallSettings getBackupSettings() { + return getBackupSettings; + } + + /** Returns the object with the settings used for calls to updateBackup. */ + public UnaryCallSettings updateBackupSettings() { + return updateBackupSettings; + } + + /** Returns the object with the settings used for calls to deleteBackup. */ + public UnaryCallSettings deleteBackupSettings() { + return deleteBackupSettings; + } + + /** Returns the object with the settings used for calls to listBackups. */ + public PagedCallSettings + listBackupsSettings() { + return listBackupsSettings; + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public UnaryCallSettings restoreTableSettings() { + return restoreTableSettings; + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public OperationCallSettings + restoreTableOperationSettings() { + return restoreTableOperationSettings; + } + + /** Returns the object with the settings used for calls to copyBackup. */ + public UnaryCallSettings copyBackupSettings() { + return copyBackupSettings; + } + + /** Returns the object with the settings used for calls to copyBackup. */ + public OperationCallSettings + copyBackupOperationSettings() { + return copyBackupOperationSettings; + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + public BigtableTableAdminStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableTableAdminStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "bigtableadmin"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtableadmin.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtableadmin.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(BigtableTableAdminStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableTableAdminStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + createTableSettings = settingsBuilder.createTableSettings().build(); + createTableFromSnapshotSettings = settingsBuilder.createTableFromSnapshotSettings().build(); + createTableFromSnapshotOperationSettings = + settingsBuilder.createTableFromSnapshotOperationSettings().build(); + listTablesSettings = settingsBuilder.listTablesSettings().build(); + getTableSettings = settingsBuilder.getTableSettings().build(); + updateTableSettings = settingsBuilder.updateTableSettings().build(); + updateTableOperationSettings = settingsBuilder.updateTableOperationSettings().build(); + deleteTableSettings = settingsBuilder.deleteTableSettings().build(); + undeleteTableSettings = settingsBuilder.undeleteTableSettings().build(); + undeleteTableOperationSettings = settingsBuilder.undeleteTableOperationSettings().build(); + modifyColumnFamiliesSettings = settingsBuilder.modifyColumnFamiliesSettings().build(); + dropRowRangeSettings = settingsBuilder.dropRowRangeSettings().build(); + generateConsistencyTokenSettings = settingsBuilder.generateConsistencyTokenSettings().build(); + checkConsistencySettings = settingsBuilder.checkConsistencySettings().build(); + snapshotTableSettings = settingsBuilder.snapshotTableSettings().build(); + snapshotTableOperationSettings = settingsBuilder.snapshotTableOperationSettings().build(); + getSnapshotSettings = settingsBuilder.getSnapshotSettings().build(); + listSnapshotsSettings = settingsBuilder.listSnapshotsSettings().build(); + deleteSnapshotSettings = settingsBuilder.deleteSnapshotSettings().build(); + createBackupSettings = settingsBuilder.createBackupSettings().build(); + createBackupOperationSettings = settingsBuilder.createBackupOperationSettings().build(); + getBackupSettings = settingsBuilder.getBackupSettings().build(); + updateBackupSettings = settingsBuilder.updateBackupSettings().build(); + deleteBackupSettings = settingsBuilder.deleteBackupSettings().build(); + listBackupsSettings = settingsBuilder.listBackupsSettings().build(); + restoreTableSettings = settingsBuilder.restoreTableSettings().build(); + restoreTableOperationSettings = settingsBuilder.restoreTableOperationSettings().build(); + copyBackupSettings = settingsBuilder.copyBackupSettings().build(); + copyBackupOperationSettings = settingsBuilder.copyBackupOperationSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + } + + /** Builder for BigtableTableAdminStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder createTableSettings; + private final UnaryCallSettings.Builder + createTableFromSnapshotSettings; + private final OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings; + private final PagedCallSettings.Builder< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> + listTablesSettings; + private final UnaryCallSettings.Builder getTableSettings; + private final UnaryCallSettings.Builder updateTableSettings; + private final OperationCallSettings.Builder + updateTableOperationSettings; + private final UnaryCallSettings.Builder deleteTableSettings; + private final UnaryCallSettings.Builder undeleteTableSettings; + private final OperationCallSettings.Builder + undeleteTableOperationSettings; + private final UnaryCallSettings.Builder + modifyColumnFamiliesSettings; + private final UnaryCallSettings.Builder dropRowRangeSettings; + private final UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings; + private final UnaryCallSettings.Builder + checkConsistencySettings; + private final UnaryCallSettings.Builder snapshotTableSettings; + private final OperationCallSettings.Builder< + SnapshotTableRequest, Snapshot, SnapshotTableMetadata> + snapshotTableOperationSettings; + private final UnaryCallSettings.Builder getSnapshotSettings; + private final PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings; + private final UnaryCallSettings.Builder deleteSnapshotSettings; + private final UnaryCallSettings.Builder createBackupSettings; + private final OperationCallSettings.Builder + createBackupOperationSettings; + private final UnaryCallSettings.Builder getBackupSettings; + private final UnaryCallSettings.Builder updateBackupSettings; + private final UnaryCallSettings.Builder deleteBackupSettings; + private final PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings; + private final UnaryCallSettings.Builder restoreTableSettings; + private final OperationCallSettings.Builder + restoreTableOperationSettings; + private final UnaryCallSettings.Builder copyBackupSettings; + private final OperationCallSettings.Builder + copyBackupOperationSettings; + private final UnaryCallSettings.Builder getIamPolicySettings; + private final UnaryCallSettings.Builder setIamPolicySettings; + private final UnaryCallSettings.Builder + testIamPermissionsSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_2_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build(); + definitions.put("no_retry_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_2_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(3600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(3600000L)) + .setTotalTimeout(Duration.ofMillis(3600000L)) + .build(); + definitions.put("no_retry_3_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + createTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createTableFromSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createTableFromSnapshotOperationSettings = OperationCallSettings.newBuilder(); + listTablesSettings = PagedCallSettings.newBuilder(LIST_TABLES_PAGE_STR_FACT); + getTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateTableOperationSettings = OperationCallSettings.newBuilder(); + deleteTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + undeleteTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + undeleteTableOperationSettings = OperationCallSettings.newBuilder(); + modifyColumnFamiliesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + dropRowRangeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateConsistencyTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + checkConsistencySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + snapshotTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + snapshotTableOperationSettings = OperationCallSettings.newBuilder(); + getSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listSnapshotsSettings = PagedCallSettings.newBuilder(LIST_SNAPSHOTS_PAGE_STR_FACT); + deleteSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createBackupOperationSettings = OperationCallSettings.newBuilder(); + getBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listBackupsSettings = PagedCallSettings.newBuilder(LIST_BACKUPS_PAGE_STR_FACT); + restoreTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + restoreTableOperationSettings = OperationCallSettings.newBuilder(); + copyBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + copyBackupOperationSettings = OperationCallSettings.newBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createTableSettings, + createTableFromSnapshotSettings, + listTablesSettings, + getTableSettings, + updateTableSettings, + deleteTableSettings, + undeleteTableSettings, + modifyColumnFamiliesSettings, + dropRowRangeSettings, + generateConsistencyTokenSettings, + checkConsistencySettings, + snapshotTableSettings, + getSnapshotSettings, + listSnapshotsSettings, + deleteSnapshotSettings, + createBackupSettings, + getBackupSettings, + updateBackupSettings, + deleteBackupSettings, + listBackupsSettings, + restoreTableSettings, + copyBackupSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings); + initDefaults(this); + } + + protected Builder(BigtableTableAdminStubSettings settings) { + super(settings); + + createTableSettings = settings.createTableSettings.toBuilder(); + createTableFromSnapshotSettings = settings.createTableFromSnapshotSettings.toBuilder(); + createTableFromSnapshotOperationSettings = + settings.createTableFromSnapshotOperationSettings.toBuilder(); + listTablesSettings = settings.listTablesSettings.toBuilder(); + getTableSettings = settings.getTableSettings.toBuilder(); + updateTableSettings = settings.updateTableSettings.toBuilder(); + updateTableOperationSettings = settings.updateTableOperationSettings.toBuilder(); + deleteTableSettings = settings.deleteTableSettings.toBuilder(); + undeleteTableSettings = settings.undeleteTableSettings.toBuilder(); + undeleteTableOperationSettings = settings.undeleteTableOperationSettings.toBuilder(); + modifyColumnFamiliesSettings = settings.modifyColumnFamiliesSettings.toBuilder(); + dropRowRangeSettings = settings.dropRowRangeSettings.toBuilder(); + generateConsistencyTokenSettings = settings.generateConsistencyTokenSettings.toBuilder(); + checkConsistencySettings = settings.checkConsistencySettings.toBuilder(); + snapshotTableSettings = settings.snapshotTableSettings.toBuilder(); + snapshotTableOperationSettings = settings.snapshotTableOperationSettings.toBuilder(); + getSnapshotSettings = settings.getSnapshotSettings.toBuilder(); + listSnapshotsSettings = settings.listSnapshotsSettings.toBuilder(); + deleteSnapshotSettings = settings.deleteSnapshotSettings.toBuilder(); + createBackupSettings = settings.createBackupSettings.toBuilder(); + createBackupOperationSettings = settings.createBackupOperationSettings.toBuilder(); + getBackupSettings = settings.getBackupSettings.toBuilder(); + updateBackupSettings = settings.updateBackupSettings.toBuilder(); + deleteBackupSettings = settings.deleteBackupSettings.toBuilder(); + listBackupsSettings = settings.listBackupsSettings.toBuilder(); + restoreTableSettings = settings.restoreTableSettings.toBuilder(); + restoreTableOperationSettings = settings.restoreTableOperationSettings.toBuilder(); + copyBackupSettings = settings.copyBackupSettings.toBuilder(); + copyBackupOperationSettings = settings.copyBackupOperationSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createTableSettings, + createTableFromSnapshotSettings, + listTablesSettings, + getTableSettings, + updateTableSettings, + deleteTableSettings, + undeleteTableSettings, + modifyColumnFamiliesSettings, + dropRowRangeSettings, + generateConsistencyTokenSettings, + checkConsistencySettings, + snapshotTableSettings, + getSnapshotSettings, + listSnapshotsSettings, + deleteSnapshotSettings, + createBackupSettings, + getBackupSettings, + updateBackupSettings, + deleteBackupSettings, + listBackupsSettings, + restoreTableSettings, + copyBackupSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .createTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .createTableFromSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listTablesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .getTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .updateTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .undeleteTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .modifyColumnFamiliesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .dropRowRangeSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); + + builder + .generateConsistencyTokenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .checkConsistencySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .snapshotTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .listSnapshotsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .deleteSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .createBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .getBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .updateBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .deleteBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .listBackupsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .restoreTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .copyBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .createTableFromSnapshotOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + CreateTableFromSnapshotMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(3600000L)) + .build())); + + builder + .updateTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .undeleteTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UndeleteTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .snapshotTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Snapshot.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(SnapshotTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .createBackupOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Backup.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateBackupMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .restoreTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(RestoreTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .copyBackupOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Backup.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CopyBackupMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to createTable. */ + public UnaryCallSettings.Builder createTableSettings() { + return createTableSettings; + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings.Builder + createTableFromSnapshotSettings() { + return createTableFromSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return createTableFromSnapshotOperationSettings; + } + + /** Returns the builder for the settings used for calls to listTables. */ + public PagedCallSettings.Builder + listTablesSettings() { + return listTablesSettings; + } + + /** Returns the builder for the settings used for calls to getTable. */ + public UnaryCallSettings.Builder getTableSettings() { + return getTableSettings; + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public UnaryCallSettings.Builder updateTableSettings() { + return updateTableSettings; + } + + /** Returns the builder for the settings used for calls to updateTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updateTableOperationSettings() { + return updateTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteTable. */ + public UnaryCallSettings.Builder deleteTableSettings() { + return deleteTableSettings; + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public UnaryCallSettings.Builder undeleteTableSettings() { + return undeleteTableSettings; + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + undeleteTableOperationSettings() { + return undeleteTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings.Builder + modifyColumnFamiliesSettings() { + return modifyColumnFamiliesSettings; + } + + /** Returns the builder for the settings used for calls to dropRowRange. */ + public UnaryCallSettings.Builder dropRowRangeSettings() { + return dropRowRangeSettings; + } + + /** Returns the builder for the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings() { + return generateConsistencyTokenSettings; + } + + /** Returns the builder for the settings used for calls to checkConsistency. */ + public UnaryCallSettings.Builder + checkConsistencySettings() { + return checkConsistencySettings; + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public UnaryCallSettings.Builder snapshotTableSettings() { + return snapshotTableSettings; + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + snapshotTableOperationSettings() { + return snapshotTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to getSnapshot. */ + public UnaryCallSettings.Builder getSnapshotSettings() { + return getSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to listSnapshots. */ + public PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings() { + return listSnapshotsSettings; + } + + /** Returns the builder for the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings.Builder deleteSnapshotSettings() { + return deleteSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public UnaryCallSettings.Builder createBackupSettings() { + return createBackupSettings; + } + + /** Returns the builder for the settings used for calls to createBackup. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createBackupOperationSettings() { + return createBackupOperationSettings; + } + + /** Returns the builder for the settings used for calls to getBackup. */ + public UnaryCallSettings.Builder getBackupSettings() { + return getBackupSettings; + } + + /** Returns the builder for the settings used for calls to updateBackup. */ + public UnaryCallSettings.Builder updateBackupSettings() { + return updateBackupSettings; + } + + /** Returns the builder for the settings used for calls to deleteBackup. */ + public UnaryCallSettings.Builder deleteBackupSettings() { + return deleteBackupSettings; + } + + /** Returns the builder for the settings used for calls to listBackups. */ + public PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings() { + return listBackupsSettings; + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public UnaryCallSettings.Builder restoreTableSettings() { + return restoreTableSettings; + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + restoreTableOperationSettings() { + return restoreTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to copyBackup. */ + public UnaryCallSettings.Builder copyBackupSettings() { + return copyBackupSettings; + } + + /** Returns the builder for the settings used for calls to copyBackup. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + copyBackupOperationSettings() { + return copyBackupOperationSettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @Override + public BigtableTableAdminStubSettings build() throws IOException { + return new BigtableTableAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java new file mode 100644 index 0000000000..5fd175f60c --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableInstanceAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java new file mode 100644 index 0000000000..71c8eefdc6 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java @@ -0,0 +1,896 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableInstanceAdminStub extends BigtableInstanceAdminStub { + private static final MethodDescriptor + createInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance") + .setRequestMarshaller(ProtoUtils.marshaller(GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listInstancesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances") + .setRequestMarshaller( + ProtoUtils.marshaller(ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListInstancesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance") + .setRequestMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + partialUpdateInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(PartialUpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster") + .setRequestMarshaller(ProtoUtils.marshaller(GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Cluster.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listClustersMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters") + .setRequestMarshaller(ProtoUtils.marshaller(ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListClustersResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster") + .setRequestMarshaller(ProtoUtils.marshaller(Cluster.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + partialUpdateClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateCluster") + .setRequestMarshaller( + ProtoUtils.marshaller(PartialUpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AppProfile.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AppProfile.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listAppProfilesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles") + .setRequestMarshaller( + ProtoUtils.marshaller(ListAppProfilesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListAppProfilesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listHotTabletsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListHotTablets") + .setRequestMarshaller( + ProtoUtils.marshaller(ListHotTabletsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListHotTabletsResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable createInstanceCallable; + private final OperationCallable + createInstanceOperationCallable; + private final UnaryCallable getInstanceCallable; + private final UnaryCallable listInstancesCallable; + private final UnaryCallable updateInstanceCallable; + private final UnaryCallable + partialUpdateInstanceCallable; + private final OperationCallable + partialUpdateInstanceOperationCallable; + private final UnaryCallable deleteInstanceCallable; + private final UnaryCallable createClusterCallable; + private final OperationCallable + createClusterOperationCallable; + private final UnaryCallable getClusterCallable; + private final UnaryCallable listClustersCallable; + private final UnaryCallable updateClusterCallable; + private final OperationCallable + updateClusterOperationCallable; + private final UnaryCallable partialUpdateClusterCallable; + private final OperationCallable< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationCallable; + private final UnaryCallable deleteClusterCallable; + private final UnaryCallable createAppProfileCallable; + private final UnaryCallable getAppProfileCallable; + private final UnaryCallable + listAppProfilesCallable; + private final UnaryCallable + listAppProfilesPagedCallable; + private final UnaryCallable updateAppProfileCallable; + private final OperationCallable + updateAppProfileOperationCallable; + private final UnaryCallable deleteAppProfileCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable listHotTabletsCallable; + private final UnaryCallable + listHotTabletsPagedCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcBigtableInstanceAdminStub create( + BigtableInstanceAdminStubSettings settings) throws IOException { + return new GrpcBigtableInstanceAdminStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableInstanceAdminStub create(ClientContext clientContext) + throws IOException { + return new GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableInstanceAdminStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableInstanceAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcBigtableInstanceAdminCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableInstanceAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings createInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listInstancesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listInstancesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + partialUpdateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("instance.name", String.valueOf(request.getInstance().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listClustersTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listClustersMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings partialUpdateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("cluster.name", String.valueOf(request.getCluster().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listAppProfilesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listAppProfilesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "app_profile.name", String.valueOf(request.getAppProfile().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listHotTabletsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listHotTabletsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + + this.createInstanceCallable = + callableFactory.createUnaryCallable( + createInstanceTransportSettings, settings.createInstanceSettings(), clientContext); + this.createInstanceOperationCallable = + callableFactory.createOperationCallable( + createInstanceTransportSettings, + settings.createInstanceOperationSettings(), + clientContext, + operationsStub); + this.getInstanceCallable = + callableFactory.createUnaryCallable( + getInstanceTransportSettings, settings.getInstanceSettings(), clientContext); + this.listInstancesCallable = + callableFactory.createUnaryCallable( + listInstancesTransportSettings, settings.listInstancesSettings(), clientContext); + this.updateInstanceCallable = + callableFactory.createUnaryCallable( + updateInstanceTransportSettings, settings.updateInstanceSettings(), clientContext); + this.partialUpdateInstanceCallable = + callableFactory.createUnaryCallable( + partialUpdateInstanceTransportSettings, + settings.partialUpdateInstanceSettings(), + clientContext); + this.partialUpdateInstanceOperationCallable = + callableFactory.createOperationCallable( + partialUpdateInstanceTransportSettings, + settings.partialUpdateInstanceOperationSettings(), + clientContext, + operationsStub); + this.deleteInstanceCallable = + callableFactory.createUnaryCallable( + deleteInstanceTransportSettings, settings.deleteInstanceSettings(), clientContext); + this.createClusterCallable = + callableFactory.createUnaryCallable( + createClusterTransportSettings, settings.createClusterSettings(), clientContext); + this.createClusterOperationCallable = + callableFactory.createOperationCallable( + createClusterTransportSettings, + settings.createClusterOperationSettings(), + clientContext, + operationsStub); + this.getClusterCallable = + callableFactory.createUnaryCallable( + getClusterTransportSettings, settings.getClusterSettings(), clientContext); + this.listClustersCallable = + callableFactory.createUnaryCallable( + listClustersTransportSettings, settings.listClustersSettings(), clientContext); + this.updateClusterCallable = + callableFactory.createUnaryCallable( + updateClusterTransportSettings, settings.updateClusterSettings(), clientContext); + this.updateClusterOperationCallable = + callableFactory.createOperationCallable( + updateClusterTransportSettings, + settings.updateClusterOperationSettings(), + clientContext, + operationsStub); + this.partialUpdateClusterCallable = + callableFactory.createUnaryCallable( + partialUpdateClusterTransportSettings, + settings.partialUpdateClusterSettings(), + clientContext); + this.partialUpdateClusterOperationCallable = + callableFactory.createOperationCallable( + partialUpdateClusterTransportSettings, + settings.partialUpdateClusterOperationSettings(), + clientContext, + operationsStub); + this.deleteClusterCallable = + callableFactory.createUnaryCallable( + deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext); + this.createAppProfileCallable = + callableFactory.createUnaryCallable( + createAppProfileTransportSettings, settings.createAppProfileSettings(), clientContext); + this.getAppProfileCallable = + callableFactory.createUnaryCallable( + getAppProfileTransportSettings, settings.getAppProfileSettings(), clientContext); + this.listAppProfilesCallable = + callableFactory.createUnaryCallable( + listAppProfilesTransportSettings, settings.listAppProfilesSettings(), clientContext); + this.listAppProfilesPagedCallable = + callableFactory.createPagedCallable( + listAppProfilesTransportSettings, settings.listAppProfilesSettings(), clientContext); + this.updateAppProfileCallable = + callableFactory.createUnaryCallable( + updateAppProfileTransportSettings, settings.updateAppProfileSettings(), clientContext); + this.updateAppProfileOperationCallable = + callableFactory.createOperationCallable( + updateAppProfileTransportSettings, + settings.updateAppProfileOperationSettings(), + clientContext, + operationsStub); + this.deleteAppProfileCallable = + callableFactory.createUnaryCallable( + deleteAppProfileTransportSettings, settings.deleteAppProfileSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.listHotTabletsCallable = + callableFactory.createUnaryCallable( + listHotTabletsTransportSettings, settings.listHotTabletsSettings(), clientContext); + this.listHotTabletsPagedCallable = + callableFactory.createPagedCallable( + listHotTabletsTransportSettings, settings.listHotTabletsSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable createInstanceCallable() { + return createInstanceCallable; + } + + @Override + public OperationCallable + createInstanceOperationCallable() { + return createInstanceOperationCallable; + } + + @Override + public UnaryCallable getInstanceCallable() { + return getInstanceCallable; + } + + @Override + public UnaryCallable listInstancesCallable() { + return listInstancesCallable; + } + + @Override + public UnaryCallable updateInstanceCallable() { + return updateInstanceCallable; + } + + @Override + public UnaryCallable partialUpdateInstanceCallable() { + return partialUpdateInstanceCallable; + } + + @Override + public OperationCallable + partialUpdateInstanceOperationCallable() { + return partialUpdateInstanceOperationCallable; + } + + @Override + public UnaryCallable deleteInstanceCallable() { + return deleteInstanceCallable; + } + + @Override + public UnaryCallable createClusterCallable() { + return createClusterCallable; + } + + @Override + public OperationCallable + createClusterOperationCallable() { + return createClusterOperationCallable; + } + + @Override + public UnaryCallable getClusterCallable() { + return getClusterCallable; + } + + @Override + public UnaryCallable listClustersCallable() { + return listClustersCallable; + } + + @Override + public UnaryCallable updateClusterCallable() { + return updateClusterCallable; + } + + @Override + public OperationCallable + updateClusterOperationCallable() { + return updateClusterOperationCallable; + } + + @Override + public UnaryCallable partialUpdateClusterCallable() { + return partialUpdateClusterCallable; + } + + @Override + public OperationCallable + partialUpdateClusterOperationCallable() { + return partialUpdateClusterOperationCallable; + } + + @Override + public UnaryCallable deleteClusterCallable() { + return deleteClusterCallable; + } + + @Override + public UnaryCallable createAppProfileCallable() { + return createAppProfileCallable; + } + + @Override + public UnaryCallable getAppProfileCallable() { + return getAppProfileCallable; + } + + @Override + public UnaryCallable listAppProfilesCallable() { + return listAppProfilesCallable; + } + + @Override + public UnaryCallable + listAppProfilesPagedCallable() { + return listAppProfilesPagedCallable; + } + + @Override + public UnaryCallable updateAppProfileCallable() { + return updateAppProfileCallable; + } + + @Override + public OperationCallable + updateAppProfileOperationCallable() { + return updateAppProfileOperationCallable; + } + + @Override + public UnaryCallable deleteAppProfileCallable() { + return deleteAppProfileCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable listHotTabletsCallable() { + return listHotTabletsCallable; + } + + @Override + public UnaryCallable + listHotTabletsPagedCallable() { + return listHotTabletsPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java new file mode 100644 index 0000000000..9e1a60ec90 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the BigtableTableAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java new file mode 100644 index 0000000000..8a4cc4b7a0 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java @@ -0,0 +1,1037 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CopyBackupMetadata; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the BigtableTableAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { + private static final MethodDescriptor createTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateTable") + .setRequestMarshaller(ProtoUtils.marshaller(CreateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createTableFromSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateTableFromSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listTablesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListTables") + .setRequestMarshaller(ProtoUtils.marshaller(ListTablesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ListTablesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetTable") + .setRequestMarshaller(ProtoUtils.marshaller(GetTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + undeleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable") + .setRequestMarshaller( + ProtoUtils.marshaller(UndeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + modifyColumnFamiliesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies") + .setRequestMarshaller( + ProtoUtils.marshaller(ModifyColumnFamiliesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor dropRowRangeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange") + .setRequestMarshaller(ProtoUtils.marshaller(DropRowRangeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkConsistencyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckConsistencyRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckConsistencyResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + snapshotTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable") + .setRequestMarshaller( + ProtoUtils.marshaller(SnapshotTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot") + .setRequestMarshaller(ProtoUtils.marshaller(GetSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Snapshot.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listSnapshotsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots") + .setRequestMarshaller( + ProtoUtils.marshaller(ListSnapshotsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListSnapshotsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetBackup") + .setRequestMarshaller(ProtoUtils.marshaller(GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listBackupsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListBackups") + .setRequestMarshaller(ProtoUtils.marshaller(ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListBackupsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + restoreTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable") + .setRequestMarshaller(ProtoUtils.marshaller(RestoreTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor copyBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CopyBackup") + .setRequestMarshaller(ProtoUtils.marshaller(CopyBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable createTableCallable; + private final UnaryCallable + createTableFromSnapshotCallable; + private final OperationCallable< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationCallable; + private final UnaryCallable listTablesCallable; + private final UnaryCallable listTablesPagedCallable; + private final UnaryCallable getTableCallable; + private final UnaryCallable updateTableCallable; + private final OperationCallable + updateTableOperationCallable; + private final UnaryCallable deleteTableCallable; + private final UnaryCallable undeleteTableCallable; + private final OperationCallable + undeleteTableOperationCallable; + private final UnaryCallable modifyColumnFamiliesCallable; + private final UnaryCallable dropRowRangeCallable; + private final UnaryCallable + generateConsistencyTokenCallable; + private final UnaryCallable + checkConsistencyCallable; + private final UnaryCallable snapshotTableCallable; + private final OperationCallable + snapshotTableOperationCallable; + private final UnaryCallable getSnapshotCallable; + private final UnaryCallable listSnapshotsCallable; + private final UnaryCallable + listSnapshotsPagedCallable; + private final UnaryCallable deleteSnapshotCallable; + private final UnaryCallable createBackupCallable; + private final OperationCallable + createBackupOperationCallable; + private final UnaryCallable getBackupCallable; + private final UnaryCallable updateBackupCallable; + private final UnaryCallable deleteBackupCallable; + private final UnaryCallable listBackupsCallable; + private final UnaryCallable + listBackupsPagedCallable; + private final UnaryCallable restoreTableCallable; + private final OperationCallable + restoreTableOperationCallable; + private final UnaryCallable copyBackupCallable; + private final OperationCallable + copyBackupOperationCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcBigtableTableAdminStub create(BigtableTableAdminStubSettings settings) + throws IOException { + return new GrpcBigtableTableAdminStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableTableAdminStub create(ClientContext clientContext) + throws IOException { + return new GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableTableAdminStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableTableAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcBigtableTableAdminCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableTableAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings createTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings + createTableFromSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings listTablesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listTablesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table.name", String.valueOf(request.getTable().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings undeleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(undeleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings modifyColumnFamiliesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings dropRowRangeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(dropRowRangeMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + generateConsistencyTokenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkConsistencyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkConsistencyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings snapshotTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(snapshotTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listSnapshotsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listSnapshotsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("backup.name", String.valueOf(request.getBackup().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listBackupsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listBackupsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings restoreTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(restoreTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings copyBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(copyBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + + this.createTableCallable = + callableFactory.createUnaryCallable( + createTableTransportSettings, settings.createTableSettings(), clientContext); + this.createTableFromSnapshotCallable = + callableFactory.createUnaryCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotSettings(), + clientContext); + this.createTableFromSnapshotOperationCallable = + callableFactory.createOperationCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotOperationSettings(), + clientContext, + operationsStub); + this.listTablesCallable = + callableFactory.createUnaryCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.listTablesPagedCallable = + callableFactory.createPagedCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.getTableCallable = + callableFactory.createUnaryCallable( + getTableTransportSettings, settings.getTableSettings(), clientContext); + this.updateTableCallable = + callableFactory.createUnaryCallable( + updateTableTransportSettings, settings.updateTableSettings(), clientContext); + this.updateTableOperationCallable = + callableFactory.createOperationCallable( + updateTableTransportSettings, + settings.updateTableOperationSettings(), + clientContext, + operationsStub); + this.deleteTableCallable = + callableFactory.createUnaryCallable( + deleteTableTransportSettings, settings.deleteTableSettings(), clientContext); + this.undeleteTableCallable = + callableFactory.createUnaryCallable( + undeleteTableTransportSettings, settings.undeleteTableSettings(), clientContext); + this.undeleteTableOperationCallable = + callableFactory.createOperationCallable( + undeleteTableTransportSettings, + settings.undeleteTableOperationSettings(), + clientContext, + operationsStub); + this.modifyColumnFamiliesCallable = + callableFactory.createUnaryCallable( + modifyColumnFamiliesTransportSettings, + settings.modifyColumnFamiliesSettings(), + clientContext); + this.dropRowRangeCallable = + callableFactory.createUnaryCallable( + dropRowRangeTransportSettings, settings.dropRowRangeSettings(), clientContext); + this.generateConsistencyTokenCallable = + callableFactory.createUnaryCallable( + generateConsistencyTokenTransportSettings, + settings.generateConsistencyTokenSettings(), + clientContext); + this.checkConsistencyCallable = + callableFactory.createUnaryCallable( + checkConsistencyTransportSettings, settings.checkConsistencySettings(), clientContext); + this.snapshotTableCallable = + callableFactory.createUnaryCallable( + snapshotTableTransportSettings, settings.snapshotTableSettings(), clientContext); + this.snapshotTableOperationCallable = + callableFactory.createOperationCallable( + snapshotTableTransportSettings, + settings.snapshotTableOperationSettings(), + clientContext, + operationsStub); + this.getSnapshotCallable = + callableFactory.createUnaryCallable( + getSnapshotTransportSettings, settings.getSnapshotSettings(), clientContext); + this.listSnapshotsCallable = + callableFactory.createUnaryCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.listSnapshotsPagedCallable = + callableFactory.createPagedCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.deleteSnapshotCallable = + callableFactory.createUnaryCallable( + deleteSnapshotTransportSettings, settings.deleteSnapshotSettings(), clientContext); + this.createBackupCallable = + callableFactory.createUnaryCallable( + createBackupTransportSettings, settings.createBackupSettings(), clientContext); + this.createBackupOperationCallable = + callableFactory.createOperationCallable( + createBackupTransportSettings, + settings.createBackupOperationSettings(), + clientContext, + operationsStub); + this.getBackupCallable = + callableFactory.createUnaryCallable( + getBackupTransportSettings, settings.getBackupSettings(), clientContext); + this.updateBackupCallable = + callableFactory.createUnaryCallable( + updateBackupTransportSettings, settings.updateBackupSettings(), clientContext); + this.deleteBackupCallable = + callableFactory.createUnaryCallable( + deleteBackupTransportSettings, settings.deleteBackupSettings(), clientContext); + this.listBackupsCallable = + callableFactory.createUnaryCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.listBackupsPagedCallable = + callableFactory.createPagedCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.restoreTableCallable = + callableFactory.createUnaryCallable( + restoreTableTransportSettings, settings.restoreTableSettings(), clientContext); + this.restoreTableOperationCallable = + callableFactory.createOperationCallable( + restoreTableTransportSettings, + settings.restoreTableOperationSettings(), + clientContext, + operationsStub); + this.copyBackupCallable = + callableFactory.createUnaryCallable( + copyBackupTransportSettings, settings.copyBackupSettings(), clientContext); + this.copyBackupOperationCallable = + callableFactory.createOperationCallable( + copyBackupTransportSettings, + settings.copyBackupOperationSettings(), + clientContext, + operationsStub); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable createTableCallable() { + return createTableCallable; + } + + @Override + public UnaryCallable + createTableFromSnapshotCallable() { + return createTableFromSnapshotCallable; + } + + @Override + public OperationCallable + createTableFromSnapshotOperationCallable() { + return createTableFromSnapshotOperationCallable; + } + + @Override + public UnaryCallable listTablesCallable() { + return listTablesCallable; + } + + @Override + public UnaryCallable listTablesPagedCallable() { + return listTablesPagedCallable; + } + + @Override + public UnaryCallable getTableCallable() { + return getTableCallable; + } + + @Override + public UnaryCallable updateTableCallable() { + return updateTableCallable; + } + + @Override + public OperationCallable + updateTableOperationCallable() { + return updateTableOperationCallable; + } + + @Override + public UnaryCallable deleteTableCallable() { + return deleteTableCallable; + } + + @Override + public UnaryCallable undeleteTableCallable() { + return undeleteTableCallable; + } + + @Override + public OperationCallable + undeleteTableOperationCallable() { + return undeleteTableOperationCallable; + } + + @Override + public UnaryCallable modifyColumnFamiliesCallable() { + return modifyColumnFamiliesCallable; + } + + @Override + public UnaryCallable dropRowRangeCallable() { + return dropRowRangeCallable; + } + + @Override + public UnaryCallable + generateConsistencyTokenCallable() { + return generateConsistencyTokenCallable; + } + + @Override + public UnaryCallable + checkConsistencyCallable() { + return checkConsistencyCallable; + } + + @Override + public UnaryCallable snapshotTableCallable() { + return snapshotTableCallable; + } + + @Override + public OperationCallable + snapshotTableOperationCallable() { + return snapshotTableOperationCallable; + } + + @Override + public UnaryCallable getSnapshotCallable() { + return getSnapshotCallable; + } + + @Override + public UnaryCallable listSnapshotsCallable() { + return listSnapshotsCallable; + } + + @Override + public UnaryCallable + listSnapshotsPagedCallable() { + return listSnapshotsPagedCallable; + } + + @Override + public UnaryCallable deleteSnapshotCallable() { + return deleteSnapshotCallable; + } + + @Override + public UnaryCallable createBackupCallable() { + return createBackupCallable; + } + + @Override + public OperationCallable + createBackupOperationCallable() { + return createBackupOperationCallable; + } + + @Override + public UnaryCallable getBackupCallable() { + return getBackupCallable; + } + + @Override + public UnaryCallable updateBackupCallable() { + return updateBackupCallable; + } + + @Override + public UnaryCallable deleteBackupCallable() { + return deleteBackupCallable; + } + + @Override + public UnaryCallable listBackupsCallable() { + return listBackupsCallable; + } + + @Override + public UnaryCallable listBackupsPagedCallable() { + return listBackupsPagedCallable; + } + + @Override + public UnaryCallable restoreTableCallable() { + return restoreTableCallable; + } + + @Override + public OperationCallable + restoreTableOperationCallable() { + return restoreTableOperationCallable; + } + + @Override + public UnaryCallable copyBackupCallable() { + return copyBackupCallable; + } + + @Override + public OperationCallable + copyBackupOperationCallable() { + return copyBackupOperationCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java new file mode 100644 index 0000000000..38ebd7d400 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -0,0 +1,1505 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.TableName; +import com.google.cloud.bigtable.data.v2.stub.BigtableStub; +import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; +import com.google.protobuf.ByteString; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for reading from and writing to existing Bigtable tables. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+ *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+ *   ByteString rowKey = ByteString.EMPTY;
+ *   List mutations = new ArrayList<>();
+ *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the BaseBigtableDataClient object to clean up resources + * such as threads. In the example above, try-with-resources is used, which automatically calls + * close(). + * + *

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

ReadRows

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 atomicity of each row will still be preserved. See the ReadRowsResponse documentation for details.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • readRowsCallable() + *

+ *

SampleRowKeys

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.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • sampleRowKeysCallable() + *

+ *

MutateRow

Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly changed by `mutation`.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • mutateRow(MutateRowRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • mutateRow(TableName tableName, ByteString rowKey, List<Mutation> mutations) + *

  • mutateRow(String tableName, ByteString rowKey, List<Mutation> mutations) + *

  • mutateRow(TableName tableName, ByteString rowKey, List<Mutation> mutations, String appProfileId) + *

  • mutateRow(String tableName, ByteString rowKey, List<Mutation> mutations, String appProfileId) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • mutateRowCallable() + *

+ *

MutateRows

Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, but the entire batch is not executed atomically.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • mutateRowsCallable() + *

+ *

CheckAndMutateRow

Mutates a row atomically based on the output of a predicate Reader filter.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • checkAndMutateRow(CheckAndMutateRowRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • checkAndMutateRow(TableName tableName, ByteString rowKey, RowFilter predicateFilter, List<Mutation> trueMutations, List<Mutation> falseMutations) + *

  • checkAndMutateRow(String tableName, ByteString rowKey, RowFilter predicateFilter, List<Mutation> trueMutations, List<Mutation> falseMutations) + *

  • checkAndMutateRow(TableName tableName, ByteString rowKey, RowFilter predicateFilter, List<Mutation> trueMutations, List<Mutation> falseMutations, String appProfileId) + *

  • checkAndMutateRow(String tableName, ByteString rowKey, RowFilter predicateFilter, List<Mutation> trueMutations, List<Mutation> falseMutations, String appProfileId) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • checkAndMutateRowCallable() + *

+ *

PingAndWarm

Warm up associated instance metadata for this connection. This call is not required but may be useful for connection keep-alive.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • pingAndWarm(PingAndWarmRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • pingAndWarm(InstanceName name) + *

  • pingAndWarm(String name) + *

  • pingAndWarm(InstanceName name, String appProfileId) + *

  • pingAndWarm(String name, String appProfileId) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • pingAndWarmCallable() + *

+ *

ReadModifyWriteRow

Modifies a row atomically on the server. The method reads the latest existing timestamp and value from the specified columns and writes a new 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.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • readModifyWriteRow(ReadModifyWriteRowRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • readModifyWriteRow(TableName tableName, ByteString rowKey, List<ReadModifyWriteRule> rules) + *

  • readModifyWriteRow(String tableName, ByteString rowKey, List<ReadModifyWriteRule> rules) + *

  • readModifyWriteRow(TableName tableName, ByteString rowKey, List<ReadModifyWriteRule> rules, String appProfileId) + *

  • readModifyWriteRow(String tableName, ByteString rowKey, List<ReadModifyWriteRule> rules, String appProfileId) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • readModifyWriteRowCallable() + *

+ *

GenerateInitialChangeStreamPartitions

NOTE: This API is intended to be used by Apache Beam BigtableIO. Returns the current list of partitions that make up the table's change stream. The union of partitions will cover the entire keyspace. Partitions can be read with `ReadChangeStream`.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • generateInitialChangeStreamPartitionsCallable() + *

+ *

ReadChangeStream

NOTE: This API is intended to be used by Apache Beam BigtableIO. Reads changes from a table's change stream. Changes will reflect both user-initiated mutations and mutations that are caused by garbage collection.

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • readChangeStreamCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of BaseBigtableDataSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableDataSettings baseBigtableDataSettings =
+ *     BaseBigtableDataSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * BaseBigtableDataClient baseBigtableDataClient =
+ *     BaseBigtableDataClient.create(baseBigtableDataSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableDataSettings baseBigtableDataSettings =
+ *     BaseBigtableDataSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * BaseBigtableDataClient baseBigtableDataClient =
+ *     BaseBigtableDataClient.create(baseBigtableDataSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableDataClient implements BackgroundResource { + private final BaseBigtableDataSettings settings; + private final BigtableStub stub; + + /** Constructs an instance of BaseBigtableDataClient with default settings. */ + public static final BaseBigtableDataClient create() throws IOException { + return create(BaseBigtableDataSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final BaseBigtableDataClient create(BaseBigtableDataSettings settings) + throws IOException { + return new BaseBigtableDataClient(settings); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given stub for making calls. This + * is for advanced usage - prefer using create(BaseBigtableDataSettings). + */ + public static final BaseBigtableDataClient create(BigtableStub stub) { + return new BaseBigtableDataClient(stub); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected BaseBigtableDataClient(BaseBigtableDataSettings settings) throws IOException { + this.settings = settings; + this.stub = ((BigtableStubSettings) settings.getStubSettings()).createStub(); + } + + protected BaseBigtableDataClient(BigtableStub stub) { + this.settings = null; + this.stub = stub; + } + + public final BaseBigtableDataSettings getSettings() { + return settings; + } + + public BigtableStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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 atomicity of each row will still be preserved. See the ReadRowsResponse + * documentation for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadRowsRequest request =
+   *       ReadRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRows(RowSet.newBuilder().build())
+   *           .setFilter(RowFilter.newBuilder().build())
+   *           .setRowsLimit(-944199211)
+   *           .setReversed(true)
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.readRowsCallable().call(request);
+   *   for (ReadRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable readRowsCallable() { + return stub.readRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   SampleRowKeysRequest request =
+   *       SampleRowKeysRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.sampleRowKeysCallable().call(request);
+   *   for (SampleRowKeysResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable + sampleRowKeysCallable() { + return stub.sampleRowKeysCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations 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. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations 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. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow(MutateRowRequest request) { + return mutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.mutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   MutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable mutateRowCallable() { + return stub.mutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, + * but the entire batch is not executed atomically. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowsRequest request =
+   *       MutateRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .addAllEntries(new ArrayList())
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.mutateRowsCallable().call(request);
+   *   for (MutateRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable mutateRowsCallable() { + return stub.mutateRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter 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 `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + TableName tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter 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 `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + String tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter 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 `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + TableName tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations, + String appProfileId) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .setAppProfileId(appProfileId) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter 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 `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + String tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations, + String appProfileId) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .setAppProfileId(appProfileId) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   CheckAndMutateRowResponse response = baseBigtableDataClient.checkAndMutateRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow(CheckAndMutateRowRequest request) { + return checkAndMutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.checkAndMutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   CheckAndMutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkAndMutateRowCallable() { + return stub.checkAndMutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name) { + PingAndWarmRequest request = PingAndWarmRequest.newBuilder().setName(name).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setAppProfileId(appProfileId) + .build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name).setAppProfileId(appProfileId).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(PingAndWarmRequest request) { + return pingAndWarmCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.pingAndWarmCallable().futureCall(request);
+   *   // Do something.
+   *   PingAndWarmResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable pingAndWarmCallable() { + return stub.pingAndWarmCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + TableName tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules 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. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + TableName tableName, + ByteString rowKey, + List rules, + String appProfileId) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllRules(rules) + .setAppProfileId(appProfileId) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
+   * }
+   * }
+ * + * @param tableName 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>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules 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. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules, String appProfileId) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .setAppProfileId(appProfileId) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ReadModifyWriteRowResponse response = baseBigtableDataClient.readModifyWriteRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow(ReadModifyWriteRowRequest request) { + return readModifyWriteRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new 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. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.readModifyWriteRowCallable().futureCall(request);
+   *   // Do something.
+   *   ReadModifyWriteRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + readModifyWriteRowCallable() { + return stub.readModifyWriteRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Returns the current list of + * partitions that make up the table's change stream. The union of partitions will cover the + * entire keyspace. Partitions can be read with `ReadChangeStream`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   GenerateInitialChangeStreamPartitionsRequest request =
+   *       GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.generateInitialChangeStreamPartitionsCallable().call(request);
+   *   for (GenerateInitialChangeStreamPartitionsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return stub.generateInitialChangeStreamPartitionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Reads changes from a table's + * change stream. Changes will reflect both user-initiated mutations and mutations that are caused + * by garbage collection. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadChangeStreamRequest request =
+   *       ReadChangeStreamRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setPartition(StreamPartition.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setHeartbeatDuration(Duration.newBuilder().build())
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.readChangeStreamCallable().call(request);
+   *   for (ReadChangeStreamResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable + readChangeStreamCallable() { + return stub.readChangeStreamCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java new file mode 100644 index 0000000000..1d6c13f45b --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java @@ -0,0 +1,306 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BaseBigtableDataClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtable.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of mutateRow to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableDataSettings.Builder baseBigtableDataSettingsBuilder =
+ *     BaseBigtableDataSettings.newBuilder();
+ * baseBigtableDataSettingsBuilder
+ *     .mutateRowSettings()
+ *     .setRetrySettings(
+ *         baseBigtableDataSettingsBuilder
+ *             .mutateRowSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableDataSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableDataSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).readRowsSettings(); + } + + /** Returns the object with the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings + sampleRowKeysSettings() { + return ((BigtableStubSettings) getStubSettings()).sampleRowKeysSettings(); + } + + /** Returns the object with the settings used for calls to mutateRow. */ + public UnaryCallSettings mutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowSettings(); + } + + /** Returns the object with the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings mutateRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowsSettings(); + } + + /** Returns the object with the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings + checkAndMutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).checkAndMutateRowSettings(); + } + + /** Returns the object with the settings used for calls to pingAndWarm. */ + public UnaryCallSettings pingAndWarmSettings() { + return ((BigtableStubSettings) getStubSettings()).pingAndWarmSettings(); + } + + /** Returns the object with the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings + readModifyWriteRowSettings() { + return ((BigtableStubSettings) getStubSettings()).readModifyWriteRowSettings(); + } + + /** + * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return ((BigtableStubSettings) getStubSettings()) + .generateInitialChangeStreamPartitionsSettings(); + } + + /** Returns the object with the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings + readChangeStreamSettings() { + return ((BigtableStubSettings) getStubSettings()).readChangeStreamSettings(); + } + + public static final BaseBigtableDataSettings create(BigtableStubSettings stub) + throws IOException { + return new BaseBigtableDataSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableDataSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableDataSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableDataSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableStubSettings.newBuilder()); + } + + public BigtableStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to readRows. */ + public ServerStreamingCallSettings.Builder + readRowsSettings() { + return getStubSettingsBuilder().readRowsSettings(); + } + + /** Returns the builder for the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings.Builder + sampleRowKeysSettings() { + return getStubSettingsBuilder().sampleRowKeysSettings(); + } + + /** Returns the builder for the settings used for calls to mutateRow. */ + public UnaryCallSettings.Builder mutateRowSettings() { + return getStubSettingsBuilder().mutateRowSettings(); + } + + /** Returns the builder for the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings.Builder + mutateRowsSettings() { + return getStubSettingsBuilder().mutateRowsSettings(); + } + + /** Returns the builder for the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings.Builder + checkAndMutateRowSettings() { + return getStubSettingsBuilder().checkAndMutateRowSettings(); + } + + /** Returns the builder for the settings used for calls to pingAndWarm. */ + public UnaryCallSettings.Builder + pingAndWarmSettings() { + return getStubSettingsBuilder().pingAndWarmSettings(); + } + + /** Returns the builder for the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings.Builder + readModifyWriteRowSettings() { + return getStubSettingsBuilder().readModifyWriteRowSettings(); + } + + /** + * Returns the builder for the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return getStubSettingsBuilder().generateInitialChangeStreamPartitionsSettings(); + } + + /** Returns the builder for the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings.Builder + readChangeStreamSettings() { + return getStubSettingsBuilder().readChangeStreamSettings(); + } + + @Override + public BaseBigtableDataSettings build() throws IOException { + return new BaseBigtableDataSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json new file mode 100644 index 0000000000..495762d219 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json @@ -0,0 +1,45 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.bigtable.v2", + "libraryPackage": "com.google.cloud.bigtable.data.v2", + "services": { + "Bigtable": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableDataClient", + "rpcs": { + "CheckAndMutateRow": { + "methods": ["checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRowCallable"] + }, + "GenerateInitialChangeStreamPartitions": { + "methods": ["generateInitialChangeStreamPartitionsCallable"] + }, + "MutateRow": { + "methods": ["mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRowCallable"] + }, + "MutateRows": { + "methods": ["mutateRowsCallable"] + }, + "PingAndWarm": { + "methods": ["pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarmCallable"] + }, + "ReadChangeStream": { + "methods": ["readChangeStreamCallable"] + }, + "ReadModifyWriteRow": { + "methods": ["readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRowCallable"] + }, + "ReadRows": { + "methods": ["readRowsCallable"] + }, + "SampleRowKeys": { + "methods": ["sampleRowKeysCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java new file mode 100644 index 0000000000..5bc2573eed --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Bigtable API + * + *

The interfaces provided are listed below, along with usage samples. + * + *

======================= BaseBigtableDataClient ======================= + * + *

Service Description: Service for reading from and writing to existing Bigtable tables. + * + *

Sample for BaseBigtableDataClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+ *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+ *   ByteString rowKey = ByteString.EMPTY;
+ *   List mutations = new ArrayList<>();
+ *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.bigtable.data.v2; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java new file mode 100644 index 0000000000..aa78e1fbfe --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java @@ -0,0 +1,97 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Bigtable service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableStub implements BackgroundResource { + + public ServerStreamingCallable readRowsCallable() { + throw new UnsupportedOperationException("Not implemented: readRowsCallable()"); + } + + public ServerStreamingCallable + sampleRowKeysCallable() { + throw new UnsupportedOperationException("Not implemented: sampleRowKeysCallable()"); + } + + public UnaryCallable mutateRowCallable() { + throw new UnsupportedOperationException("Not implemented: mutateRowCallable()"); + } + + public ServerStreamingCallable mutateRowsCallable() { + throw new UnsupportedOperationException("Not implemented: mutateRowsCallable()"); + } + + public UnaryCallable + checkAndMutateRowCallable() { + throw new UnsupportedOperationException("Not implemented: checkAndMutateRowCallable()"); + } + + public UnaryCallable pingAndWarmCallable() { + throw new UnsupportedOperationException("Not implemented: pingAndWarmCallable()"); + } + + public UnaryCallable + readModifyWriteRowCallable() { + throw new UnsupportedOperationException("Not implemented: readModifyWriteRowCallable()"); + } + + public ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + throw new UnsupportedOperationException( + "Not implemented: generateInitialChangeStreamPartitionsCallable()"); + } + + public ServerStreamingCallable + readChangeStreamCallable() { + throw new UnsupportedOperationException("Not implemented: readChangeStreamCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java new file mode 100644 index 0000000000..d820c20d8f --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java @@ -0,0 +1,597 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (bigtable.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of mutateRow to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BigtableStubSettings.Builder baseBigtableDataSettingsBuilder =
+ *     BigtableStubSettings.newBuilder();
+ * baseBigtableDataSettingsBuilder
+ *     .mutateRowSettings()
+ *     .setRetrySettings(
+ *         baseBigtableDataSettingsBuilder
+ *             .mutateRowSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableStubSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.data") + .add("https://www.googleapis.com/auth/bigtable.data.readonly") + .add("https://www.googleapis.com/auth/cloud-bigtable.data") + .add("https://www.googleapis.com/auth/cloud-bigtable.data.readonly") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final ServerStreamingCallSettings readRowsSettings; + private final ServerStreamingCallSettings + sampleRowKeysSettings; + private final UnaryCallSettings mutateRowSettings; + private final ServerStreamingCallSettings + mutateRowsSettings; + private final UnaryCallSettings + checkAndMutateRowSettings; + private final UnaryCallSettings pingAndWarmSettings; + private final UnaryCallSettings + readModifyWriteRowSettings; + private final ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings; + private final ServerStreamingCallSettings + readChangeStreamSettings; + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return readRowsSettings; + } + + /** Returns the object with the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings + sampleRowKeysSettings() { + return sampleRowKeysSettings; + } + + /** Returns the object with the settings used for calls to mutateRow. */ + public UnaryCallSettings mutateRowSettings() { + return mutateRowSettings; + } + + /** Returns the object with the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings mutateRowsSettings() { + return mutateRowsSettings; + } + + /** Returns the object with the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings + checkAndMutateRowSettings() { + return checkAndMutateRowSettings; + } + + /** Returns the object with the settings used for calls to pingAndWarm. */ + public UnaryCallSettings pingAndWarmSettings() { + return pingAndWarmSettings; + } + + /** Returns the object with the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings + readModifyWriteRowSettings() { + return readModifyWriteRowSettings; + } + + /** + * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return generateInitialChangeStreamPartitionsSettings; + } + + /** Returns the object with the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings + readChangeStreamSettings() { + return readChangeStreamSettings; + } + + public BigtableStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "bigtable"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtable.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtable.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(BigtableStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + readRowsSettings = settingsBuilder.readRowsSettings().build(); + sampleRowKeysSettings = settingsBuilder.sampleRowKeysSettings().build(); + mutateRowSettings = settingsBuilder.mutateRowSettings().build(); + mutateRowsSettings = settingsBuilder.mutateRowsSettings().build(); + checkAndMutateRowSettings = settingsBuilder.checkAndMutateRowSettings().build(); + pingAndWarmSettings = settingsBuilder.pingAndWarmSettings().build(); + readModifyWriteRowSettings = settingsBuilder.readModifyWriteRowSettings().build(); + generateInitialChangeStreamPartitionsSettings = + settingsBuilder.generateInitialChangeStreamPartitionsSettings().build(); + readChangeStreamSettings = settingsBuilder.readChangeStreamSettings().build(); + } + + /** Builder for BigtableStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final ServerStreamingCallSettings.Builder + readRowsSettings; + private final ServerStreamingCallSettings.Builder + sampleRowKeysSettings; + private final UnaryCallSettings.Builder mutateRowSettings; + private final ServerStreamingCallSettings.Builder + mutateRowsSettings; + private final UnaryCallSettings.Builder + checkAndMutateRowSettings; + private final UnaryCallSettings.Builder + pingAndWarmSettings; + private final UnaryCallSettings.Builder + readModifyWriteRowSettings; + private final ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings; + private final ServerStreamingCallSettings.Builder< + ReadChangeStreamRequest, ReadChangeStreamResponse> + readChangeStreamSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_4_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(43200000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(43200000L)) + .setTotalTimeout(Duration.ofMillis(43200000L)) + .build(); + definitions.put("no_retry_3_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(10L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_4_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("no_retry_2_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(20000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(20000L)) + .setTotalTimeout(Duration.ofMillis(20000L)) + .build(); + definitions.put("no_retry_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_5_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(43200000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(43200000L)) + .setTotalTimeout(Duration.ofMillis(43200000L)) + .build(); + definitions.put("no_retry_6_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + readRowsSettings = ServerStreamingCallSettings.newBuilder(); + sampleRowKeysSettings = ServerStreamingCallSettings.newBuilder(); + mutateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + mutateRowsSettings = ServerStreamingCallSettings.newBuilder(); + checkAndMutateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + pingAndWarmSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + readModifyWriteRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateInitialChangeStreamPartitionsSettings = ServerStreamingCallSettings.newBuilder(); + readChangeStreamSettings = ServerStreamingCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + mutateRowSettings, + checkAndMutateRowSettings, + pingAndWarmSettings, + readModifyWriteRowSettings); + initDefaults(this); + } + + protected Builder(BigtableStubSettings settings) { + super(settings); + + readRowsSettings = settings.readRowsSettings.toBuilder(); + sampleRowKeysSettings = settings.sampleRowKeysSettings.toBuilder(); + mutateRowSettings = settings.mutateRowSettings.toBuilder(); + mutateRowsSettings = settings.mutateRowsSettings.toBuilder(); + checkAndMutateRowSettings = settings.checkAndMutateRowSettings.toBuilder(); + pingAndWarmSettings = settings.pingAndWarmSettings.toBuilder(); + readModifyWriteRowSettings = settings.readModifyWriteRowSettings.toBuilder(); + generateInitialChangeStreamPartitionsSettings = + settings.generateInitialChangeStreamPartitionsSettings.toBuilder(); + readChangeStreamSettings = settings.readChangeStreamSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + mutateRowSettings, + checkAndMutateRowSettings, + pingAndWarmSettings, + readModifyWriteRowSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .readRowsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); + + builder + .sampleRowKeysSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .mutateRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_4_params")); + + builder + .mutateRowsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); + + builder + .checkAndMutateRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .pingAndWarmSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .readModifyWriteRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .generateInitialChangeStreamPartitionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params")); + + builder + .readChangeStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to readRows. */ + public ServerStreamingCallSettings.Builder + readRowsSettings() { + return readRowsSettings; + } + + /** Returns the builder for the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings.Builder + sampleRowKeysSettings() { + return sampleRowKeysSettings; + } + + /** Returns the builder for the settings used for calls to mutateRow. */ + public UnaryCallSettings.Builder mutateRowSettings() { + return mutateRowSettings; + } + + /** Returns the builder for the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings.Builder + mutateRowsSettings() { + return mutateRowsSettings; + } + + /** Returns the builder for the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings.Builder + checkAndMutateRowSettings() { + return checkAndMutateRowSettings; + } + + /** Returns the builder for the settings used for calls to pingAndWarm. */ + public UnaryCallSettings.Builder + pingAndWarmSettings() { + return pingAndWarmSettings; + } + + /** Returns the builder for the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings.Builder + readModifyWriteRowSettings() { + return readModifyWriteRowSettings; + } + + /** + * Returns the builder for the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return generateInitialChangeStreamPartitionsSettings; + } + + /** Returns the builder for the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings.Builder + readChangeStreamSettings() { + return readChangeStreamSettings; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @Override + public BigtableStubSettings build() throws IOException { + return new BigtableStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java new file mode 100644 index 0000000000..6934cd7908 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the Bigtable service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java new file mode 100644 index 0000000000..c3e664fab0 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java @@ -0,0 +1,501 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.pathtemplate.PathTemplate; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Bigtable service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableStub extends BigtableStub { + private static final MethodDescriptor + readRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadRows") + .setRequestMarshaller(ProtoUtils.marshaller(ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReadRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + sampleRowKeysMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/SampleRowKeys") + .setRequestMarshaller( + ProtoUtils.marshaller(SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(SampleRowKeysResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRow") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRows") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkAndMutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/CheckAndMutateRow") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + pingAndWarmMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/PingAndWarm") + .setRequestMarshaller(ProtoUtils.marshaller(PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(PingAndWarmResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readModifyWriteRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadModifyWriteRow") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + "google.bigtable.v2.Bigtable/GenerateInitialChangeStreamPartitions") + .setRequestMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readChangeStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadChangeStream") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadChangeStreamResponse.getDefaultInstance())) + .build(); + + private final ServerStreamingCallable readRowsCallable; + private final ServerStreamingCallable + sampleRowKeysCallable; + private final UnaryCallable mutateRowCallable; + private final ServerStreamingCallable mutateRowsCallable; + private final UnaryCallable + checkAndMutateRowCallable; + private final UnaryCallable pingAndWarmCallable; + private final UnaryCallable + readModifyWriteRowCallable; + private final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable; + private final ServerStreamingCallable + readChangeStreamCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + private static final PathTemplate READ_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate SAMPLE_ROW_KEYS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate SAMPLE_ROW_KEYS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate PING_AND_WARM_0_PATH_TEMPLATE = + PathTemplate.create("{name=projects/*/instances/*}"); + private static final PathTemplate PING_AND_WARM_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + + public static final GrpcBigtableStub create(BigtableStubSettings settings) throws IOException { + return new GrpcBigtableStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableStub create(ClientContext clientContext) throws IOException { + return new GrpcBigtableStub(BigtableStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableStub( + BigtableStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcBigtableCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub( + BigtableStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings readRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", READ_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", READ_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings sampleRowKeysTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(sampleRowKeysMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), "table_name", SAMPLE_ROW_KEYS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", SAMPLE_ROW_KEYS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkAndMutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkAndMutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings pingAndWarmTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(pingAndWarmMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getName(), "name", PING_AND_WARM_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", PING_AND_WARM_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + readModifyWriteRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readModifyWriteRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateInitialChangeStreamPartitionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + readChangeStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readChangeStreamMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + + this.readRowsCallable = + callableFactory.createServerStreamingCallable( + readRowsTransportSettings, settings.readRowsSettings(), clientContext); + this.sampleRowKeysCallable = + callableFactory.createServerStreamingCallable( + sampleRowKeysTransportSettings, settings.sampleRowKeysSettings(), clientContext); + this.mutateRowCallable = + callableFactory.createUnaryCallable( + mutateRowTransportSettings, settings.mutateRowSettings(), clientContext); + this.mutateRowsCallable = + callableFactory.createServerStreamingCallable( + mutateRowsTransportSettings, settings.mutateRowsSettings(), clientContext); + this.checkAndMutateRowCallable = + callableFactory.createUnaryCallable( + checkAndMutateRowTransportSettings, + settings.checkAndMutateRowSettings(), + clientContext); + this.pingAndWarmCallable = + callableFactory.createUnaryCallable( + pingAndWarmTransportSettings, settings.pingAndWarmSettings(), clientContext); + this.readModifyWriteRowCallable = + callableFactory.createUnaryCallable( + readModifyWriteRowTransportSettings, + settings.readModifyWriteRowSettings(), + clientContext); + this.generateInitialChangeStreamPartitionsCallable = + callableFactory.createServerStreamingCallable( + generateInitialChangeStreamPartitionsTransportSettings, + settings.generateInitialChangeStreamPartitionsSettings(), + clientContext); + this.readChangeStreamCallable = + callableFactory.createServerStreamingCallable( + readChangeStreamTransportSettings, settings.readChangeStreamSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public ServerStreamingCallable readRowsCallable() { + return readRowsCallable; + } + + @Override + public ServerStreamingCallable + sampleRowKeysCallable() { + return sampleRowKeysCallable; + } + + @Override + public UnaryCallable mutateRowCallable() { + return mutateRowCallable; + } + + @Override + public ServerStreamingCallable mutateRowsCallable() { + return mutateRowsCallable; + } + + @Override + public UnaryCallable + checkAndMutateRowCallable() { + return checkAndMutateRowCallable; + } + + @Override + public UnaryCallable pingAndWarmCallable() { + return pingAndWarmCallable; + } + + @Override + public UnaryCallable + readModifyWriteRowCallable() { + return readModifyWriteRowCallable; + } + + @Override + public ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return generateInitialChangeStreamPartitionsCallable; + } + + @Override + public ServerStreamingCallable + readChangeStreamCallable() { + return readChangeStreamCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json new file mode 100644 index 0000000000..7a72cb06c3 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json @@ -0,0 +1,3341 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$MultiClusterRoutingUseAny", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$MultiClusterRoutingUseAny$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$Priority", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$SingleClusterRouting", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$SingleClusterRouting$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$StandardIsolation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$StandardIsolation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingLimits", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingLimits$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingTargets", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingTargets$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.BackupInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.BackupInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ChangeStreamConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ChangeStreamConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterAutoscalingConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterAutoscalingConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$EncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$EncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ColumnFamily", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ColumnFamily$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Split", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Split$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DropRowRangeRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DropRowRangeRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Intersection", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Intersection$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Union", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Union$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.HotTablet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.HotTablet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Modification", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Modification$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.StorageType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState$ReplicationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$TimestampGranularity", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$View", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json new file mode 100644 index 0000000000..bf1f79e8ba --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json @@ -0,0 +1,2387 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingParameter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingParameter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Cell", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Cell$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Column", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Column$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ColumnRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ColumnRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Family", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Family$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FeatureFlags", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FeatureFlags$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FullReadStatsView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FullReadStatsView$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Entry", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Entry$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Entry", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Entry$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromColumn", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromColumn$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromFamily", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromFamily$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromRow", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromRow$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$SetCell", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$SetCell$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RateLimitInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RateLimitInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$CloseStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$CloseStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Heartbeat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Heartbeat$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$ChunkInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$ChunkInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadIterationStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadIterationStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest$RequestStatsView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$CellChunk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$CellChunk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestLatencyStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestLatencyStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ResponseParams", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ResponseParams$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Row", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Row$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Chain", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Chain$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Condition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Condition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Interleave", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Interleave$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationToken", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationToken$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationTokens", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationTokens$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamPartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamPartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.TimestampRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.TimestampRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ValueRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ValueRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java new file mode 100644 index 0000000000..777f0f7cbd --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java @@ -0,0 +1,1782 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.AppProfileName; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.LocationName; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.ProjectName; +import com.google.bigtable.admin.v2.StorageType; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminClientTest { + private static MockBigtableInstanceAdmin mockBigtableInstanceAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableInstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableInstanceAdmin = new MockBigtableInstanceAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockBigtableInstanceAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableInstanceAdminSettings settings = + BaseBigtableInstanceAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableInstanceAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest2() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + + Instance actualResponse = client.updateInstance(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Instance actualRequest = ((Instance) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getDisplayName(), actualRequest.getDisplayName()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getType(), actualRequest.getType()); + Assert.assertEquals(request.getLabelsMap(), actualRequest.getLabelsMap()); + Assert.assertEquals(request.getCreateTime(), actualRequest.getCreateTime()); + Assert.assertEquals(request.getSatisfiesPzs(), actualRequest.getSatisfiesPzs()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + client.updateInstance(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partialUpdateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateInstanceRequest actualRequest = + ((PartialUpdateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest2() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + + Cluster actualResponse = client.updateClusterAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Cluster actualRequest = ((Cluster) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getLocation(), actualRequest.getLocation()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getServeNodes(), actualRequest.getServeNodes()); + Assert.assertEquals(request.getClusterConfig(), actualRequest.getClusterConfig()); + Assert.assertEquals(request.getDefaultStorageType(), actualRequest.getDefaultStorageType()); + Assert.assertEquals(request.getEncryptionConfig(), actualRequest.getEncryptionConfig()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + client.updateClusterAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void partialUpdateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Cluster actualResponse = client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateClusterRequest actualRequest = + ((PartialUpdateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteClusterTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteClusterTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest2() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAppProfileTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AppProfile actualResponse = client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateAppProfileRequest actualRequest = ((UpdateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteAppProfileTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAppProfileTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest2() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java new file mode 100644 index 0000000000..cdbac53200 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -0,0 +1,2633 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BackupName; +import com.google.bigtable.admin.v2.ChangeStreamConfig; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.ColumnFamily; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.EncryptionInfo; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreInfo; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotName; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.TableName; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminClientTest { + private static MockBigtableTableAdmin mockBigtableTableAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableTableAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableTableAdmin = new MockBigtableTableAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtableTableAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableTableAdminSettings settings = + BaseBigtableTableAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableTableAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableFromSnapshotTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest3() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest4() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void listTablesTest() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTablesTest2() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Table actualResponse = client.updateTableAsync(table, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateTableRequest actualRequest = ((UpdateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateTableAsync(table, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteTableTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTableTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void undeleteTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.undeleteTableAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void undeleteTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.undeleteTableAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void modifyColumnFamiliesTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void modifyColumnFamiliesTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropRowRangeTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + + client.dropRowRange(request); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropRowRangeRequest actualRequest = ((DropRowRangeRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRowKeyPrefix(), actualRequest.getRowKeyPrefix()); + Assert.assertEquals( + request.getDeleteAllDataFromTable(), actualRequest.getDeleteAllDataFromTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropRowRangeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + client.dropRowRange(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest2() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest2() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void snapshotTableTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest3() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest4() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getSnapshotTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSnapshotTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest2() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + + Backup actualResponse = client.createBackupAsync(parent, backupId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + client.createBackupAsync(parent, backupId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + + Backup actualResponse = client.createBackupAsync(parent, backupId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + client.createBackupAsync(parent, backupId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateBackupRequest actualRequest = ((UpdateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateBackup(backup, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteBackup(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest2() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + + Table actualResponse = client.restoreTableAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreTableRequest actualRequest = ((RestoreTableRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getTableId(), actualRequest.getTableId()); + Assert.assertEquals(request.getBackup(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + client.restoreTableAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest2() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest3() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup.toString(), actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + BackupName sourceBackup = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest4() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .setSourceBackup("sourceBackup823134653") + .setExpireTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setSizeBytes(-1796325715) + .setEncryptionInfo(EncryptionInfo.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + + Backup actualResponse = + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyBackupRequest actualRequest = ((CopyBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(sourceBackup, actualRequest.getSourceBackup()); + Assert.assertEquals(expireTime, actualRequest.getExpireTime()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyBackupExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + String sourceBackup = "sourceBackup823134653"; + Timestamp expireTime = Timestamp.newBuilder().build(); + client.copyBackupAsync(parent, backupId, sourceBackup, expireTime).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java new file mode 100644 index 0000000000..ffefe14a16 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdmin implements MockGrpcService { + private final MockBigtableInstanceAdminImpl serviceImpl; + + public MockBigtableInstanceAdmin() { + serviceImpl = new MockBigtableInstanceAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java new file mode 100644 index 0000000000..4a7e35e96a --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java @@ -0,0 +1,525 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.BigtableInstanceAdminGrpc.BigtableInstanceAdminImplBase; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdminImpl extends BigtableInstanceAdminImplBase { + private List requests; + private Queue responses; + + public MockBigtableInstanceAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createInstance( + CreateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstance(GetInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstances( + ListInstancesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancesResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstances, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstance(Instance request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateInstance( + PartialUpdateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartialUpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstance( + DeleteInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createCluster( + CreateClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getCluster(GetClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Cluster) { + requests.add(request); + responseObserver.onNext(((Cluster) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Cluster.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listClusters( + ListClustersRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListClustersResponse) { + requests.add(request); + responseObserver.onNext(((ListClustersResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListClusters, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListClustersResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateCluster(Cluster request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateCluster( + PartialUpdateClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartialUpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteCluster(DeleteClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createAppProfile( + CreateAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getAppProfile( + GetAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listAppProfiles( + ListAppProfilesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListAppProfilesResponse) { + requests.add(request); + responseObserver.onNext(((ListAppProfilesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListAppProfiles, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListAppProfilesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateAppProfile( + UpdateAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteAppProfile( + DeleteAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listHotTablets( + ListHotTabletsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListHotTabletsResponse) { + requests.add(request); + responseObserver.onNext(((ListHotTabletsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListHotTablets, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListHotTabletsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java new file mode 100644 index 0000000000..2b48974975 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableTableAdmin implements MockGrpcService { + private final MockBigtableTableAdminImpl serviceImpl; + + public MockBigtableTableAdmin() { + serviceImpl = new MockBigtableTableAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java new file mode 100644 index 0000000000..a315e72ccf --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java @@ -0,0 +1,612 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BigtableTableAdminGrpc.BigtableTableAdminImplBase; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CopyBackupRequest; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableTableAdminImpl extends BigtableTableAdminImplBase { + private List requests; + private Queue responses; + + public MockBigtableTableAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createTable(CreateTableRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createTableFromSnapshot( + CreateTableFromSnapshotRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateTableFromSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listTables( + ListTablesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListTablesResponse) { + requests.add(request); + responseObserver.onNext(((ListTablesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListTables, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListTablesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getTable(GetTableRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateTable(UpdateTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteTable(DeleteTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void undeleteTable( + UndeleteTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UndeleteTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void modifyColumnFamilies( + ModifyColumnFamiliesRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ModifyColumnFamilies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void dropRowRange(DropRowRangeRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DropRowRange, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateConsistencyToken( + GenerateConsistencyTokenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateConsistencyTokenResponse) { + requests.add(request); + responseObserver.onNext(((GenerateConsistencyTokenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateConsistencyToken, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateConsistencyTokenResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void checkConsistency( + CheckConsistencyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckConsistencyResponse) { + requests.add(request); + responseObserver.onNext(((CheckConsistencyResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CheckConsistency, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckConsistencyResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void snapshotTable( + SnapshotTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SnapshotTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getSnapshot(GetSnapshotRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Snapshot) { + requests.add(request); + responseObserver.onNext(((Snapshot) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Snapshot.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listSnapshots( + ListSnapshotsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListSnapshotsResponse) { + requests.add(request); + responseObserver.onNext(((ListSnapshotsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListSnapshots, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListSnapshotsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteSnapshot( + DeleteSnapshotRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createBackup( + CreateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getBackup(GetBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateBackup(UpdateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteBackup(DeleteBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBackups( + ListBackupsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBackupsResponse) { + requests.add(request); + responseObserver.onNext(((ListBackupsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBackups, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBackupsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void restoreTable( + RestoreTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RestoreTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void copyBackup(CopyBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CopyBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java new file mode 100644 index 0000000000..9be4d6eeb5 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -0,0 +1,1084 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StatusCode; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.RateLimitInfo; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RequestStats; +import com.google.bigtable.v2.Row; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.RowSet; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.StreamPartition; +import com.google.bigtable.v2.TableName; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableDataClientTest { + private static MockBigtable mockBigtable; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableDataClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtable = new MockBigtable(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtable)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableDataSettings settings = + BaseBigtableDataSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableDataClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void readRowsTest() throws Exception { + ReadRowsResponse expectedResponse = + ReadRowsResponse.newBuilder() + .addAllChunks(new ArrayList()) + .setLastScannedRowKey(ByteString.EMPTY) + .setRequestStats(RequestStats.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void sampleRowKeysTest() throws Exception { + SampleRowKeysResponse expectedResponse = + SampleRowKeysResponse.newBuilder() + .setRowKey(ByteString.EMPTY) + .setOffsetBytes(889884095) + .build(); + mockBigtable.addResponse(expectedResponse); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void sampleRowKeysExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void mutateRowTest() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest2() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest3() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest4() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowsTest() throws Exception { + MutateRowsResponse expectedResponse = + MutateRowsResponse.newBuilder() + .addAllEntries(new ArrayList()) + .setRateLimitInfo(RateLimitInfo.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void mutateRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void checkAndMutateRowTest() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest2() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest3() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest4() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest2() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest3() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest4() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest2() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest3() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest4() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateInitialChangeStreamPartitionsTest() throws Exception { + GenerateInitialChangeStreamPartitionsResponse expectedResponse = + GenerateInitialChangeStreamPartitionsResponse.newBuilder() + .setPartition(StreamPartition.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = + responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void generateInitialChangeStreamPartitionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = + responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void readChangeStreamTest() throws Exception { + ReadChangeStreamResponse expectedResponse = ReadChangeStreamResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readChangeStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java new file mode 100644 index 0000000000..540dbbcfd2 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtable implements MockGrpcService { + private final MockBigtableImpl serviceImpl; + + public MockBigtable() { + serviceImpl = new MockBigtableImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java new file mode 100644 index 0000000000..4086917ee7 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -0,0 +1,269 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.v2.BigtableGrpc.BigtableImplBase; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableImpl extends BigtableImplBase { + private List requests; + private Queue responses; + + public MockBigtableImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void readRows(ReadRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadRowsResponse) { + requests.add(request); + responseObserver.onNext(((ReadRowsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void sampleRowKeys( + SampleRowKeysRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SampleRowKeysResponse) { + requests.add(request); + responseObserver.onNext(((SampleRowKeysResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SampleRowKeys, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SampleRowKeysResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRow( + MutateRowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRows( + MutateRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowsResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MutateRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void checkAndMutateRow( + CheckAndMutateRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckAndMutateRowResponse) { + requests.add(request); + responseObserver.onNext(((CheckAndMutateRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CheckAndMutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckAndMutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void pingAndWarm( + PingAndWarmRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PingAndWarmResponse) { + requests.add(request); + responseObserver.onNext(((PingAndWarmResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PingAndWarm, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PingAndWarmResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readModifyWriteRow( + ReadModifyWriteRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadModifyWriteRowResponse) { + requests.add(request); + responseObserver.onNext(((ReadModifyWriteRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadModifyWriteRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadModifyWriteRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateInitialChangeStreamPartitions( + GenerateInitialChangeStreamPartitionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateInitialChangeStreamPartitionsResponse) { + requests.add(request); + responseObserver.onNext(((GenerateInitialChangeStreamPartitionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateInitialChangeStreamPartitions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateInitialChangeStreamPartitionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readChangeStream( + ReadChangeStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadChangeStreamResponse) { + requests.add(request); + responseObserver.onNext(((ReadChangeStreamResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadChangeStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadChangeStreamResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java new file mode 100644 index 0000000000..c7232c4daf --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -0,0 +1,2167 @@ +package com.google.bigtable.admin.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+ * Clusters. Provides access to the Instance and Cluster schemas only, not the
+ * tables' metadata or data stored in those tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableInstanceAdminGrpc { + + private BigtableInstanceAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.bigtable.admin.v2.BigtableInstanceAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, + responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + BigtableInstanceAdminGrpc.getListInstancesMethod = getListInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.bigtable.admin.v2.Instance.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", + requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateInstanceMethod() { + io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = getPartialUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateInstance")) + .build(); + } + } + } + return getPartialUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, + responseType = com.google.bigtable.admin.v2.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + BigtableInstanceAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, + responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + BigtableInstanceAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.bigtable.admin.v2.Cluster.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", + requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateClusterMethod() { + io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = getPartialUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) + .build(); + } + } + } + return getPartialUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", + requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAppProfileMethod() { + io.grpc.MethodDescriptor getCreateAppProfileMethod; + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getCreateAppProfileMethod = getCreateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) + .build(); + } + } + } + return getCreateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", + requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAppProfileMethod() { + io.grpc.MethodDescriptor getGetAppProfileMethod; + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getGetAppProfileMethod = getGetAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) + .build(); + } + } + } + return getGetAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAppProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", + requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, + responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAppProfilesMethod() { + io.grpc.MethodDescriptor getListAppProfilesMethod; + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + BigtableInstanceAdminGrpc.getListAppProfilesMethod = getListAppProfilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) + .build(); + } + } + } + return getListAppProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", + requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAppProfileMethod() { + io.grpc.MethodDescriptor getUpdateAppProfileMethod; + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = getUpdateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) + .build(); + } + } + } + return getUpdateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", + requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAppProfileMethod() { + io.grpc.MethodDescriptor getDeleteAppProfileMethod; + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = getDeleteAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) + .build(); + } + } + } + return getDeleteAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + BigtableInstanceAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListHotTabletsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", + requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, + responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListHotTabletsMethod() { + io.grpc.MethodDescriptor getListHotTabletsMethod; + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + BigtableInstanceAdminGrpc.getListHotTabletsMethod = getListHotTabletsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) + .build(); + } + } + } + return getListHotTabletsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + }; + return BigtableInstanceAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableInstanceAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + }; + return BigtableInstanceAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableInstanceAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + }; + return BigtableInstanceAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + default void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + default void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + default void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + default void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + default void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + default void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + default void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + default void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + default void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + default void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + default void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + default void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAppProfileMethod(), responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + default void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAppProfilesMethod(), responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + default void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + default void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + default void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static abstract class BigtableInstanceAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableInstanceAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableInstanceAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableInstanceAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListInstancesResponse listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance updateInstance(com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.protobuf.Empty deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.bigtable.admin.v2.Cluster getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListClustersResponse listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAppProfilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.longrunning.Operation updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListHotTabletsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableInstanceAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_GET_INSTANCE = 1; + private static final int METHODID_LIST_INSTANCES = 2; + private static final int METHODID_UPDATE_INSTANCE = 3; + private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; + private static final int METHODID_DELETE_INSTANCE = 5; + private static final int METHODID_CREATE_CLUSTER = 6; + private static final int METHODID_GET_CLUSTER = 7; + private static final int METHODID_LIST_CLUSTERS = 8; + private static final int METHODID_UPDATE_CLUSTER = 9; + private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; + private static final int METHODID_DELETE_CLUSTER = 11; + private static final int METHODID_CREATE_APP_PROFILE = 12; + private static final int METHODID_GET_APP_PROFILE = 13; + private static final int METHODID_LIST_APP_PROFILES = 14; + private static final int METHODID_UPDATE_APP_PROFILE = 15; + private static final int METHODID_DELETE_APP_PROFILE = 16; + private static final int METHODID_GET_IAM_POLICY = 17; + private static final int METHODID_SET_IAM_POLICY = 18; + private static final int METHODID_TEST_IAM_PERMISSIONS = 19; + private static final int METHODID_LIST_HOT_TABLETS = 20; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.bigtable.admin.v2.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.bigtable.admin.v2.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.bigtable.admin.v2.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.bigtable.admin.v2.Instance) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_INSTANCE: + serviceImpl.partialUpdateInstance((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.bigtable.admin.v2.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.bigtable.admin.v2.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.bigtable.admin.v2.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.bigtable.admin.v2.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.bigtable.admin.v2.Cluster) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_CLUSTER: + serviceImpl.partialUpdateCluster((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.bigtable.admin.v2.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_APP_PROFILE: + serviceImpl.createAppProfile((com.google.bigtable.admin.v2.CreateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_APP_PROFILE: + serviceImpl.getAppProfile((com.google.bigtable.admin.v2.GetAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_APP_PROFILES: + serviceImpl.listAppProfiles((com.google.bigtable.admin.v2.ListAppProfilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_APP_PROFILE: + serviceImpl.updateAppProfile((com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_APP_PROFILE: + serviceImpl.deleteAppProfile((com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_HOT_TABLETS: + serviceImpl.listHotTablets((com.google.bigtable.admin.v2.ListHotTabletsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_CREATE_APP_PROFILE))) + .addMethod( + getGetAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_GET_APP_PROFILE))) + .addMethod( + getListAppProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse>( + service, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getListHotTabletsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse>( + service, METHODID_LIST_HOT_TABLETS))) + .build(); + } + + private static abstract class BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableInstanceAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); + } + } + + private static final class BigtableInstanceAdminFileDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier { + BigtableInstanceAdminFileDescriptorSupplier() {} + } + + private static final class BigtableInstanceAdminMethodDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigtableInstanceAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableInstanceAdminFileDescriptorSupplier()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getPartialUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getListClustersMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getPartialUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getCreateAppProfileMethod()) + .addMethod(getGetAppProfileMethod()) + .addMethod(getListAppProfilesMethod()) + .addMethod(getUpdateAppProfileMethod()) + .addMethod(getDeleteAppProfileMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getListHotTabletsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java similarity index 50% rename from grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java rename to owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index 7802d53114..80c64bd680 100644 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.bigtable.admin.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Service for creating, configuring, and deleting Cloud Bigtable tables.
  * Provides access to the table schemas only, not the data stored within
@@ -37,1146 +20,826 @@ private BigtableTableAdminGrpc() {}
   public static final java.lang.String SERVICE_NAME = "google.bigtable.admin.v2.BigtableTableAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
-      getCreateTableMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTable",
       requestType = com.google.bigtable.admin.v2.CreateTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
-      getCreateTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
-        getCreateTableMethod;
+  public static io.grpc.MethodDescriptor getCreateTableMethod() {
+    io.grpc.MethodDescriptor getCreateTableMethod;
     if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
-          BigtableTableAdminGrpc.getCreateTableMethod =
-              getCreateTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
-                      .build();
+          BigtableTableAdminGrpc.getCreateTableMethod = getCreateTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
+              .build();
         }
       }
     }
     return getCreateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-          com.google.longrunning.Operation>
-      getCreateTableFromSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTableFromSnapshot",
       requestType = com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-          com.google.longrunning.Operation>
-      getCreateTableFromSnapshotMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.longrunning.Operation>
-        getCreateTableFromSnapshotMethod;
-    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod() {
+    io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
+    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCreateTableFromSnapshotMethod =
-                BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
-            == null) {
-          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod =
-              getCreateTableFromSnapshotMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
-                      .build();
+        if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
+          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod = getCreateTableFromSnapshotMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
+              .build();
         }
       }
     }
     return getCreateTableFromSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListTablesRequest,
-          com.google.bigtable.admin.v2.ListTablesResponse>
-      getListTablesMethod;
+  private static volatile io.grpc.MethodDescriptor getListTablesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTables",
       requestType = com.google.bigtable.admin.v2.ListTablesRequest.class,
       responseType = com.google.bigtable.admin.v2.ListTablesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListTablesRequest,
-          com.google.bigtable.admin.v2.ListTablesResponse>
-      getListTablesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.ListTablesRequest,
-            com.google.bigtable.admin.v2.ListTablesResponse>
-        getListTablesMethod;
+  public static io.grpc.MethodDescriptor getListTablesMethod() {
+    io.grpc.MethodDescriptor getListTablesMethod;
     if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
-          BigtableTableAdminGrpc.getListTablesMethod =
-              getListTablesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
-                      .build();
+          BigtableTableAdminGrpc.getListTablesMethod = getListTablesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
+              .build();
         }
       }
     }
     return getListTablesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
-      getGetTableMethod;
+  private static volatile io.grpc.MethodDescriptor getGetTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTable",
       requestType = com.google.bigtable.admin.v2.GetTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
-      getGetTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
-        getGetTableMethod;
+  public static io.grpc.MethodDescriptor getGetTableMethod() {
+    io.grpc.MethodDescriptor getGetTableMethod;
     if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
-          BigtableTableAdminGrpc.getGetTableMethod =
-              getGetTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
-                      .build();
+          BigtableTableAdminGrpc.getGetTableMethod = getGetTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
+              .build();
         }
       }
     }
     return getGetTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
-      getUpdateTableMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTable",
       requestType = com.google.bigtable.admin.v2.UpdateTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
-      getUpdateTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
-        getUpdateTableMethod;
+  public static io.grpc.MethodDescriptor getUpdateTableMethod() {
+    io.grpc.MethodDescriptor getUpdateTableMethod;
     if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateTableMethod =
-              getUpdateTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
-                      .build();
+          BigtableTableAdminGrpc.getUpdateTableMethod = getUpdateTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
+              .build();
         }
       }
     }
     return getUpdateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
-      getDeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTable",
       requestType = com.google.bigtable.admin.v2.DeleteTableRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
-      getDeleteTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
-        getDeleteTableMethod;
+  public static io.grpc.MethodDescriptor getDeleteTableMethod() {
+    io.grpc.MethodDescriptor getDeleteTableMethod;
     if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteTableMethod =
-              getDeleteTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
-                      .build();
+          BigtableTableAdminGrpc.getDeleteTableMethod = getDeleteTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
+              .build();
         }
       }
     }
     return getDeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
-      getUndeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor getUndeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UndeleteTable",
       requestType = com.google.bigtable.admin.v2.UndeleteTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
-      getUndeleteTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
-        getUndeleteTableMethod;
+  public static io.grpc.MethodDescriptor getUndeleteTableMethod() {
+    io.grpc.MethodDescriptor getUndeleteTableMethod;
     if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getUndeleteTableMethod =
-              getUndeleteTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.UndeleteTableRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
-                      .build();
+          BigtableTableAdminGrpc.getUndeleteTableMethod = getUndeleteTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
+              .build();
         }
       }
     }
     return getUndeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
-          com.google.bigtable.admin.v2.Table>
-      getModifyColumnFamiliesMethod;
+  private static volatile io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyColumnFamilies",
       requestType = com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
-          com.google.bigtable.admin.v2.Table>
-      getModifyColumnFamiliesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
-            com.google.bigtable.admin.v2.Table>
-        getModifyColumnFamiliesMethod;
-    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getModifyColumnFamiliesMethod() {
+    io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
+    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
-            == null) {
-          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod =
-              getModifyColumnFamiliesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
-                      .build();
+        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
+          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod = getModifyColumnFamiliesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
+              .build();
         }
       }
     }
     return getModifyColumnFamiliesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
-      getDropRowRangeMethod;
+  private static volatile io.grpc.MethodDescriptor getDropRowRangeMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropRowRange",
       requestType = com.google.bigtable.admin.v2.DropRowRangeRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
-      getDropRowRangeMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
-        getDropRowRangeMethod;
+  public static io.grpc.MethodDescriptor getDropRowRangeMethod() {
+    io.grpc.MethodDescriptor getDropRowRangeMethod;
     if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
-          BigtableTableAdminGrpc.getDropRowRangeMethod =
-              getDropRowRangeMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.DropRowRangeRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
-                      .build();
+          BigtableTableAdminGrpc.getDropRowRangeMethod = getDropRowRangeMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
+              .build();
         }
       }
     }
     return getDropRowRangeMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
-          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
-      getGenerateConsistencyTokenMethod;
+  private static volatile io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GenerateConsistencyToken",
       requestType = com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
       responseType = com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
-          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
-      getGenerateConsistencyTokenMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
-        getGenerateConsistencyTokenMethod;
-    if ((getGenerateConsistencyTokenMethod =
-            BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod() {
+    io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
+    if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getGenerateConsistencyTokenMethod =
-                BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
-            == null) {
-          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod =
-              getGenerateConsistencyTokenMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier(
-                              "GenerateConsistencyToken"))
-                      .build();
+        if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
+          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod = getGenerateConsistencyTokenMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GenerateConsistencyToken"))
+              .build();
         }
       }
     }
     return getGenerateConsistencyTokenMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CheckConsistencyRequest,
-          com.google.bigtable.admin.v2.CheckConsistencyResponse>
-      getCheckConsistencyMethod;
+  private static volatile io.grpc.MethodDescriptor getCheckConsistencyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CheckConsistency",
       requestType = com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
       responseType = com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CheckConsistencyRequest,
-          com.google.bigtable.admin.v2.CheckConsistencyResponse>
-      getCheckConsistencyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.CheckConsistencyRequest,
-            com.google.bigtable.admin.v2.CheckConsistencyResponse>
-        getCheckConsistencyMethod;
+  public static io.grpc.MethodDescriptor getCheckConsistencyMethod() {
+    io.grpc.MethodDescriptor getCheckConsistencyMethod;
     if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod)
-            == null) {
-          BigtableTableAdminGrpc.getCheckConsistencyMethod =
-              getCheckConsistencyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CheckConsistencyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CheckConsistencyResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
-                      .build();
+        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
+          BigtableTableAdminGrpc.getCheckConsistencyMethod = getCheckConsistencyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
+              .build();
         }
       }
     }
     return getCheckConsistencyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
-      getSnapshotTableMethod;
+  private static volatile io.grpc.MethodDescriptor getSnapshotTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SnapshotTable",
       requestType = com.google.bigtable.admin.v2.SnapshotTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
-      getSnapshotTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
-        getSnapshotTableMethod;
+  public static io.grpc.MethodDescriptor getSnapshotTableMethod() {
+    io.grpc.MethodDescriptor getSnapshotTableMethod;
     if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
-          BigtableTableAdminGrpc.getSnapshotTableMethod =
-              getSnapshotTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.SnapshotTableRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
-                      .build();
+          BigtableTableAdminGrpc.getSnapshotTableMethod = getSnapshotTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
+              .build();
         }
       }
     }
     return getSnapshotTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
-      getGetSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor getGetSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSnapshot",
       requestType = com.google.bigtable.admin.v2.GetSnapshotRequest.class,
       responseType = com.google.bigtable.admin.v2.Snapshot.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
-      getGetSnapshotMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
-        getGetSnapshotMethod;
+  public static io.grpc.MethodDescriptor getGetSnapshotMethod() {
+    io.grpc.MethodDescriptor getGetSnapshotMethod;
     if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getGetSnapshotMethod =
-              getGetSnapshotMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
-                      .build();
+          BigtableTableAdminGrpc.getGetSnapshotMethod = getGetSnapshotMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
+              .build();
         }
       }
     }
     return getGetSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListSnapshotsRequest,
-          com.google.bigtable.admin.v2.ListSnapshotsResponse>
-      getListSnapshotsMethod;
+  private static volatile io.grpc.MethodDescriptor getListSnapshotsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSnapshots",
       requestType = com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListSnapshotsRequest,
-          com.google.bigtable.admin.v2.ListSnapshotsResponse>
-      getListSnapshotsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.ListSnapshotsRequest,
-            com.google.bigtable.admin.v2.ListSnapshotsResponse>
-        getListSnapshotsMethod;
+  public static io.grpc.MethodDescriptor getListSnapshotsMethod() {
+    io.grpc.MethodDescriptor getListSnapshotsMethod;
     if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
-          BigtableTableAdminGrpc.getListSnapshotsMethod =
-              getListSnapshotsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListSnapshotsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListSnapshotsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
-                      .build();
+          BigtableTableAdminGrpc.getListSnapshotsMethod = getListSnapshotsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
+              .build();
         }
       }
     }
     return getListSnapshotsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
-      getDeleteSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSnapshot",
       requestType = com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
-      getDeleteSnapshotMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
-        getDeleteSnapshotMethod;
+  public static io.grpc.MethodDescriptor getDeleteSnapshotMethod() {
+    io.grpc.MethodDescriptor getDeleteSnapshotMethod;
     if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteSnapshotMethod =
-              getDeleteSnapshotMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.DeleteSnapshotRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
-                      .build();
+          BigtableTableAdminGrpc.getDeleteSnapshotMethod = getDeleteSnapshotMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
+              .build();
         }
       }
     }
     return getDeleteSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
-      getCreateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateBackup",
       requestType = com.google.bigtable.admin.v2.CreateBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
-      getCreateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
-        getCreateBackupMethod;
+  public static io.grpc.MethodDescriptor getCreateBackupMethod() {
+    io.grpc.MethodDescriptor getCreateBackupMethod;
     if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getCreateBackupMethod =
-              getCreateBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CreateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
-                      .build();
+          BigtableTableAdminGrpc.getCreateBackupMethod = getCreateBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
+              .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
-      getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.bigtable.admin.v2.GetBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
-      getGetBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
-        getGetBackupMethod;
+  public static io.grpc.MethodDescriptor getGetBackupMethod() {
+    io.grpc.MethodDescriptor getGetBackupMethod;
     if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
-          BigtableTableAdminGrpc.getGetBackupMethod =
-              getGetBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
-                      .build();
+          BigtableTableAdminGrpc.getGetBackupMethod = getGetBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
+              .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
-      getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.bigtable.admin.v2.UpdateBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
-      getUpdateBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
-        getUpdateBackupMethod;
+  public static io.grpc.MethodDescriptor getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor getUpdateBackupMethod;
     if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateBackupMethod =
-              getUpdateBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.UpdateBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
-                      .build();
+          BigtableTableAdminGrpc.getUpdateBackupMethod = getUpdateBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
+              .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
-      getDeleteBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteBackup",
       requestType = com.google.bigtable.admin.v2.DeleteBackupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
-      getDeleteBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
-        getDeleteBackupMethod;
+  public static io.grpc.MethodDescriptor getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor getDeleteBackupMethod;
     if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteBackupMethod =
-              getDeleteBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.DeleteBackupRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
-                      .build();
+          BigtableTableAdminGrpc.getDeleteBackupMethod = getDeleteBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
+              .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListBackupsRequest,
-          com.google.bigtable.admin.v2.ListBackupsResponse>
-      getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.bigtable.admin.v2.ListBackupsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListBackupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.ListBackupsRequest,
-          com.google.bigtable.admin.v2.ListBackupsResponse>
-      getListBackupsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.ListBackupsRequest,
-            com.google.bigtable.admin.v2.ListBackupsResponse>
-        getListBackupsMethod;
+  public static io.grpc.MethodDescriptor getListBackupsMethod() {
+    io.grpc.MethodDescriptor getListBackupsMethod;
     if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
-          BigtableTableAdminGrpc.getListBackupsMethod =
-              getListBackupsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.ListBackupsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
-                      .build();
+          BigtableTableAdminGrpc.getListBackupsMethod = getListBackupsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
+              .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
-      getRestoreTableMethod;
+  private static volatile io.grpc.MethodDescriptor getRestoreTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreTable",
       requestType = com.google.bigtable.admin.v2.RestoreTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
-      getRestoreTableMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
-        getRestoreTableMethod;
+  public static io.grpc.MethodDescriptor getRestoreTableMethod() {
+    io.grpc.MethodDescriptor getRestoreTableMethod;
     if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
-          BigtableTableAdminGrpc.getRestoreTableMethod =
-              getRestoreTableMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.RestoreTableRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
-                      .build();
+          BigtableTableAdminGrpc.getRestoreTableMethod = getRestoreTableMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
+              .build();
         }
       }
     }
     return getRestoreTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod;
+  private static volatile io.grpc.MethodDescriptor getCopyBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CopyBackup",
       requestType = com.google.bigtable.admin.v2.CopyBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation>
-      getCopyBackupMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation>
-        getCopyBackupMethod;
+  public static io.grpc.MethodDescriptor getCopyBackupMethod() {
+    io.grpc.MethodDescriptor getCopyBackupMethod;
     if ((getCopyBackupMethod = BigtableTableAdminGrpc.getCopyBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCopyBackupMethod = BigtableTableAdminGrpc.getCopyBackupMethod) == null) {
-          BigtableTableAdminGrpc.getCopyBackupMethod =
-              getCopyBackupMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.bigtable.admin.v2.CopyBackupRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("CopyBackup"))
-                      .build();
+          BigtableTableAdminGrpc.getCopyBackupMethod = getCopyBackupMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyBackup"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.bigtable.admin.v2.CopyBackupRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CopyBackup"))
+              .build();
         }
       }
     }
     return getCopyBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getGetIamPolicyMethod =
-              getGetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          BigtableTableAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getSetIamPolicyMethod =
-              getSetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          BigtableTableAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.iam.v1.TestIamPermissionsRequest,
-            com.google.iam.v1.TestIamPermissionsResponse>
-        getTestIamPermissionsMethod;
-    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
-            == null) {
-          BigtableTableAdminGrpc.getTestIamPermissionsMethod =
-              getTestIamPermissionsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
-                      .build();
+        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
+          BigtableTableAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static BigtableTableAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigtableTableAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigtableTableAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigtableTableAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigtableTableAdminStub(channel, callOptions);
+        }
+      };
     return BigtableTableAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigtableTableAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static BigtableTableAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigtableTableAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigtableTableAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigtableTableAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigtableTableAdminBlockingStub(channel, callOptions);
+        }
+      };
     return BigtableTableAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static BigtableTableAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static BigtableTableAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigtableTableAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigtableTableAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigtableTableAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigtableTableAdminFutureStub(channel, callOptions);
+        }
+      };
     return BigtableTableAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1186,24 +849,18 @@ public BigtableTableAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - default void createTable( - com.google.bigtable.admin.v2.CreateTableRequest request, + default void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), responseObserver); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1214,85 +871,62 @@ default void createTable(
      * policy.
      * 
*/ - default void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + default void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableFromSnapshotMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - default void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - default void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, + default void getTable(com.google.bigtable.admin.v2.GetTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); } /** - * - * *
      * Updates a specified table.
      * 
*/ - default void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, + default void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - default void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, + default void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - default void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, + default void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeleteTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteTableMethod(), responseObserver); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1300,32 +934,24 @@ default void undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - default void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + default void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getModifyColumnFamiliesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - default void dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request, + default void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDropRowRangeMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRowRangeMethod(), responseObserver); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1333,34 +959,24 @@ default void dropRowRange(
      * for 90 days.
      * 
*/ - default void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateConsistencyTokenMethod(), responseObserver); + default void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - default void checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckConsistencyMethod(), responseObserver); + default void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1371,16 +987,12 @@ default void checkConsistency(
      * policy.
      * 
*/ - default void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, + default void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSnapshotTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSnapshotTableMethod(), responseObserver); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1390,16 +1002,12 @@ default void snapshotTable(
      * policy.
      * 
*/ - default void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, + default void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSnapshotMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSnapshotMethod(), responseObserver); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1409,17 +1017,12 @@ default void getSnapshot(
      * policy.
      * 
*/ - default void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSnapshotsMethod(), responseObserver); + default void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSnapshotsMethod(), responseObserver); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1429,16 +1032,12 @@ default void listSnapshots(
      * policy.
      * 
*/ - default void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + default void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSnapshotMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSnapshotMethod(), responseObserver); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1450,73 +1049,53 @@ default void deleteSnapshot(
      * returned operation will stop the creation and delete the backup.
      * 
*/ - default void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, + default void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, + default void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, + default void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - default void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, + default void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - default void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); + default void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); } /** - * - * *
      * Create a new table by restoring from a completed backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
@@ -1527,96 +1106,75 @@ default void listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - default void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, + default void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreTableMethod(), responseObserver); } /** - * - * *
      * Copy a Cloud Bigtable backup to a new backup in the destination cluster
      * located in the destination instance and project.
      * 
*/ - default void copyBackup( - com.google.bigtable.admin.v2.CopyBackupRequest request, + default void copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); } /** - * - * *
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup
      * resource.
      * 
*/ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public abstract static class BigtableTableAdminImplBase + public static abstract class BigtableTableAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigtableTableAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1625,7 +1183,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigtableTableAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigtableTableAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1636,26 +1195,19 @@ protected BigtableTableAdminStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public void createTable( - com.google.bigtable.admin.v2.CreateTableRequest request, + public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1666,95 +1218,68 @@ public void createTable(
      * policy.
      * 
*/ - public void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + public void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - public void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, + public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a specified table.
      * 
*/ - public void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, + public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, + public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, + public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1762,36 +1287,26 @@ public void undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - public void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + public void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public void dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request, + public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1799,38 +1314,26 @@ public void dropRowRange(
      * for 90 days.
      * 
*/ - public void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public void checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1841,18 +1344,13 @@ public void checkConsistency(
      * policy.
      * 
*/ - public void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, + public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1862,18 +1360,13 @@ public void snapshotTable(
      * policy.
      * 
*/ - public void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, + public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1883,19 +1376,13 @@ public void getSnapshot(
      * policy.
      * 
*/ - public void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1905,18 +1392,13 @@ public void listSnapshots(
      * policy.
      * 
*/ - public void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1928,82 +1410,58 @@ public void deleteSnapshot(
      * returned operation will stop the creation and delete the backup.
      * 
*/ - public void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, + public void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, + public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, + public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, + public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Create a new table by restoring from a completed backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
@@ -2014,87 +1472,64 @@ public void listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, + public void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Copy a Cloud Bigtable backup to a new backup in the destination cluster
      * located in the destination instance and project.
      * 
*/ - public void copyBackup( - com.google.bigtable.admin.v2.CopyBackupRequest request, + public void copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup
      * resource.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -2115,23 +1550,18 @@ protected BigtableTableAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.bigtable.admin.v2.Table createTable( - com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -2142,80 +1572,62 @@ public com.google.bigtable.admin.v2.Table createTable(
      * policy.
      * 
*/ - public com.google.longrunning.Operation createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.longrunning.Operation createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableFromSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.bigtable.admin.v2.ListTablesResponse listTables( - com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTablesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.bigtable.admin.v2.Table getTable( - com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTableMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a specified table.
      * 
*/ - public com.google.longrunning.Operation updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.longrunning.Operation updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTableMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.protobuf.Empty deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.protobuf.Empty deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTableMethod(), getCallOptions(), request); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.longrunning.Operation undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteTableMethod(), getCallOptions(), request); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -2223,30 +1635,24 @@ public com.google.longrunning.Operation undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - public com.google.bigtable.admin.v2.Table modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.bigtable.admin.v2.Table modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyColumnFamiliesMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.protobuf.Empty dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropRowRangeMethod(), getCallOptions(), request); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -2254,30 +1660,24 @@ public com.google.protobuf.Empty dropRowRange(
      * for 90 days.
      * 
*/ - public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGenerateConsistencyTokenMethod(), getCallOptions(), request); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckConsistencyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -2288,15 +1688,12 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(
      * policy.
      * 
*/ - public com.google.longrunning.Operation snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSnapshotTableMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2306,15 +1703,12 @@ public com.google.longrunning.Operation snapshotTable(
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.Snapshot getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2324,15 +1718,12 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshot(
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSnapshotsMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2342,15 +1733,12 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(
      * policy.
      * 
*/ - public com.google.protobuf.Empty deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2362,68 +1750,53 @@ public com.google.protobuf.Empty deleteSnapshot(
      * returned operation will stop the creation and delete the backup.
      * 
*/ - public com.google.longrunning.Operation createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.bigtable.admin.v2.Backup getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.bigtable.admin.v2.Backup updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.protobuf.Empty deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.bigtable.admin.v2.ListBackupsResponse listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** - * - * *
      * Create a new table by restoring from a completed backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
@@ -2434,29 +1807,23 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.longrunning.Operation restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.longrunning.Operation restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreTableMethod(), getCallOptions(), request); } /** - * - * *
      * Copy a Cloud Bigtable backup to a new backup in the destination cluster
      * located in the destination instance and project.
      * 
*/ - public com.google.longrunning.Operation copyBackup( - com.google.bigtable.admin.v2.CopyBackupRequest request) { + public com.google.longrunning.Operation copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
@@ -2469,8 +1836,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
@@ -2482,15 +1847,12 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified Table or Backup
      * resource.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } @@ -2498,7 +1860,6 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -2507,7 +1868,8 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
    */
   public static final class BigtableTableAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigtableTableAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2518,23 +1880,19 @@ protected BigtableTableAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTable( + com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -2545,82 +1903,68 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListTablesResponse> - listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTables( + com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getTable(com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture getTable( + com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -2628,30 +1972,26 @@ protected BigtableTableAdminFutureStub build(
      * where only some modifications have taken effect.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.common.util.concurrent.ListenableFuture modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.common.util.concurrent.ListenableFuture dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -2659,33 +1999,26 @@ protected BigtableTableAdminFutureStub build(
      * for 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse> - generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + public com.google.common.util.concurrent.ListenableFuture generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.CheckConsistencyResponse> - checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.common.util.concurrent.ListenableFuture checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -2696,15 +2029,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2714,15 +2045,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2732,16 +2061,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListSnapshotsResponse> - listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2751,15 +2077,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2771,69 +2095,58 @@ protected BigtableTableAdminFutureStub build(
      * returned operation will stop the creation and delete the backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListBackupsResponse> - listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** - * - * *
      * Create a new table by restoring from a completed backup.  The
      * returned table [long-running operation][google.longrunning.Operation] can
@@ -2844,66 +2157,57 @@ protected BigtableTableAdminFutureStub build(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request); } /** - * - * *
      * Copy a Cloud Bigtable backup to a new backup in the destination cluster
      * located in the destination instance and project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture copyBackup( + com.google.bigtable.admin.v2.CopyBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup
      * resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } @@ -2935,11 +2239,11 @@ protected BigtableTableAdminFutureStub build( private static final int METHODID_SET_IAM_POLICY = 23; private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -2953,137 +2257,104 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_TABLE: - serviceImpl.createTable( - (com.google.bigtable.admin.v2.CreateTableRequest) request, + serviceImpl.createTable((com.google.bigtable.admin.v2.CreateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TABLE_FROM_SNAPSHOT: - serviceImpl.createTableFromSnapshot( - (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, + serviceImpl.createTableFromSnapshot((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TABLES: - serviceImpl.listTables( - (com.google.bigtable.admin.v2.ListTablesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listTables((com.google.bigtable.admin.v2.ListTablesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TABLE: - serviceImpl.getTable( - (com.google.bigtable.admin.v2.GetTableRequest) request, + serviceImpl.getTable((com.google.bigtable.admin.v2.GetTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_TABLE: - serviceImpl.updateTable( - (com.google.bigtable.admin.v2.UpdateTableRequest) request, + serviceImpl.updateTable((com.google.bigtable.admin.v2.UpdateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_TABLE: - serviceImpl.deleteTable( - (com.google.bigtable.admin.v2.DeleteTableRequest) request, + serviceImpl.deleteTable((com.google.bigtable.admin.v2.DeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNDELETE_TABLE: - serviceImpl.undeleteTable( - (com.google.bigtable.admin.v2.UndeleteTableRequest) request, + serviceImpl.undeleteTable((com.google.bigtable.admin.v2.UndeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_COLUMN_FAMILIES: - serviceImpl.modifyColumnFamilies( - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, + serviceImpl.modifyColumnFamilies((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ROW_RANGE: - serviceImpl.dropRowRange( - (com.google.bigtable.admin.v2.DropRowRangeRequest) request, + serviceImpl.dropRowRange((com.google.bigtable.admin.v2.DropRowRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GENERATE_CONSISTENCY_TOKEN: - serviceImpl.generateConsistencyToken( - (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, - (io.grpc.stub.StreamObserver< - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>) - responseObserver); + serviceImpl.generateConsistencyToken((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHECK_CONSISTENCY: - serviceImpl.checkConsistency( - (com.google.bigtable.admin.v2.CheckConsistencyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.checkConsistency((com.google.bigtable.admin.v2.CheckConsistencyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SNAPSHOT_TABLE: - serviceImpl.snapshotTable( - (com.google.bigtable.admin.v2.SnapshotTableRequest) request, + serviceImpl.snapshotTable((com.google.bigtable.admin.v2.SnapshotTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SNAPSHOT: - serviceImpl.getSnapshot( - (com.google.bigtable.admin.v2.GetSnapshotRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getSnapshot((com.google.bigtable.admin.v2.GetSnapshotRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SNAPSHOTS: - serviceImpl.listSnapshots( - (com.google.bigtable.admin.v2.ListSnapshotsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listSnapshots((com.google.bigtable.admin.v2.ListSnapshotsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SNAPSHOT: - serviceImpl.deleteSnapshot( - (com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, + serviceImpl.deleteSnapshot((com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.bigtable.admin.v2.CreateBackupRequest) request, + serviceImpl.createBackup((com.google.bigtable.admin.v2.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.bigtable.admin.v2.GetBackupRequest) request, + serviceImpl.getBackup((com.google.bigtable.admin.v2.GetBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.bigtable.admin.v2.UpdateBackupRequest) request, + serviceImpl.updateBackup((com.google.bigtable.admin.v2.UpdateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.bigtable.admin.v2.DeleteBackupRequest) request, + serviceImpl.deleteBackup((com.google.bigtable.admin.v2.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.bigtable.admin.v2.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listBackups((com.google.bigtable.admin.v2.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESTORE_TABLE: - serviceImpl.restoreTable( - (com.google.bigtable.admin.v2.RestoreTableRequest) request, + serviceImpl.restoreTable((com.google.bigtable.admin.v2.RestoreTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_BACKUP: - serviceImpl.copyBackup( - (com.google.bigtable.admin.v2.CopyBackupRequest) request, + serviceImpl.copyBackup((com.google.bigtable.admin.v2.CopyBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -3104,166 +2375,185 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_CREATE_TABLE))) + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_CREATE_TABLE))) .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>( - service, METHODID_LIST_TABLES))) + getListTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListTablesRequest, + com.google.bigtable.admin.v2.ListTablesResponse>( + service, METHODID_LIST_TABLES))) .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_GET_TABLE))) + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_GET_TABLE))) .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_TABLE))) + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_TABLE))) .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_TABLE))) + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TABLE))) .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>(service, METHODID_UNDELETE_TABLE))) + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UNDELETE_TABLE))) .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_MODIFY_COLUMN_FAMILIES))) + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_MODIFY_COLUMN_FAMILIES))) .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( - service, METHODID_DROP_ROW_RANGE))) + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, + com.google.protobuf.Empty>( + service, METHODID_DROP_ROW_RANGE))) .addMethod( - getGenerateConsistencyTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( - service, METHODID_GENERATE_CONSISTENCY_TOKEN))) + getGenerateConsistencyTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( + service, METHODID_GENERATE_CONSISTENCY_TOKEN))) .addMethod( - getCheckConsistencyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CheckConsistencyRequest, - com.google.bigtable.admin.v2.CheckConsistencyResponse>( - service, METHODID_CHECK_CONSISTENCY))) + getCheckConsistencyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CheckConsistencyRequest, + com.google.bigtable.admin.v2.CheckConsistencyResponse>( + service, METHODID_CHECK_CONSISTENCY))) .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>(service, METHODID_SNAPSHOT_TABLE))) + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>( + service, METHODID_SNAPSHOT_TABLE))) .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>(service, METHODID_GET_SNAPSHOT))) + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>( + service, METHODID_GET_SNAPSHOT))) .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - service, METHODID_LIST_SNAPSHOTS))) + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + service, METHODID_LIST_SNAPSHOTS))) .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_SNAPSHOT))) + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_SNAPSHOT))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_TABLE))) + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_TABLE))) .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CopyBackupRequest, - com.google.longrunning.Operation>(service, METHODID_COPY_BACKUP))) + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CopyBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_COPY_BACKUP))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .build(); } - private abstract static class BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigtableTableAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -3305,36 +2595,34 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BigtableTableAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) - .addMethod(getCreateTableMethod()) - .addMethod(getCreateTableFromSnapshotMethod()) - .addMethod(getListTablesMethod()) - .addMethod(getGetTableMethod()) - .addMethod(getUpdateTableMethod()) - .addMethod(getDeleteTableMethod()) - .addMethod(getUndeleteTableMethod()) - .addMethod(getModifyColumnFamiliesMethod()) - .addMethod(getDropRowRangeMethod()) - .addMethod(getGenerateConsistencyTokenMethod()) - .addMethod(getCheckConsistencyMethod()) - .addMethod(getSnapshotTableMethod()) - .addMethod(getGetSnapshotMethod()) - .addMethod(getListSnapshotsMethod()) - .addMethod(getDeleteSnapshotMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreTableMethod()) - .addMethod(getCopyBackupMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) + .addMethod(getCreateTableMethod()) + .addMethod(getCreateTableFromSnapshotMethod()) + .addMethod(getListTablesMethod()) + .addMethod(getGetTableMethod()) + .addMethod(getUpdateTableMethod()) + .addMethod(getDeleteTableMethod()) + .addMethod(getUndeleteTableMethod()) + .addMethod(getModifyColumnFamiliesMethod()) + .addMethod(getDropRowRangeMethod()) + .addMethod(getGenerateConsistencyTokenMethod()) + .addMethod(getCheckConsistencyMethod()) + .addMethod(getSnapshotTableMethod()) + .addMethod(getGetSnapshotMethod()) + .addMethod(getListSnapshotsMethod()) + .addMethod(getDeleteSnapshotMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreTableMethod()) + .addMethod(getCopyBackupMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java new file mode 100644 index 0000000000..32280135dd --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,1030 @@ +package com.google.bigtable.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for reading from and writing to existing Bigtable tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/v2/bigtable.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableGrpc { + + private BigtableGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.bigtable.v2.Bigtable"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getReadRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadRows", + requestType = com.google.bigtable.v2.ReadRowsRequest.class, + responseType = com.google.bigtable.v2.ReadRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadRowsMethod() { + io.grpc.MethodDescriptor getReadRowsMethod; + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + BigtableGrpc.getReadRowsMethod = getReadRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) + .build(); + } + } + } + return getReadRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSampleRowKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", + requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, + responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getSampleRowKeysMethod() { + io.grpc.MethodDescriptor getSampleRowKeysMethod; + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + BigtableGrpc.getSampleRowKeysMethod = getSampleRowKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) + .build(); + } + } + } + return getSampleRowKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRow", + requestType = com.google.bigtable.v2.MutateRowRequest.class, + responseType = com.google.bigtable.v2.MutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMutateRowMethod() { + io.grpc.MethodDescriptor getMutateRowMethod; + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + BigtableGrpc.getMutateRowMethod = getMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) + .build(); + } + } + } + return getMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRows", + requestType = com.google.bigtable.v2.MutateRowsRequest.class, + responseType = com.google.bigtable.v2.MutateRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getMutateRowsMethod() { + io.grpc.MethodDescriptor getMutateRowsMethod; + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + BigtableGrpc.getMutateRowsMethod = getMutateRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) + .build(); + } + } + } + return getMutateRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", + requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, + responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckAndMutateRowMethod() { + io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + BigtableGrpc.getCheckAndMutateRowMethod = getCheckAndMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) + .build(); + } + } + } + return getCheckAndMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getPingAndWarmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", + requestType = com.google.bigtable.v2.PingAndWarmRequest.class, + responseType = com.google.bigtable.v2.PingAndWarmResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPingAndWarmMethod() { + io.grpc.MethodDescriptor getPingAndWarmMethod; + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + BigtableGrpc.getPingAndWarmMethod = getPingAndWarmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) + .build(); + } + } + } + return getPingAndWarmMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", + requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, + responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReadModifyWriteRowMethod() { + io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + BigtableGrpc.getReadModifyWriteRowMethod = getReadModifyWriteRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) + .build(); + } + } + } + return getReadModifyWriteRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", + requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, + responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod() { + io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = getGenerateInitialChangeStreamPartitionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("GenerateInitialChangeStreamPartitions")) + .build(); + } + } + } + return getGenerateInitialChangeStreamPartitionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadChangeStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", + requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, + responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadChangeStreamMethod() { + io.grpc.MethodDescriptor getReadChangeStreamMethod; + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + BigtableGrpc.getReadChangeStreamMethod = getReadChangeStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) + .build(); + } + } + } + return getReadChangeStreamMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + }; + return BigtableStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + }; + return BigtableBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + }; + return BigtableFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * 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
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + default void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + default void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSampleRowKeysMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + default void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + default void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + default void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckAndMutateRowMethod(), responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + default void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingAndWarmMethod(), responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * 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.
+     * 
+ */ + default void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + default void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + default void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadChangeStreamMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static abstract class BigtableImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + + /** + *
+     * 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
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + public void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * 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.
+     * 
+ */ + public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + + /** + *
+     * 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
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public java.util.Iterator readRows( + com.google.bigtable.v2.ReadRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * 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.
+     * 
+ */ + public java.util.Iterator sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.bigtable.v2.MutateRowResponse mutateRow(com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public java.util.Iterator mutateRows( + com.google.bigtable.v2.MutateRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getMutateRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPingAndWarmMethod(), getCallOptions(), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * 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.
+     * 
+ */ + public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public java.util.Iterator generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public java.util.Iterator readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture mutateRow( + com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_READ_ROWS = 0; + private static final int METHODID_SAMPLE_ROW_KEYS = 1; + private static final int METHODID_MUTATE_ROW = 2; + private static final int METHODID_MUTATE_ROWS = 3; + private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; + private static final int METHODID_PING_AND_WARM = 5; + private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; + private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; + private static final int METHODID_READ_CHANGE_STREAM = 8; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_READ_ROWS: + serviceImpl.readRows((com.google.bigtable.v2.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SAMPLE_ROW_KEYS: + serviceImpl.sampleRowKeys((com.google.bigtable.v2.SampleRowKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROW: + serviceImpl.mutateRow((com.google.bigtable.v2.MutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROWS: + serviceImpl.mutateRows((com.google.bigtable.v2.MutateRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_AND_MUTATE_ROW: + serviceImpl.checkAndMutateRow((com.google.bigtable.v2.CheckAndMutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PING_AND_WARM: + serviceImpl.pingAndWarm((com.google.bigtable.v2.PingAndWarmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_MODIFY_WRITE_ROW: + serviceImpl.readModifyWriteRow((com.google.bigtable.v2.ReadModifyWriteRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: + serviceImpl.generateInitialChangeStreamPartitions((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_CHANGE_STREAM: + serviceImpl.readChangeStream((com.google.bigtable.v2.ReadChangeStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadRowsRequest, + com.google.bigtable.v2.ReadRowsResponse>( + service, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + service, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>( + service, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>( + service, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + service, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>( + service, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + service, METHODID_READ_MODIFY_WRITE_ROW))) + .addMethod( + getGenerateInitialChangeStreamPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( + service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) + .addMethod( + getReadChangeStreamMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse>( + service, METHODID_READ_CHANGE_STREAM))) + .build(); + } + + private static abstract class BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.v2.BigtableProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Bigtable"); + } + } + + private static final class BigtableFileDescriptorSupplier + extends BigtableBaseDescriptorSupplier { + BigtableFileDescriptorSupplier() {} + } + + private static final class BigtableMethodDescriptorSupplier + extends BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigtableMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) + .addMethod(getReadRowsMethod()) + .addMethod(getSampleRowKeysMethod()) + .addMethod(getMutateRowMethod()) + .addMethod(getMutateRowsMethod()) + .addMethod(getCheckAndMutateRowMethod()) + .addMethod(getPingAndWarmMethod()) + .addMethod(getReadModifyWriteRowMethod()) + .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) + .addMethod(getReadChangeStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index e9fbfaa569..fe8a98fcbd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A configuration object describing how Cloud Bigtable should treat traffic
  * from a particular end user application.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
  */
-public final class AppProfile extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppProfile extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile)
     AppProfileOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppProfile.newBuilder() to construct.
   private AppProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppProfile() {
     name_ = "";
     etag_ = "";
@@ -47,28 +29,25 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.AppProfile.class,
-            com.google.bigtable.admin.v2.AppProfile.Builder.class);
+            com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible priorities for an app profile. Note that higher priority writes
    * can sometimes queue behind lower priority writes to the same tablet, as
@@ -77,10 +56,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.bigtable.admin.v2.AppProfile.Priority}
    */
-  public enum Priority implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Priority
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
      * 
@@ -88,18 +66,22 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { * PRIORITY_UNSPECIFIED = 0; */ PRIORITY_UNSPECIFIED(0), - /** PRIORITY_LOW = 1; */ + /** + * PRIORITY_LOW = 1; + */ PRIORITY_LOW(1), - /** PRIORITY_MEDIUM = 2; */ + /** + * PRIORITY_MEDIUM = 2; + */ PRIORITY_MEDIUM(2), - /** PRIORITY_HIGH = 3; */ + /** + * PRIORITY_HIGH = 3; + */ PRIORITY_HIGH(3), UNRECOGNIZED(-1), ; /** - * - * *
      * Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
      * 
@@ -107,13 +89,20 @@ public enum Priority implements com.google.protobuf.ProtocolMessageEnum { * PRIORITY_UNSPECIFIED = 0; */ public static final int PRIORITY_UNSPECIFIED_VALUE = 0; - /** PRIORITY_LOW = 1; */ + /** + * PRIORITY_LOW = 1; + */ public static final int PRIORITY_LOW_VALUE = 1; - /** PRIORITY_MEDIUM = 2; */ + /** + * PRIORITY_MEDIUM = 2; + */ public static final int PRIORITY_MEDIUM_VALUE = 2; - /** PRIORITY_HIGH = 3; */ + /** + * PRIORITY_HIGH = 3; + */ public static final int PRIORITY_HIGH_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,51 +127,50 @@ public static Priority valueOf(int value) { */ public static Priority forNumber(int value) { switch (value) { - case 0: - return PRIORITY_UNSPECIFIED; - case 1: - return PRIORITY_LOW; - case 2: - return PRIORITY_MEDIUM; - case 3: - return PRIORITY_HIGH; - default: - return null; + case 0: return PRIORITY_UNSPECIFIED; + case 1: return PRIORITY_LOW; + case 2: return PRIORITY_MEDIUM; + case 3: return PRIORITY_HIGH; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Priority> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Priority findValueByNumber(int number) { + return Priority.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Priority findValueByNumber(int number) { - return Priority.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.AppProfile.getDescriptor().getEnumTypes().get(0); } private static final Priority[] VALUES = values(); - public static Priority valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Priority valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -199,69 +187,56 @@ private Priority(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.AppProfile.Priority) } - public interface MultiClusterRoutingUseAnyOrBuilder - extends + public interface MultiClusterRoutingUseAnyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - java.util.List getClusterIdsList(); + java.util.List + getClusterIdsList(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ int getClusterIdsCount(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ java.lang.String getClusterIds(int index); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - com.google.protobuf.ByteString getClusterIdsBytes(int index); + com.google.protobuf.ByteString + getClusterIdsBytes(int index); } /** - * - * *
    * Read/write requests are routed to the nearest cluster in the instance, and
    * will fail over to the nearest cluster that is available in the event of
@@ -272,86 +247,76 @@ public interface MultiClusterRoutingUseAnyOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
    */
-  public static final class MultiClusterRoutingUseAny extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MultiClusterRoutingUseAny extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       MultiClusterRoutingUseAnyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MultiClusterRoutingUseAny.newBuilder() to construct.
     private MultiClusterRoutingUseAny(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MultiClusterRoutingUseAny() {
-      clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      clusterIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
     }
 
     public static final int CLUSTER_IDS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList clusterIds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { return clusterIds_; } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -359,24 +324,21 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -388,7 +350,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusterIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterIds_.getRaw(i)); } @@ -417,15 +380,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; - if (!getClusterIdsList().equals(other.getClusterIdsList())) return false; + if (!getClusterIdsList() + .equals(other.getClusterIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -447,95 +410,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -545,8 +502,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Read/write requests are routed to the nearest cluster in the instance, and
      * will fail over to the nearest cluster that is available in the event of
@@ -557,53 +512,51 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
         com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
       }
 
-      // Construct using
-      // com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
-      private Builder() {}
+      // Construct using com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        clusterIds_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-          getDefaultInstanceForType() {
-        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-            .getDefaultInstance();
+      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() {
+        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -617,17 +570,13 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny build()
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result =
-            new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           clusterIds_.makeImmutable();
@@ -639,53 +588,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) {
-          return mergeFrom(
-              (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
+        if (other == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) return this;
         if (!other.clusterIds_.isEmpty()) {
           if (clusterIds_.isEmpty()) {
             clusterIds_ = other.clusterIds_;
@@ -722,20 +664,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureClusterIdsIsMutable();
-                  clusterIds_.add(s);
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClusterIdsIsMutable();
+                clusterIds_.add(s);
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -745,12 +685,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList clusterIds_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureClusterIdsIsMutable() {
         if (!clusterIds_.isModifiable()) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
@@ -758,46 +696,38 @@ private void ensureClusterIdsIsMutable() {
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { clusterIds_.makeImmutable(); return clusterIds_; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -805,39 +735,33 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index to set the value at. * @param value The clusterIds to set. * @return This builder for chaining. */ - public Builder setClusterIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.set(index, value); bitField0_ |= 0x00000001; @@ -845,22 +769,18 @@ public Builder setClusterIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.add(value); bitField0_ |= 0x00000001; @@ -868,61 +788,53 @@ public Builder addClusterIds(java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param values The clusterIds to add. * @return This builder for chaining. */ - public Builder addAllClusterIds(java.lang.Iterable values) { + public Builder addAllClusterIds( + java.lang.Iterable values) { ensureClusterIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return This builder for chaining. */ public Builder clearClusterIds() { - clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + clusterIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The bytes of the clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); @@ -930,7 +842,6 @@ public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -943,44 +854,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MultiClusterRoutingUseAny parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiClusterRoutingUseAny parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,45 +900,37 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SingleClusterRoutingOrBuilder - extends + public interface SingleClusterRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -1038,14 +938,11 @@ public interface SingleClusterRoutingOrBuilder
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ boolean getAllowTransactionalWrites(); } /** - * - * *
    * Unconditionally routes all read/write requests to a specific cluster.
    * This option preserves read-your-writes consistency but does not improve
@@ -1054,54 +951,48 @@ public interface SingleClusterRoutingOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
    */
-  public static final class SingleClusterRouting extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SingleClusterRouting extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
       SingleClusterRoutingOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SingleClusterRouting.newBuilder() to construct.
     private SingleClusterRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SingleClusterRouting() {
       clusterId_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SingleClusterRouting();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
     }
 
     public static final int CLUSTER_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object clusterId_ = "";
     /**
-     *
-     *
      * 
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ @java.lang.Override @@ -1110,29 +1001,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1143,8 +1034,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_ = false; /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -1152,7 +1041,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1161,7 +1049,6 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1173,7 +1060,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_); } @@ -1193,7 +1081,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterId_); } if (allowTransactionalWrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowTransactionalWrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowTransactionalWrites_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1203,16 +1092,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; - if (!getClusterId().equals(other.getClusterId())) return false; - if (getAllowTransactionalWrites() != other.getAllowTransactionalWrites()) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (getAllowTransactionalWrites() + != other.getAllowTransactionalWrites()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1227,101 +1117,97 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowTransactionalWrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowTransactionalWrites()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1331,8 +1217,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Unconditionally routes all read/write requests to a specific cluster.
      * This option preserves read-your-writes consistency but does not improve
@@ -1341,33 +1225,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
         com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1378,14 +1262,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting
-          getDefaultInstanceForType() {
+      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() {
         return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
       }
 
@@ -1400,17 +1283,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result =
-            new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.clusterId_ = clusterId_;
@@ -1424,41 +1303,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) {
-          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1466,9 +1342,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) return this;
         if (!other.getClusterId().isEmpty()) {
           clusterId_ = other.clusterId_;
           bitField0_ |= 0x00000001;
@@ -1503,25 +1377,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  clusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  allowTransactionalWrites_ = input.readBool();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                allowTransactionalWrites_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1531,25 +1402,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object clusterId_ = "";
       /**
-       *
-       *
        * 
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1558,21 +1426,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1580,35 +1447,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1618,21 +1478,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000001; @@ -1640,10 +1496,8 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowTransactionalWrites_; + private boolean allowTransactionalWrites_ ; /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1651,7 +1505,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1659,8 +1512,6 @@ public boolean getAllowTransactionalWrites() { return allowTransactionalWrites_; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1668,7 +1519,6 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; - * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ @@ -1680,8 +1530,6 @@ public Builder setAllowTransactionalWrites(boolean value) { return this; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1689,7 +1537,6 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { @@ -1698,7 +1545,6 @@ public Builder clearAllowTransactionalWrites() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1711,44 +1557,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) - private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SingleClusterRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SingleClusterRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1760,45 +1603,36 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface StandardIsolationOrBuilder - extends + public interface StandardIsolationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.StandardIsolation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The priority of requests sent using this app profile.
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ int getPriorityValue(); /** - * - * *
      * The priority of requests sent using this app profile.
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The priority. */ com.google.bigtable.admin.v2.AppProfile.Priority getPriority(); } /** - * - * *
    * Standard options for isolating this app profile's traffic from other use
    * cases.
@@ -1806,80 +1640,66 @@ public interface StandardIsolationOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.StandardIsolation}
    */
-  public static final class StandardIsolation extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class StandardIsolation extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.StandardIsolation)
       StandardIsolationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use StandardIsolation.newBuilder() to construct.
     private StandardIsolation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private StandardIsolation() {
       priority_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new StandardIsolation();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.StandardIsolation.class,
-              com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.StandardIsolation.class, com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder.class);
     }
 
     public static final int PRIORITY_FIELD_NUMBER = 1;
     private int priority_ = 0;
     /**
-     *
-     *
      * 
      * The priority of requests sent using this app profile.
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
      * The priority of requests sent using this app profile.
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The priority. */ - @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { - com.google.bigtable.admin.v2.AppProfile.Priority result = - com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_); - return result == null - ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { + com.google.bigtable.admin.v2.AppProfile.Priority result = com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_); + return result == null ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1891,9 +1711,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (priority_ - != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (priority_ != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) { output.writeEnum(1, priority_); } getUnknownFields().writeTo(output); @@ -1905,9 +1725,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (priority_ - != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, priority_); + if (priority_ != com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, priority_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1917,13 +1737,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.StandardIsolation)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.StandardIsolation other = - (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) obj; + com.google.bigtable.admin.v2.AppProfile.StandardIsolation other = (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) obj; if (priority_ != other.priority_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1945,94 +1764,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.StandardIsolation prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.StandardIsolation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2042,8 +1856,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Standard options for isolating this app profile's traffic from other use
      * cases.
@@ -2051,33 +1863,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.StandardIsolation}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.StandardIsolation)
         com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.StandardIsolation.class,
-                com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.StandardIsolation.class, com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.AppProfile.StandardIsolation.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2087,9 +1899,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor;
       }
 
       @java.lang.Override
@@ -2108,11 +1920,8 @@ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.StandardIsolation buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.StandardIsolation result =
-            new com.google.bigtable.admin.v2.AppProfile.StandardIsolation(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.StandardIsolation result = new com.google.bigtable.admin.v2.AppProfile.StandardIsolation(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2128,41 +1937,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.StandardIsola
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.StandardIsolation) {
-          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.StandardIsolation) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.StandardIsolation)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2170,8 +1976,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.StandardIsolation other) {
-        if (other == com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance()) return this;
         if (other.priority_ != 0) {
           setPriorityValue(other.getPriorityValue());
         }
@@ -2201,19 +2006,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  priority_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                priority_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2223,34 +2026,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int priority_ = 0;
       /**
-       *
-       *
        * 
        * The priority of requests sent using this app profile.
        * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The enum numeric value on the wire for priority. */ - @java.lang.Override - public int getPriorityValue() { + @java.lang.Override public int getPriorityValue() { return priority_; } /** - * - * *
        * The priority of requests sent using this app profile.
        * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @param value The enum numeric value on the wire for priority to set. * @return This builder for chaining. */ @@ -2261,33 +2056,24 @@ public Builder setPriorityValue(int value) { return this; } /** - * - * *
        * The priority of requests sent using this app profile.
        * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return The priority. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { - com.google.bigtable.admin.v2.AppProfile.Priority result = - com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_); - return result == null - ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.AppProfile.Priority result = com.google.bigtable.admin.v2.AppProfile.Priority.forNumber(priority_); + return result == null ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED : result; } /** - * - * *
        * The priority of requests sent using this app profile.
        * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @param value The priority to set. * @return This builder for chaining. */ @@ -2301,14 +2087,11 @@ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority valu return this; } /** - * - * *
        * The priority of requests sent using this app profile.
        * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 1; - * * @return This builder for chaining. */ public Builder clearPriority() { @@ -2317,7 +2100,6 @@ public Builder clearPriority() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2330,12 +2112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.StandardIsolation) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.StandardIsolation) private static final com.google.bigtable.admin.v2.AppProfile.StandardIsolation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.StandardIsolation(); } @@ -2344,28 +2126,27 @@ public static com.google.bigtable.admin.v2.AppProfile.StandardIsolation getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardIsolation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardIsolation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2380,22 +2161,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int routingPolicyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object routingPolicy_; - public enum RoutingPolicyCase - implements - com.google.protobuf.Internal.EnumLite, + 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); private final int value; - private RoutingPolicyCase(int value) { this.value = value; } @@ -2411,41 +2189,33 @@ public static RoutingPolicyCase valueOf(int value) { public static RoutingPolicyCase forNumber(int value) { switch (value) { - case 5: - return MULTI_CLUSTER_ROUTING_USE_ANY; - case 6: - return SINGLE_CLUSTER_ROUTING; - case 0: - return ROUTINGPOLICY_NOT_SET; - default: - return null; + case 5: return MULTI_CLUSTER_ROUTING_USE_ANY; + case 6: return SINGLE_CLUSTER_ROUTING; + case 0: return ROUTINGPOLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RoutingPolicyCase getRoutingPolicyCase() { - return RoutingPolicyCase.forNumber(routingPolicyCase_); + public RoutingPolicyCase + getRoutingPolicyCase() { + return RoutingPolicyCase.forNumber( + routingPolicyCase_); } private int isolationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object isolation_; - public enum IsolationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - @java.lang.Deprecated - PRIORITY(7), + @java.lang.Deprecated PRIORITY(7), STANDARD_ISOLATION(11), ISOLATION_NOT_SET(0); private final int value; - private IsolationCase(int value) { this.value = value; } @@ -2461,40 +2231,33 @@ public static IsolationCase valueOf(int value) { public static IsolationCase forNumber(int value) { switch (value) { - case 7: - return PRIORITY; - case 11: - return STANDARD_ISOLATION; - case 0: - return ISOLATION_NOT_SET; - default: - return null; + case 7: return PRIORITY; + case 11: return STANDARD_ISOLATION; + case 0: return ISOLATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public IsolationCase getIsolationCase() { - return IsolationCase.forNumber(isolationCase_); + public IsolationCase + getIsolationCase() { + return IsolationCase.forNumber( + isolationCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2503,30 +2266,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2535,12 +2298,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2553,7 +2313,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -2562,15 +2321,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2583,15 +2341,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2600,18 +2359,14 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -2620,29 +2375,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2652,16 +2407,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER = 5; /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -2669,57 +2419,42 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER = 6; /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -2727,47 +2462,37 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } public static final int PRIORITY_FIELD_NUMBER = 7; /** - * - * *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -2776,18 +2501,14 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return Whether the priority field is set. */ - @java.lang.Deprecated - public boolean hasPriority() { + @java.lang.Deprecated public boolean hasPriority() { return isolationCase_ == 7; } - /** - * - * + /** *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -2796,21 +2517,17 @@ public boolean hasPriority() {
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The enum numeric value on the wire for priority. */ - @java.lang.Deprecated - public int getPriorityValue() { + @java.lang.Deprecated public int getPriorityValue() { if (isolationCase_ == 7) { return (java.lang.Integer) isolation_; } return 0; } /** - * - * *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -2819,35 +2536,27 @@ public int getPriorityValue() {
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The priority. */ - @java.lang.Deprecated - public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { + @java.lang.Deprecated public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { if (isolationCase_ == 7) { - com.google.bigtable.admin.v2.AppProfile.Priority result = - com.google.bigtable.admin.v2.AppProfile.Priority.forNumber( - (java.lang.Integer) isolation_); - return result == null - ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.AppProfile.Priority result = com.google.bigtable.admin.v2.AppProfile.Priority.forNumber( + (java.lang.Integer) isolation_); + return result == null ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED : result; } return com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED; } public static final int STANDARD_ISOLATION_FIELD_NUMBER = 11; /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
    * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return Whether the standardIsolation field is set. */ @java.lang.Override @@ -2855,27 +2564,22 @@ public boolean hasStandardIsolation() { return isolationCase_ == 11; } /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
    * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return The standardIsolation. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsolation() { if (isolationCase_ == 11) { - return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_; + return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_; } return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance(); } /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
@@ -2884,16 +2588,14 @@ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsol
    * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
-      getStandardIsolationOrBuilder() {
+  public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder getStandardIsolationOrBuilder() {
     if (isolationCase_ == 11) {
-      return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
+       return (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_;
     }
     return com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2905,7 +2607,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2916,19 +2619,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
     }
     if (routingPolicyCase_ == 5) {
-      output.writeMessage(
-          5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_);
+      output.writeMessage(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_);
     }
     if (routingPolicyCase_ == 6) {
-      output.writeMessage(
-          6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
+      output.writeMessage(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
     }
     if (isolationCase_ == 7) {
       output.writeEnum(7, ((java.lang.Integer) isolation_));
     }
     if (isolationCase_ == 11) {
-      output.writeMessage(
-          11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
+      output.writeMessage(11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -2949,25 +2649,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (routingPolicyCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5,
-              (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_);
     }
     if (routingPolicyCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_);
     }
     if (isolationCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              7, ((java.lang.Integer) isolation_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(7, ((java.lang.Integer) isolation_));
     }
     if (isolationCase_ == 11) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2977,24 +2672,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile)) {
       return super.equals(obj);
     }
     com.google.bigtable.admin.v2.AppProfile other = (com.google.bigtable.admin.v2.AppProfile) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getEtag().equals(other.getEtag())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getEtag()
+        .equals(other.getEtag())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
     if (!getRoutingPolicyCase().equals(other.getRoutingPolicyCase())) return false;
     switch (routingPolicyCase_) {
       case 5:
-        if (!getMultiClusterRoutingUseAny().equals(other.getMultiClusterRoutingUseAny()))
-          return false;
+        if (!getMultiClusterRoutingUseAny()
+            .equals(other.getMultiClusterRoutingUseAny())) return false;
         break;
       case 6:
-        if (!getSingleClusterRouting().equals(other.getSingleClusterRouting())) return false;
+        if (!getSingleClusterRouting()
+            .equals(other.getSingleClusterRouting())) return false;
         break;
       case 0:
       default:
@@ -3002,10 +2701,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getIsolationCase().equals(other.getIsolationCase())) return false;
     switch (isolationCase_) {
       case 7:
-        if (getPriorityValue() != other.getPriorityValue()) return false;
+        if (getPriorityValue()
+            != other.getPriorityValue()) return false;
         break;
       case 11:
-        if (!getStandardIsolation().equals(other.getStandardIsolation())) return false;
+        if (!getStandardIsolation()
+            .equals(other.getStandardIsolation())) return false;
         break;
       case 0:
       default:
@@ -3056,104 +2757,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.AppProfile parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.AppProfile parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A configuration object describing how Cloud Bigtable should treat traffic
    * from a particular end user application.
@@ -3161,32 +2857,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile)
       com.google.bigtable.admin.v2.AppProfileOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.class,
-              com.google.bigtable.admin.v2.AppProfile.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.AppProfile.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3211,9 +2908,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
@@ -3232,11 +2929,8 @@ public com.google.bigtable.admin.v2.AppProfile build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.AppProfile buildPartial() {
-      com.google.bigtable.admin.v2.AppProfile result =
-          new com.google.bigtable.admin.v2.AppProfile(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.AppProfile result = new com.google.bigtable.admin.v2.AppProfile(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3258,15 +2952,18 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile result) {
     private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result) {
       result.routingPolicyCase_ = routingPolicyCase_;
       result.routingPolicy_ = this.routingPolicy_;
-      if (routingPolicyCase_ == 5 && multiClusterRoutingUseAnyBuilder_ != null) {
+      if (routingPolicyCase_ == 5 &&
+          multiClusterRoutingUseAnyBuilder_ != null) {
         result.routingPolicy_ = multiClusterRoutingUseAnyBuilder_.build();
       }
-      if (routingPolicyCase_ == 6 && singleClusterRoutingBuilder_ != null) {
+      if (routingPolicyCase_ == 6 &&
+          singleClusterRoutingBuilder_ != null) {
         result.routingPolicy_ = singleClusterRoutingBuilder_.build();
       }
       result.isolationCase_ = isolationCase_;
       result.isolation_ = this.isolation_;
-      if (isolationCase_ == 11 && standardIsolationBuilder_ != null) {
+      if (isolationCase_ == 11 &&
+          standardIsolationBuilder_ != null) {
         result.isolation_ = standardIsolationBuilder_.build();
       }
     }
@@ -3275,39 +2972,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.AppProfile) {
-        return mergeFrom((com.google.bigtable.admin.v2.AppProfile) other);
+        return mergeFrom((com.google.bigtable.admin.v2.AppProfile)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3332,36 +3028,30 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile other) {
         onChanged();
       }
       switch (other.getRoutingPolicyCase()) {
-        case MULTI_CLUSTER_ROUTING_USE_ANY:
-          {
-            mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
-            break;
-          }
-        case SINGLE_CLUSTER_ROUTING:
-          {
-            mergeSingleClusterRouting(other.getSingleClusterRouting());
-            break;
-          }
-        case ROUTINGPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case MULTI_CLUSTER_ROUTING_USE_ANY: {
+          mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
+          break;
+        }
+        case SINGLE_CLUSTER_ROUTING: {
+          mergeSingleClusterRouting(other.getSingleClusterRouting());
+          break;
+        }
+        case ROUTINGPOLICY_NOT_SET: {
+          break;
+        }
       }
       switch (other.getIsolationCase()) {
-        case PRIORITY:
-          {
-            setPriorityValue(other.getPriorityValue());
-            break;
-          }
-        case STANDARD_ISOLATION:
-          {
-            mergeStandardIsolation(other.getStandardIsolation());
-            break;
-          }
-        case ISOLATION_NOT_SET:
-          {
-            break;
-          }
+        case PRIORITY: {
+          setPriorityValue(other.getPriorityValue());
+          break;
+        }
+        case STANDARD_ISOLATION: {
+          mergeStandardIsolation(other.getStandardIsolation());
+          break;
+        }
+        case ISOLATION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3389,59 +3079,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                input.readMessage(
-                    getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getSingleClusterRoutingFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 6;
-                break;
-              } // case 50
-            case 56:
-              {
-                int rawValue = input.readEnum();
-                isolationCase_ = 7;
-                isolation_ = rawValue;
-                break;
-              } // case 56
-            case 90:
-              {
-                input.readMessage(
-                    getStandardIsolationFieldBuilder().getBuilder(), extensionRegistry);
-                isolationCase_ = 11;
-                break;
-              } // case 90
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              input.readMessage(
+                  getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getSingleClusterRoutingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 6;
+              break;
+            } // case 50
+            case 56: {
+              int rawValue = input.readEnum();
+              isolationCase_ = 7;
+              isolation_ = rawValue;
+              break;
+            } // case 56
+            case 90: {
+              input.readMessage(
+                  getStandardIsolationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              isolationCase_ = 11;
+              break;
+            } // case 90
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3451,12 +3136,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int routingPolicyCase_ = 0;
     private java.lang.Object routingPolicy_;
-
-    public RoutingPolicyCase getRoutingPolicyCase() {
-      return RoutingPolicyCase.forNumber(routingPolicyCase_);
+    public RoutingPolicyCase
+        getRoutingPolicyCase() {
+      return RoutingPolicyCase.forNumber(
+          routingPolicyCase_);
     }
 
     public Builder clearRoutingPolicy() {
@@ -3468,9 +3153,10 @@ public Builder clearRoutingPolicy() {
 
     private int isolationCase_ = 0;
     private java.lang.Object isolation_;
-
-    public IsolationCase getIsolationCase() {
-      return IsolationCase.forNumber(isolationCase_);
+    public IsolationCase
+        getIsolationCase() {
+      return IsolationCase.forNumber(
+          isolationCase_);
     }
 
     public Builder clearIsolation() {
@@ -3484,21 +3170,19 @@ public Builder clearIsolation() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3507,22 +3191,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3530,37 +3213,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3570,22 +3246,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3595,8 +3267,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -3609,13 +3279,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3624,8 +3294,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -3638,14 +3306,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3653,8 +3322,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -3667,22 +3334,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -3695,7 +3358,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3705,8 +3367,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -3719,14 +3379,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; @@ -3736,20 +3394,18 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3758,21 +3414,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -3780,35 +3435,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3818,21 +3466,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -3841,21 +3485,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> - multiClusterRoutingUseAnyBuilder_; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> multiClusterRoutingUseAnyBuilder_; /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -3863,48 +3499,35 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } else { if (routingPolicyCase_ == 5) { return multiClusterRoutingUseAnyBuilder_.getMessage(); } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder setMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder setMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3918,15 +3541,11 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder setMultiClusterRoutingUseAny( com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder builderForValue) { @@ -3940,29 +3559,18 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder mergeMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder mergeMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { - if (routingPolicyCase_ == 5 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 5 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -3978,15 +3586,11 @@ public Builder mergeMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder clearMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { @@ -4005,71 +3609,49 @@ public Builder clearMultiClusterRoutingUseAny() { return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder - getMultiClusterRoutingUseAnyBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder getMultiClusterRoutingUseAnyBuilder() { return getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(); } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if ((routingPolicyCase_ == 5) && (multiClusterRoutingUseAnyBuilder_ != null)) { return multiClusterRoutingUseAnyBuilder_.getMessageOrBuilder(); } else { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> getMultiClusterRoutingUseAnyFieldBuilder() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (!(routingPolicyCase_ == 5)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } - multiClusterRoutingUseAnyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( + multiClusterRoutingUseAnyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_, getParentForChildren(), isClean()); @@ -4081,20 +3663,13 @@ public Builder clearMultiClusterRoutingUseAny() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> - singleClusterRoutingBuilder_; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> singleClusterRoutingBuilder_; /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -4102,15 +3677,11 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override @@ -4128,17 +3699,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder setSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder setSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4152,14 +3719,11 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder setSingleClusterRouting( com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder builderForValue) { @@ -4173,27 +3737,18 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder mergeSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder mergeSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { - if (routingPolicyCase_ == 6 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 6 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -4209,14 +3764,11 @@ public Builder mergeSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder clearSingleClusterRouting() { if (singleClusterRoutingBuilder_ == null) { @@ -4235,32 +3787,24 @@ public Builder clearSingleClusterRouting() { return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder - getSingleClusterRoutingBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder getSingleClusterRoutingBuilder() { return getSingleClusterRoutingFieldBuilder().getBuilder(); } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if ((routingPolicyCase_ == 6) && (singleClusterRoutingBuilder_ != null)) { return singleClusterRoutingBuilder_.getMessageOrBuilder(); } else { @@ -4271,30 +3815,21 @@ public Builder clearSingleClusterRouting() { } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> getSingleClusterRoutingFieldBuilder() { if (singleClusterRoutingBuilder_ == null) { if (!(routingPolicyCase_ == 6)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } - singleClusterRoutingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( + singleClusterRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_, getParentForChildren(), isClean()); @@ -4306,8 +3841,6 @@ public Builder clearSingleClusterRouting() { } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4316,19 +3849,15 @@ public Builder clearSingleClusterRouting() {
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return Whether the priority field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasPriority() { + @java.lang.Deprecated public boolean hasPriority() { return isolationCase_ == 7; } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4337,22 +3866,18 @@ public boolean hasPriority() {
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The enum numeric value on the wire for priority. */ @java.lang.Override - @java.lang.Deprecated - public int getPriorityValue() { + @java.lang.Deprecated public int getPriorityValue() { if (isolationCase_ == 7) { return ((java.lang.Integer) isolation_).intValue(); } return 0; } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4361,22 +3886,18 @@ public int getPriorityValue() {
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @param value The enum numeric value on the wire for priority to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPriorityValue(int value) { + @java.lang.Deprecated public Builder setPriorityValue(int value) { isolationCase_ = 7; isolation_ = value; onChanged(); return this; } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4385,27 +3906,20 @@ public Builder setPriorityValue(int value) {
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The priority. */ @java.lang.Override - @java.lang.Deprecated - public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { + @java.lang.Deprecated public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() { if (isolationCase_ == 7) { - com.google.bigtable.admin.v2.AppProfile.Priority result = - com.google.bigtable.admin.v2.AppProfile.Priority.forNumber( - (java.lang.Integer) isolation_); - return result == null - ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.AppProfile.Priority result = com.google.bigtable.admin.v2.AppProfile.Priority.forNumber( + (java.lang.Integer) isolation_); + return result == null ? com.google.bigtable.admin.v2.AppProfile.Priority.UNRECOGNIZED : result; } return com.google.bigtable.admin.v2.AppProfile.Priority.PRIORITY_UNSPECIFIED; } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4414,14 +3928,12 @@ public com.google.bigtable.admin.v2.AppProfile.Priority getPriority() {
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @param value The priority to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority value) { + @java.lang.Deprecated public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority value) { if (value == null) { throw new NullPointerException(); } @@ -4431,8 +3943,6 @@ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority valu return this; } /** - * - * *
      * This field has been deprecated in favor of `standard_isolation.priority`.
      * If you set this field, `standard_isolation.priority` will be set instead.
@@ -4441,13 +3951,11 @@ public Builder setPriority(com.google.bigtable.admin.v2.AppProfile.Priority valu
      * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPriority() { + @java.lang.Deprecated public Builder clearPriority() { if (isolationCase_ == 7) { isolationCase_ = 0; isolation_ = null; @@ -4457,20 +3965,14 @@ public Builder clearPriority() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.StandardIsolation, - com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder, - com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder> - standardIsolationBuilder_; + com.google.bigtable.admin.v2.AppProfile.StandardIsolation, com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder, com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder> standardIsolationBuilder_; /** - * - * *
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
      * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return Whether the standardIsolation field is set. */ @java.lang.Override @@ -4478,15 +3980,12 @@ public boolean hasStandardIsolation() { return isolationCase_ == 11; } /** - * - * *
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
      * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return The standardIsolation. */ @java.lang.Override @@ -4504,8 +4003,6 @@ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsol } } /** - * - * *
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4513,8 +4010,7 @@ public com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsol
      *
      * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
      */
-    public Builder setStandardIsolation(
-        com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
+    public Builder setStandardIsolation(com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
       if (standardIsolationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4528,8 +4024,6 @@ public Builder setStandardIsolation(
       return this;
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4549,8 +4043,6 @@ public Builder setStandardIsolation(
       return this;
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4558,17 +4050,12 @@ public Builder setStandardIsolation(
      *
      * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
      */
-    public Builder mergeStandardIsolation(
-        com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
+    public Builder mergeStandardIsolation(com.google.bigtable.admin.v2.AppProfile.StandardIsolation value) {
       if (standardIsolationBuilder_ == null) {
-        if (isolationCase_ == 11
-            && isolation_
-                != com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance()) {
-          isolation_ =
-              com.google.bigtable.admin.v2.AppProfile.StandardIsolation.newBuilder(
-                      (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (isolationCase_ == 11 &&
+            isolation_ != com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance()) {
+          isolation_ = com.google.bigtable.admin.v2.AppProfile.StandardIsolation.newBuilder((com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_)
+              .mergeFrom(value).buildPartial();
         } else {
           isolation_ = value;
         }
@@ -4584,8 +4071,6 @@ public Builder mergeStandardIsolation(
       return this;
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4610,8 +4095,6 @@ public Builder clearStandardIsolation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4619,13 +4102,10 @@ public Builder clearStandardIsolation() {
      *
      * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
      */
-    public com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder
-        getStandardIsolationBuilder() {
+    public com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder getStandardIsolationBuilder() {
       return getStandardIsolationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4634,8 +4114,7 @@ public Builder clearStandardIsolation() {
      * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
      */
     @java.lang.Override
-    public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
-        getStandardIsolationOrBuilder() {
+    public com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder getStandardIsolationOrBuilder() {
       if ((isolationCase_ == 11) && (standardIsolationBuilder_ != null)) {
         return standardIsolationBuilder_.getMessageOrBuilder();
       } else {
@@ -4646,8 +4125,6 @@ public Builder clearStandardIsolation() {
       }
     }
     /**
-     *
-     *
      * 
      * The standard options used for isolating this app profile's traffic from
      * other use cases.
@@ -4656,20 +4133,14 @@ public Builder clearStandardIsolation() {
      * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.AppProfile.StandardIsolation,
-            com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder,
-            com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>
+        com.google.bigtable.admin.v2.AppProfile.StandardIsolation, com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder, com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder> 
         getStandardIsolationFieldBuilder() {
       if (standardIsolationBuilder_ == null) {
         if (!(isolationCase_ == 11)) {
-          isolation_ =
-              com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
+          isolation_ = com.google.bigtable.admin.v2.AppProfile.StandardIsolation.getDefaultInstance();
         }
-        standardIsolationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.AppProfile.StandardIsolation,
-                com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder,
-                com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>(
+        standardIsolationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.AppProfile.StandardIsolation, com.google.bigtable.admin.v2.AppProfile.StandardIsolation.Builder, com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder>(
                 (com.google.bigtable.admin.v2.AppProfile.StandardIsolation) isolation_,
                 getParentForChildren(),
                 isClean());
@@ -4679,9 +4150,9 @@ public Builder clearStandardIsolation() {
       onChanged();
       return standardIsolationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4691,12 +4162,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile)
   private static final com.google.bigtable.admin.v2.AppProfile DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile();
   }
@@ -4705,27 +4176,27 @@ public static com.google.bigtable.admin.v2.AppProfile getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppProfile parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppProfile parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4740,4 +4211,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.AppProfile getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
similarity index 99%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
index 2339e490b8..4e4eb28823 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
similarity index 74%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
index 262136da9e..6d3110676c 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java
@@ -1,59 +1,36 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/instance.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface AppProfileOrBuilder
-    extends
+public interface AppProfileOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -66,13 +43,10 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -85,120 +59,86 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ boolean hasMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ boolean hasSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder(); /** - * - * *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -207,16 +147,12 @@ public interface AppProfileOrBuilder
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return Whether the priority field is set. */ - @java.lang.Deprecated - boolean hasPriority(); + @java.lang.Deprecated boolean hasPriority(); /** - * - * *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -225,16 +161,12 @@ public interface AppProfileOrBuilder
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The enum numeric value on the wire for priority. */ - @java.lang.Deprecated - int getPriorityValue(); + @java.lang.Deprecated int getPriorityValue(); /** - * - * *
    * This field has been deprecated in favor of `standard_isolation.priority`.
    * If you set this field, `standard_isolation.priority` will be set instead.
@@ -243,43 +175,33 @@ public interface AppProfileOrBuilder
    * 
* * .google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true]; - * - * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. See - * google/bigtable/admin/v2/instance.proto;l=332 + * @deprecated google.bigtable.admin.v2.AppProfile.priority is deprecated. + * See google/bigtable/admin/v2/instance.proto;l=332 * @return The priority. */ - @java.lang.Deprecated - com.google.bigtable.admin.v2.AppProfile.Priority getPriority(); + @java.lang.Deprecated com.google.bigtable.admin.v2.AppProfile.Priority getPriority(); /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
    * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return Whether the standardIsolation field is set. */ boolean hasStandardIsolation(); /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
    * 
* * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11; - * * @return The standardIsolation. */ com.google.bigtable.admin.v2.AppProfile.StandardIsolation getStandardIsolation(); /** - * - * *
    * The standard options used for isolating this app profile's traffic from
    * other use cases.
@@ -287,8 +209,7 @@ public interface AppProfileOrBuilder
    *
    * .google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;
    */
-  com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder
-      getStandardIsolationOrBuilder();
+  com.google.bigtable.admin.v2.AppProfile.StandardIsolationOrBuilder getStandardIsolationOrBuilder();
 
   com.google.bigtable.admin.v2.AppProfile.RoutingPolicyCase getRoutingPolicyCase();
 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java
index 8aa99f6d54..074076a0df 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/instance.proto
 
@@ -20,58 +5,52 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Limits for the number of nodes a Cluster can autoscale up/down to.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ -public final class AutoscalingLimits extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingLimits extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingLimits) AutoscalingLimitsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingLimits.newBuilder() to construct. private AutoscalingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingLimits() {} + private AutoscalingLimits() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingLimits(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } public static final int MIN_SERVE_NODES_FIELD_NUMBER = 1; private int minServeNodes_ = 0; /** - * - * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -82,14 +61,11 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; private int maxServeNodes_ = 0; /** - * - * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -98,7 +74,6 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,7 +85,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minServeNodes_ != 0) { output.writeInt32(1, minServeNodes_); } @@ -127,10 +103,12 @@ public int getSerializedSize() { size = 0; if (minServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minServeNodes_); } if (maxServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxServeNodes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,16 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingLimits)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingLimits other = - (com.google.bigtable.admin.v2.AutoscalingLimits) obj; + com.google.bigtable.admin.v2.AutoscalingLimits other = (com.google.bigtable.admin.v2.AutoscalingLimits) obj; - if (getMinServeNodes() != other.getMinServeNodes()) return false; - if (getMaxServeNodes() != other.getMaxServeNodes()) return false; + if (getMinServeNodes() + != other.getMinServeNodes()) return false; + if (getMaxServeNodes() + != other.getMaxServeNodes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -170,136 +149,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Limits for the number of nodes a Cluster can autoscale up/down to.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingLimits) com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override @@ -331,11 +306,8 @@ public com.google.bigtable.admin.v2.AutoscalingLimits build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits buildPartial() { - com.google.bigtable.admin.v2.AutoscalingLimits result = - new com.google.bigtable.admin.v2.AutoscalingLimits(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingLimits result = new com.google.bigtable.admin.v2.AutoscalingLimits(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -354,39 +326,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingLimits result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingLimits) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits)other); } else { super.mergeFrom(other); return this; @@ -427,25 +398,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - maxServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,19 +423,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int minServeNodes_; + private int minServeNodes_ ; /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -475,14 +439,11 @@ public int getMinServeNodes() { return minServeNodes_; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The minServeNodes to set. * @return This builder for chaining. */ @@ -494,14 +455,11 @@ public Builder setMinServeNodes(int value) { return this; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMinServeNodes() { @@ -511,16 +469,13 @@ public Builder clearMinServeNodes() { return this; } - private int maxServeNodes_; + private int maxServeNodes_ ; /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -528,14 +483,11 @@ public int getMaxServeNodes() { return maxServeNodes_; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxServeNodes to set. * @return This builder for chaining. */ @@ -547,14 +499,11 @@ public Builder setMaxServeNodes(int value) { return this; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxServeNodes() { @@ -563,9 +512,9 @@ public Builder clearMaxServeNodes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -575,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingLimits) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingLimits) private static final com.google.bigtable.admin.v2.AutoscalingLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingLimits(); } @@ -589,27 +538,27 @@ public static com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -624,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java similarity index 54% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java index 78523a08c2..3f18d278e8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java @@ -1,51 +1,29 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface AutoscalingLimitsOrBuilder - extends +public interface AutoscalingLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AutoscalingLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ int getMinServeNodes(); /** - * - * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ int getMaxServeNodes(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java index cbce3ed6d1..38e5a61357 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto @@ -20,52 +5,47 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The Autoscaling targets for a Cluster. These determine the recommended nodes.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ -public final class AutoscalingTargets extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingTargets extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingTargets) AutoscalingTargetsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingTargets.newBuilder() to construct. private AutoscalingTargets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingTargets() {} + private AutoscalingTargets() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingTargets(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER = 2; private int cpuUtilizationPercent_ = 0; /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -74,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -85,8 +64,6 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; private int storageUtilizationGibPerNode_ = 0; /** - * - * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -97,7 +74,6 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -106,7 +82,6 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,7 +93,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuUtilizationPercent_ != 0) { output.writeInt32(2, cpuUtilizationPercent_); } @@ -135,11 +111,12 @@ public int getSerializedSize() { size = 0; if (cpuUtilizationPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, cpuUtilizationPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, cpuUtilizationPercent_); } if (storageUtilizationGibPerNode_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(3, storageUtilizationGibPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, storageUtilizationGibPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,16 +126,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingTargets)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingTargets other = - (com.google.bigtable.admin.v2.AutoscalingTargets) obj; + com.google.bigtable.admin.v2.AutoscalingTargets other = (com.google.bigtable.admin.v2.AutoscalingTargets) obj; - if (getCpuUtilizationPercent() != other.getCpuUtilizationPercent()) return false; - if (getStorageUtilizationGibPerNode() != other.getStorageUtilizationGibPerNode()) return false; + if (getCpuUtilizationPercent() + != other.getCpuUtilizationPercent()) return false; + if (getStorageUtilizationGibPerNode() + != other.getStorageUtilizationGibPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,136 +157,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingTargets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Autoscaling targets for a Cluster. These determine the recommended nodes.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingTargets) com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override @@ -340,11 +314,8 @@ public com.google.bigtable.admin.v2.AutoscalingTargets build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets buildPartial() { - com.google.bigtable.admin.v2.AutoscalingTargets result = - new com.google.bigtable.admin.v2.AutoscalingTargets(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingTargets result = new com.google.bigtable.admin.v2.AutoscalingTargets(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +334,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingTargets resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingTargets) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets)other); } else { super.mergeFrom(other); return this; @@ -403,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.AutoscalingTargets other) { - if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) return this; if (other.getCpuUtilizationPercent() != 0) { setCpuUtilizationPercent(other.getCpuUtilizationPercent()); } @@ -437,25 +406,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - cpuUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - storageUtilizationGibPerNode_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + cpuUtilizationPercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + storageUtilizationGibPerNode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,13 +431,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuUtilizationPercent_; + private int cpuUtilizationPercent_ ; /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -480,7 +443,6 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -488,8 +450,6 @@ public int getCpuUtilizationPercent() { return cpuUtilizationPercent_; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -498,7 +458,6 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; - * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ @@ -510,8 +469,6 @@ public Builder setCpuUtilizationPercent(int value) { return this; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -520,7 +477,6 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; - * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { @@ -530,10 +486,8 @@ public Builder clearCpuUtilizationPercent() { return this; } - private int storageUtilizationGibPerNode_; + private int storageUtilizationGibPerNode_ ; /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -544,7 +498,6 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -552,8 +505,6 @@ public int getStorageUtilizationGibPerNode() { return storageUtilizationGibPerNode_; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -564,7 +515,6 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ @@ -576,8 +526,6 @@ public Builder setStorageUtilizationGibPerNode(int value) { return this; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -588,7 +536,6 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { @@ -597,9 +544,9 @@ public Builder clearStorageUtilizationGibPerNode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,12 +556,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingTargets) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingTargets) private static final com.google.bigtable.admin.v2.AutoscalingTargets DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingTargets(); } @@ -623,27 +570,27 @@ public static com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingTargets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingTargets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,4 +605,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java index a1053a0658..a38f9a14ea 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface AutoscalingTargetsOrBuilder - extends +public interface AutoscalingTargetsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AutoscalingTargets) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -35,14 +17,11 @@ public interface AutoscalingTargetsOrBuilder
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ int getCpuUtilizationPercent(); /** - * - * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -53,7 +32,6 @@ public interface AutoscalingTargetsOrBuilder
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ int getStorageUtilizationGibPerNode(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java index c494e971fc..9051e17904 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A backup of a Cloud Bigtable table.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.Backup} */ -public final class Backup extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Backup extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Backup() { name_ = ""; sourceTable_ = ""; @@ -47,38 +29,34 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } /** - * - * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -87,8 +65,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -111,8 +85,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -121,8 +93,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -132,8 +102,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -142,6 +110,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,49 +135,49 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return READY; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return READY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Backup.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -227,12 +196,9 @@ private State(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -247,7 +213,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -256,15 +221,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -279,15 +243,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -296,22 +261,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ @java.lang.Override @@ -320,33 +279,31 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -355,12 +312,9 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -368,7 +322,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ @java.lang.Override @@ -377,15 +330,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -393,15 +345,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -412,8 +365,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -422,9 +373,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -432,8 +381,6 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -442,9 +389,7 @@ public boolean hasExpireTime() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -452,8 +397,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -462,8 +405,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -473,8 +415,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -483,9 +423,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -493,8 +431,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -503,9 +439,7 @@ public boolean hasStartTime() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -513,8 +447,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -523,8 +455,7 @@ public com.google.protobuf.Timestamp getStartTime() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -534,16 +465,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -551,16 +478,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -568,15 +491,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -586,14 +506,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -604,55 +521,37 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 9; private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -660,44 +559,30 @@ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -709,7 +594,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -753,22 +639,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceTable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, sizeBytes_); } if (state_ != com.google.bigtable.admin.v2.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sourceBackup_); @@ -781,33 +673,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Backup)) { return super.equals(obj); } com.google.bigtable.admin.v2.Backup other = (com.google.bigtable.admin.v2.Backup) obj; - if (!getName().equals(other.getName())) return false; - if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (state_ != other.state_) return false; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -839,7 +739,8 @@ public int hashCode() { hash = (53 * hash) + getEndTime().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (hasEncryptionInfo()) { @@ -851,126 +752,120 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Backup parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Backup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A backup of a Cloud Bigtable table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Backup} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Backup) com.google.bigtable.admin.v2.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } // Construct using com.google.bigtable.admin.v2.Backup.newBuilder() @@ -978,20 +873,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExpireTimeFieldBuilder(); getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); getEncryptionInfoFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1025,9 +920,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override @@ -1047,9 +942,7 @@ public com.google.bigtable.admin.v2.Backup build() { @java.lang.Override public com.google.bigtable.admin.v2.Backup buildPartial() { com.google.bigtable.admin.v2.Backup result = new com.google.bigtable.admin.v2.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1067,15 +960,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000040) != 0)) { @@ -1085,8 +984,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; @@ -1096,39 +996,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Backup) { - return mergeFrom((com.google.bigtable.admin.v2.Backup) other); + return mergeFrom((com.google.bigtable.admin.v2.Backup)other); } else { super.mergeFrom(other); return this; @@ -1196,67 +1095,65 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 74: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 74: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1266,13 +1163,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1287,13 +1181,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1302,8 +1196,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1318,14 +1210,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1333,8 +1226,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1349,22 +1240,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1379,7 +1266,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1389,8 +1275,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1405,14 +1289,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1422,24 +1304,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -1448,25 +1326,22 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -1474,43 +1349,32 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1520,25 +1384,19 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -1548,8 +1406,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1557,13 +1413,13 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1572,8 +1428,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1581,14 +1435,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1596,8 +1451,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1605,22 +1458,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1628,7 +1477,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1638,8 +1486,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1647,14 +1493,12 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1664,13 +1508,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1679,17 +1518,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1698,23 +1533,17 @@ public boolean hasExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1723,8 +1552,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1740,8 +1568,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1750,10 +1576,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1764,8 +1590,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1774,14 +1598,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1796,8 +1619,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1806,8 +1627,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1820,8 +1640,6 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1830,8 +1648,7 @@ public Builder clearExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1839,8 +1656,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1849,21 +1664,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1872,21 +1683,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1894,13 +1701,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1909,17 +1711,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1928,9 +1726,7 @@ public boolean hasStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1941,8 +1737,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1951,8 +1745,7 @@ public com.google.protobuf.Timestamp getStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1968,8 +1761,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1978,10 +1769,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1992,8 +1783,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2002,14 +1791,13 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2024,8 +1812,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2034,8 +1820,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2048,8 +1833,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2058,8 +1841,7 @@ public Builder clearStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2067,8 +1849,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2077,19 +1857,17 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2098,21 +1876,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2120,37 +1894,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2161,15 +1924,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2185,17 +1945,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2206,21 +1964,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2235,15 +1990,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2256,15 +2008,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2272,61 +2021,50 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2334,14 +2072,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -2353,14 +2088,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2372,33 +2104,22 @@ public Builder clearSizeBytes() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2409,35 +2130,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2451,16 +2161,11 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2472,58 +2177,39 @@ public Builder clearState() { private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2539,15 +2225,11 @@ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -2561,22 +2243,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -2591,15 +2268,11 @@ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo v return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2612,15 +2285,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000100; @@ -2628,55 +2297,43 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2686,12 +2343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Backup) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Backup) private static final com.google.bigtable.admin.v2.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Backup(); } @@ -2700,27 +2357,27 @@ public static com.google.bigtable.admin.v2.Backup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Backup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Backup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2735,4 +2392,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java index 9b15de841d..63969369fe 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Information about a backup.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.BackupInfo} */ -public final class BackupInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.BackupInfo) BackupInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupInfo.newBuilder() to construct. private BackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupInfo() { backup_ = ""; sourceTable_ = ""; @@ -46,39 +28,34 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } private int bitField0_; public static final int BACKUP_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; } } /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -120,16 +97,12 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -137,16 +110,12 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -154,15 +123,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -172,16 +138,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -189,16 +151,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -206,15 +164,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -222,18 +177,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ @java.lang.Override @@ -242,29 +193,29 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -273,12 +224,9 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -286,7 +234,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ @java.lang.Override @@ -295,15 +242,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -311,15 +257,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -328,7 +275,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -369,10 +316,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, backup_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTable_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceTable_); @@ -388,24 +337,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.BackupInfo)) { return super.equals(obj); } com.google.bigtable.admin.v2.BackupInfo other = (com.google.bigtable.admin.v2.BackupInfo) obj; - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -436,127 +390,120 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.BackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.BackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a backup.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.BackupInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.BackupInfo) com.google.bigtable.admin.v2.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.BackupInfo.newBuilder() @@ -564,18 +511,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -597,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override @@ -618,11 +565,8 @@ public com.google.bigtable.admin.v2.BackupInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo buildPartial() { - com.google.bigtable.admin.v2.BackupInfo result = - new com.google.bigtable.admin.v2.BackupInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.BackupInfo result = new com.google.bigtable.admin.v2.BackupInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -634,11 +578,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -654,39 +602,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.BackupInfo) { - return mergeFrom((com.google.bigtable.admin.v2.BackupInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.BackupInfo)other); } else { super.mergeFrom(other); return this; @@ -742,43 +689,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 82: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 82: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -788,25 +733,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backup_ = ""; /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ public java.lang.String getBackup() { java.lang.Object ref = backup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; @@ -815,21 +757,20 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -837,35 +778,28 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -875,21 +809,17 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backup_ = value; bitField0_ |= 0x00000001; @@ -899,37 +829,26 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -940,15 +859,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -964,17 +880,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -985,21 +899,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1014,15 +925,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1035,15 +943,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -1051,46 +956,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1098,37 +995,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1139,15 +1025,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1163,17 +1046,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1184,21 +1065,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1213,15 +1091,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1234,15 +1109,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1250,46 +1122,38 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1297,20 +1161,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -1319,21 +1181,20 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -1341,35 +1202,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1379,21 +1233,17 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000008; @@ -1403,8 +1253,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1412,13 +1260,13 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1427,8 +1275,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1436,14 +1282,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1451,8 +1298,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1460,22 +1305,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1483,7 +1324,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1493,8 +1333,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Output only. Name of the backup from which this backup was copied. If a
      * backup is not created by copying a backup, this field will be empty. Values
@@ -1502,23 +1340,21 @@ public Builder clearSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1528,12 +1364,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.BackupInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.BackupInfo) private static final com.google.bigtable.admin.v2.BackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.BackupInfo(); } @@ -1542,27 +1378,27 @@ public static com.google.bigtable.admin.v2.BackupInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1577,4 +1413,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.BackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java index d450af9277..9ba0d59bf1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java @@ -1,164 +1,114 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface BackupInfoOrBuilder - extends +public interface BackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.BackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + com.google.protobuf.ByteString + getSourceTableBytes(); /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -166,13 +116,10 @@ public interface BackupInfoOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -180,8 +127,8 @@ public interface BackupInfoOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java index b23fd3ff4d..7e3c83907d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java index 03ac3e0d58..13624bc0bd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -41,13 +23,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -62,47 +41,36 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + com.google.protobuf.ByteString + getSourceTableBytes(); /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -110,13 +78,10 @@ public interface BackupOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Output only. Name of the backup from which this backup was copied. If a
    * backup is not created by copying a backup, this field will be empty. Values
@@ -124,14 +89,12 @@ public interface BackupOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -140,15 +103,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -157,15 +116,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -174,14 +129,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -190,15 +142,11 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -207,15 +155,11 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -224,132 +168,93 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Backup.State getState(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java new file mode 100644 index 0000000000..8190875f3a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -0,0 +1,619 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public final class BigtableInstanceAdminProto { + private BigtableInstanceAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/bigtable/admin/v2/bigtable_inst" + + "ance_admin.proto\022\030google.bigtable.admin." + + "v2\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032\'g" + + "oogle/bigtable/admin/v2/instance.proto\032\036" + + "google/iam/v1/iam_policy.proto\032\032google/i" + + "am/v1/policy.proto\032#google/longrunning/o" + + "perations.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\"\333\002\n\025Crea" + + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" + + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" + + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" + + "igtable.admin.v2.CreateInstanceRequest.C" + + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" + + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" + + ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\"o\n\024ListInstance" + + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\022\022\n" + + "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" + + "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" + + ".admin.v2.Instance\022\030\n\020failed_locations\030\002" + + " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" + + "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" + + "2\".google.bigtable.admin.v2.InstanceB\003\340A" + + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" + + "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" + + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\022\027\n\ncluster" + + "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" + + ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" + + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" + + "ableadmin.googleapis.com/Cluster\"h\n\023List" + + "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\022" + + "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" + + "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" + + "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" + + "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" + + "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" + + "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" + + "eInstanceMetadata\022I\n\020original_request\030\001 " + + "\001(\0132/.google.bigtable.admin.v2.CreateIns" + + "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" + + "teInstanceMetadata\022P\n\020original_request\030\001" + + " \001(\01326.google.bigtable.admin.v2.PartialU" + + "pdateInstanceRequest\0220\n\014request_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" + + "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" + + "reateClusterRequest\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" + + "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" + + "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" + + "TableProgress\022\034\n\024estimated_size_bytes\030\002 " + + "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" + + "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress.State\"" + + "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" + + "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" + + "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" + + "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress:\0028\001\"\267\001" + + "\n\025UpdateClusterMetadata\022;\n\020original_requ" + + "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" + + "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" + + "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022/\n\013finish_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" + + "riginal_request\030\003 \001(\01325.google.bigtable." + + "admin.v2.PartialUpdateClusterRequest\"\214\001\n" + + "\033PartialUpdateClusterRequest\0227\n\007cluster\030" + + "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" + + "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" + + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\022\033\n\016app_pr" + + "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" + + "2$.google.bigtable.admin.v2.AppProfileB\003" + + "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" + + "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" + + "ableadmin.googleapis.com/AppProfile\"~\n\026L" + + "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" + + "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" + + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " + + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" + + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" + + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" + + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" + + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" + + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" + + "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" + + "A)\n\'bigtableadmin.googleapis.com/AppProf" + + "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" + + "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" + + "eadmin.googleapis.com/Cluster\022.\n\nstart_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" + + "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" + + "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" + + "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" + + "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" + + "oogle.bigtable.admin.v2.CreateInstanceRe" + + "quest\032\035.google.longrunning.Operation\"x\312A" + + "\"\n\010Instance\022\026CreateInstanceMetadata\332A$pa" + + "rent,instance_id,instance,clusters\202\323\344\223\002&" + + "\"!/v2/{parent=projects/*}/instances:\001*\022\221" + + "\001\n\013GetInstance\022,.google.bigtable.admin.v" + + "2.GetInstanceRequest\032\".google.bigtable.a" + + "dmin.v2.Instance\"0\332A\004name\202\323\344\223\002#\022!/v2/{na" + + "me=projects/*/instances/*}\022\244\001\n\rListInsta" + + "nces\022..google.bigtable.admin.v2.ListInst" + + "ancesRequest\032/.google.bigtable.admin.v2." + + "ListInstancesResponse\"2\332A\006parent\202\323\344\223\002#\022!" + + "/v2/{parent=projects/*}/instances\022\206\001\n\016Up" + + "dateInstance\022\".google.bigtable.admin.v2." + + "Instance\032\".google.bigtable.admin.v2.Inst" + + "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" + + "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" + + "oogle.bigtable.admin.v2.PartialUpdateIns" + + "tanceRequest\032\035.google.longrunning.Operat" + + "ion\"x\312A\"\n\010Instance\022\026UpdateInstanceMetada" + + "ta\332A\024instance,update_mask\202\323\344\223\00262*/v2/{in" + + "stance.name=projects/*/instances/*}:\010ins" + + "tance\022\213\001\n\016DeleteInstance\022/.google.bigtab" + + "le.admin.v2.DeleteInstanceRequest\032\026.goog" + + "le.protobuf.Empty\"0\332A\004name\202\323\344\223\002#*!/v2/{n" + + "ame=projects/*/instances/*}\022\334\001\n\rCreateCl" + + "uster\022..google.bigtable.admin.v2.CreateC" + + "lusterRequest\032\035.google.longrunning.Opera" + + "tion\"|\312A \n\007Cluster\022\025CreateClusterMetadat" + + "a\332A\031parent,cluster_id,cluster\202\323\344\223\0027\",/v2" + + "/{parent=projects/*/instances/*}/cluster" + + "s:\007cluster\022\231\001\n\nGetCluster\022+.google.bigta" + + "ble.admin.v2.GetClusterRequest\032!.google." + + "bigtable.admin.v2.Cluster\";\332A\004name\202\323\344\223\002." + + "\022,/v2/{name=projects/*/instances/*/clust" + + "ers/*}\022\254\001\n\014ListClusters\022-.google.bigtabl" + + "e.admin.v2.ListClustersRequest\032..google." + + "bigtable.admin.v2.ListClustersResponse\"=" + + "\332A\006parent\202\323\344\223\002.\022,/v2/{parent=projects/*/" + + "instances/*}/clusters\022\255\001\n\rUpdateCluster\022" + + "!.google.bigtable.admin.v2.Cluster\032\035.goo" + + "gle.longrunning.Operation\"Z\312A \n\007Cluster\022" + + "\025UpdateClusterMetadata\202\323\344\223\0021\032,/v2/{name=" + + "projects/*/instances/*/clusters/*}:\001*\022\364\001" + + "\n\024PartialUpdateCluster\0225.google.bigtable" + + ".admin.v2.PartialUpdateClusterRequest\032\035." + + "google.longrunning.Operation\"\205\001\312A\'\n\007Clus" + + "ter\022\034PartialUpdateClusterMetadata\332A\023clus" + + "ter,update_mask\202\323\344\223\002?24/v2/{cluster.name" + + "=projects/*/instances/*/clusters/*}:\007clu" + + "ster\022\224\001\n\rDeleteCluster\022..google.bigtable" + + ".admin.v2.DeleteClusterRequest\032\026.google." + + "protobuf.Empty\";\332A\004name\202\323\344\223\002.*,/v2/{name" + + "=projects/*/instances/*/clusters/*}\022\325\001\n\020" + + "CreateAppProfile\0221.google.bigtable.admin" + + ".v2.CreateAppProfileRequest\032$.google.big" + + "table.admin.v2.AppProfile\"h\332A!parent,app" + + "_profile_id,app_profile\202\323\344\223\002>\"//v2/{pare" + + "nt=projects/*/instances/*}/appProfiles:\013" + + "app_profile\022\245\001\n\rGetAppProfile\022..google.b" + + "igtable.admin.v2.GetAppProfileRequest\032$." + + "google.bigtable.admin.v2.AppProfile\">\332A\004" + + "name\202\323\344\223\0021\022//v2/{name=projects/*/instanc" + + "es/*/appProfiles/*}\022\270\001\n\017ListAppProfiles\022" + + "0.google.bigtable.admin.v2.ListAppProfil" + + "esRequest\0321.google.bigtable.admin.v2.Lis" + + "tAppProfilesResponse\"@\332A\006parent\202\323\344\223\0021\022//" + + "v2/{parent=projects/*/instances/*}/appPr" + + "ofiles\022\372\001\n\020UpdateAppProfile\0221.google.big" + + "table.admin.v2.UpdateAppProfileRequest\032\035" + + ".google.longrunning.Operation\"\223\001\312A&\n\nApp" + + "Profile\022\030UpdateAppProfileMetadata\332A\027app_" + + "profile,update_mask\202\323\344\223\002J2;/v2/{app_prof" + + "ile.name=projects/*/instances/*/appProfi" + + "les/*}:\013app_profile\022\235\001\n\020DeleteAppProfile" + + "\0221.google.bigtable.admin.v2.DeleteAppPro" + + "fileRequest\032\026.google.protobuf.Empty\">\332A\004" + + "name\202\323\344\223\0021*//v2/{name=projects/*/instanc" + + "es/*/appProfiles/*}\022\223\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"H\332A\010resource\202\323\344\223\0027\"2/v2/" + + "{resource=projects/*/instances/*}:getIam" + + "Policy:\001*\022\232\001\n\014SetIamPolicy\022\".google.iam." + + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + + "olicy\"O\332A\017resource,policy\202\323\344\223\0027\"2/v2/{re" + + "source=projects/*/instances/*}:setIamPol" + + "icy:\001*\022\305\001\n\022TestIamPermissions\022(.google.i" + + "am.v1.TestIamPermissionsRequest\032).google" + + ".iam.v1.TestIamPermissionsResponse\"Z\332A\024r" + + "esource,permissions\202\323\344\223\002=\"8/v2/{resource" + + "=projects/*/instances/*}:testIamPermissi" + + "ons:\001*\022\277\001\n\016ListHotTablets\022/.google.bigta" + + "ble.admin.v2.ListHotTabletsRequest\0320.goo" + + "gle.bigtable.admin.v2.ListHotTabletsResp" + + "onse\"J\332A\006parent\202\323\344\223\002;\0229/v2/{parent=proje" + + "cts/*/instances/*/clusters/*}/hotTablets" + + "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" + + "tps://www.googleapis.com/auth/bigtable.a" + + "dmin,https://www.googleapis.com/auth/big" + + "table.admin.cluster,https://www.googleap" + + "is.com/auth/bigtable.admin.instance,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin,https://www.googleapis.com/auth" + + "/cloud-bigtable.admin.cluster,https://ww" + + "w.googleapis.com/auth/cloud-platform,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" + + "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/bigt" + + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" + + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" + + "in\\V2\352\002\"Google::Cloud::Bigtable::Admin::" + + "V2b\006proto3" + }; + 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.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 = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "Clusters", }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", }); + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, + new java.lang.String[] { "Clusters", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", "Tables", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, + new java.lang.String[] { "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, + new java.lang.String[] { "RequestTime", "FinishTime", "OriginalRequest", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, + new java.lang.String[] { "Cluster", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, + new java.lang.String[] { "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, + new java.lang.String[] { "AppProfiles", "NextPageToken", "FailedLocations", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, + new java.lang.String[] { "AppProfile", "UpdateMask", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, + new java.lang.String[] { "Name", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, + new java.lang.String[] { "Parent", "StartTime", "EndTime", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, + new java.lang.String[] { "HotTablets", "NextPageToken", }); + 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.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java new file mode 100644 index 0000000000..88bb76e4b8 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -0,0 +1,763 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public final class BigtableTableAdminProto { + private BigtableTableAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/bigtable/admin/v2/bigtable_tabl" + + "e_admin.proto\022\030google.bigtable.admin.v2\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032%goog" + + "le/bigtable/admin/v2/common.proto\032$googl" + + "e/bigtable/admin/v2/table.proto\032\036google/" + + "iam/v1/iam_policy.proto\032\032google/iam/v1/p" + + "olicy.proto\032#google/longrunning/operatio" + + "ns.proto\032\036google/protobuf/duration.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\032\037google/protobuf" + + "/timestamp.proto\"\261\001\n\023RestoreTableRequest" + + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + + "ource_type\030\002 \001(\0162+.google.bigtable.admin" + + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + + "(\0132$.google.bigtable.admin.v2.BackupInfo" + + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + + "min.v2.OperationProgressB\r\n\013source_info\"" + + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + + "le.admin.v2.OperationProgress\"\201\002\n\022Create" + + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + + "gtableadmin.googleapis.com/Instance\022\025\n\010t" + + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + + "al_splits\030\004 \003(\01322.google.bigtable.admin." + + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Instance\022\025\n\010table_id\030" + + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + + "\0162$.google.bigtable.admin.v2.Table.View\"" + + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + + "googleapis.com/Table\"P\n\024UndeleteTableReq" + + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\375\002\n" + + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest.ModificationB\003\340A\002\022\034\n\017ignore_warning" + + "s\030\003 \001(\010B\003\340A\001\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(" + + "\t\0228\n\006create\030\002 \001(\0132&.google.bigtable.admi" + + "n.v2.ColumnFamilyH\000\0228\n\006update\030\003 \001(\0132&.go" + + "ogle.bigtable.admin.v2.ColumnFamilyH\000\022\016\n" + + "\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037GenerateConsiste" + + "ncyTokenRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"b" + + "igtableadmin.googleapis.com/Table\"=\n Gen" + + "erateConsistencyTokenResponse\022\031\n\021consist" + + "ency_token\030\001 \001(\t\"s\n\027CheckConsistencyRequ" + + "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin" + + ".googleapis.com/Table\022\036\n\021consistency_tok" + + "en\030\002 \001(\tB\003\340A\002\".\n\030CheckConsistencyRespons" + + "e\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024SnapshotTableR" + + "equest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022=\n\007cluster\030\002 \001(" + + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + + "Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003\340A\002\022&\n\003ttl" + + "\030\004 \001(\0132\031.google.protobuf.Duration\022\023\n\013des" + + "cription\030\005 \001(\t\"Q\n\022GetSnapshotRequest\022;\n\004" + + "name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.google" + + "apis.com/Snapshot\"{\n\024ListSnapshotsReques" + + "t\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin" + + ".googleapis.com/Cluster\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsR" + + "esponse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigt" + + "able.admin.v2.Snapshot\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"T\n\025DeleteSnapshotRequest\022;\n\004name" + + "\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Snapshot\"\304\001\n\025SnapshotTableMetadata\022" + + "H\n\020original_request\030\001 \001(\0132..google.bigta" + + "ble.admin.v2.SnapshotTableRequest\0220\n\014req" + + "uest_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "amp\022/\n\013finish_time\030\003 \001(\0132\032.google.protob" + + "uf.Timestamp\"\330\001\n\037CreateTableFromSnapshot" + + "Metadata\022R\n\020original_request\030\001 \001(\01328.goo" + + "gle.bigtable.admin.v2.CreateTableFromSna" + + "pshotRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\"\242\001\n\023Crea" + + "teBackupRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n" + + "$bigtableadmin.googleapis.com/Cluster\022\026\n" + + "\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backup\030\003 \001(\0132 ." + + "google.bigtable.admin.v2.BackupB\003\340A\002\"\230\001\n" + + "\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014s" + + "ource_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032." + + "google.protobuf.Timestamp\022,\n\010end_time\030\004 " + + "\001(\0132\032.google.protobuf.Timestamp\"\202\001\n\023Upda" + + "teBackupRequest\0225\n\006backup\030\001 \001(\0132 .google" + + ".bigtable.admin.v2.BackupB\003\340A\002\0224\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" + + "\003\340A\002\"M\n\020GetBackupRequest\0229\n\004name\030\001 \001(\tB+" + + "\340A\002\372A%\n#bigtableadmin.googleapis.com/Bac" + + "kup\"P\n\023DeleteBackupRequest\0229\n\004name\030\001 \001(\t" + + "B+\340A\002\372A%\n#bigtableadmin.googleapis.com/B" + + "ackup\"\233\001\n\022ListBackupsRequest\022<\n\006parent\030\001" + + " \001(\tB,\340A\002\372A&\n$bigtableadmin.googleapis.c" + + "om/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003" + + " \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 " + + "\001(\t\"a\n\023ListBackupsResponse\0221\n\007backups\030\001 " + + "\003(\0132 .google.bigtable.admin.v2.Backup\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\343\001\n\021CopyBackupReq" + + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtablead" + + "min.googleapis.com/Cluster\022\026\n\tbackup_id\030" + + "\002 \001(\tB\003\340A\002\022B\n\rsource_backup\030\003 \001(\tB+\340A\002\372A" + + "%\n#bigtableadmin.googleapis.com/Backup\0224" + + "\n\013expire_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\002\"\315\001\n\022CopyBackupMetadata\0226\n\004n" + + "ame\030\001 \001(\tB(\372A%\n#bigtableadmin.googleapis" + + ".com/Backup\022@\n\022source_backup_info\030\002 \001(\0132" + + "$.google.bigtable.admin.v2.BackupInfo\022=\n" + + "\010progress\030\003 \001(\0132+.google.bigtable.admin." + + "v2.OperationProgress2\242*\n\022BigtableTableAd" + + "min\022\253\001\n\013CreateTable\022,.google.bigtable.ad" + + "min.v2.CreateTableRequest\032\037.google.bigta" + + "ble.admin.v2.Table\"M\332A\025parent,table_id,t" + + "able\202\323\344\223\002/\"*/v2/{parent=projects/*/insta" + + "nces/*}/tables:\001*\022\212\002\n\027CreateTableFromSna" + + "pshot\0228.google.bigtable.admin.v2.CreateT" + + "ableFromSnapshotRequest\032\035.google.longrun" + + "ning.Operation\"\225\001\312A(\n\005Table\022\037CreateTable" + + "FromSnapshotMetadata\332A\037parent,table_id,s" + + "ource_snapshot\202\323\344\223\002B\"=/v2/{parent=projec" + + "ts/*/instances/*}/tables:createFromSnaps" + + "hot:\001*\022\244\001\n\nListTables\022+.google.bigtable." + + "admin.v2.ListTablesRequest\032,.google.bigt" + + "able.admin.v2.ListTablesResponse\";\332A\006par" + + "ent\202\323\344\223\002,\022*/v2/{parent=projects/*/instan" + + "ces/*}/tables\022\221\001\n\010GetTable\022).google.bigt" + + "able.admin.v2.GetTableRequest\032\037.google.b" + + "igtable.admin.v2.Table\"9\332A\004name\202\323\344\223\002,\022*/" + + "v2/{name=projects/*/instances/*/tables/*" + + "}\022\316\001\n\013UpdateTable\022,.google.bigtable.admi" + + "n.v2.UpdateTableRequest\032\035.google.longrun" + + "ning.Operation\"r\312A\034\n\005Table\022\023UpdateTableM" + + "etadata\332A\021table,update_mask\202\323\344\223\002920/v2/{" + + "table.name=projects/*/instances/*/tables" + + "/*}:\005table\022\216\001\n\013DeleteTable\022,.google.bigt" + + "able.admin.v2.DeleteTableRequest\032\026.googl" + + "e.protobuf.Empty\"9\332A\004name\202\323\344\223\002,**/v2/{na" + + "me=projects/*/instances/*/tables/*}\022\306\001\n\r" + + "UndeleteTable\022..google.bigtable.admin.v2" + + ".UndeleteTableRequest\032\035.google.longrunni" + + "ng.Operation\"f\312A\036\n\005Table\022\025UndeleteTableM" + + "etadata\332A\004name\202\323\344\223\0028\"3/v2/{name=projects" + + "/*/instances/*/tables/*}:undelete:\001*\022\317\001\n" + + "\024ModifyColumnFamilies\0225.google.bigtable." + + "admin.v2.ModifyColumnFamiliesRequest\032\037.g" + + "oogle.bigtable.admin.v2.Table\"_\332A\022name,m" + + "odifications\202\323\344\223\002D\"?/v2/{name=projects/*" + + "/instances/*/tables/*}:modifyColumnFamil" + + "ies:\001*\022\231\001\n\014DropRowRange\022-.google.bigtabl" + + "e.admin.v2.DropRowRangeRequest\032\026.google." + + "protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{name=projec" + + "ts/*/instances/*/tables/*}:dropRowRange:" + + "\001*\022\350\001\n\030GenerateConsistencyToken\0229.google" + + ".bigtable.admin.v2.GenerateConsistencyTo" + + "kenRequest\032:.google.bigtable.admin.v2.Ge" + + "nerateConsistencyTokenResponse\"U\332A\004name\202" + + "\323\344\223\002H\"C/v2/{name=projects/*/instances/*/" + + "tables/*}:generateConsistencyToken:\001*\022\332\001" + + "\n\020CheckConsistency\0221.google.bigtable.adm" + + "in.v2.CheckConsistencyRequest\0322.google.b" + + "igtable.admin.v2.CheckConsistencyRespons" + + "e\"_\332A\026name,consistency_token\202\323\344\223\002@\";/v2/" + + "{name=projects/*/instances/*/tables/*}:c" + + "heckConsistency:\001*\022\352\001\n\rSnapshotTable\022..g" + + "oogle.bigtable.admin.v2.SnapshotTableReq" + + "uest\032\035.google.longrunning.Operation\"\211\001\312A" + + "!\n\010Snapshot\022\025SnapshotTableMetadata\332A$nam" + + "e,cluster,snapshot_id,description\202\323\344\223\0028\"" + + "3/v2/{name=projects/*/instances/*/tables" + + "/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022,.google" + + ".bigtable.admin.v2.GetSnapshotRequest\032\"." + + "google.bigtable.admin.v2.Snapshot\"G\332A\004na" + + "me\202\323\344\223\002:\0228/v2/{name=projects/*/instances" + + "/*/clusters/*/snapshots/*}\022\273\001\n\rListSnaps" + + "hots\022..google.bigtable.admin.v2.ListSnap" + + "shotsRequest\032/.google.bigtable.admin.v2." + + "ListSnapshotsResponse\"I\332A\006parent\202\323\344\223\002:\0228" + + "/v2/{parent=projects/*/instances/*/clust" + + "ers/*}/snapshots\022\242\001\n\016DeleteSnapshot\022/.go" + + "ogle.bigtable.admin.v2.DeleteSnapshotReq" + + "uest\032\026.google.protobuf.Empty\"G\332A\004name\202\323\344" + + "\223\002:*8/v2/{name=projects/*/instances/*/cl" + + "usters/*/snapshots/*}\022\340\001\n\014CreateBackup\022-" + + ".google.bigtable.admin.v2.CreateBackupRe" + + "quest\032\035.google.longrunning.Operation\"\201\001\312" + + "A\036\n\006Backup\022\024CreateBackupMetadata\332A\027paren" + + "t,backup_id,backup\202\323\344\223\002@\"6/v2/{parent=pr" + + "ojects/*/instances/*/clusters/*}/backups" + + ":\006backup\022\240\001\n\tGetBackup\022*.google.bigtable" + + ".admin.v2.GetBackupRequest\032 .google.bigt" + + "able.admin.v2.Backup\"E\332A\004name\202\323\344\223\0028\0226/v2" + + "/{name=projects/*/instances/*/clusters/*" + + "/backups/*}\022\303\001\n\014UpdateBackup\022-.google.bi" + + "gtable.admin.v2.UpdateBackupRequest\032 .go" + + "ogle.bigtable.admin.v2.Backup\"b\332A\022backup" + + ",update_mask\202\323\344\223\002G2=/v2/{backup.name=pro" + + "jects/*/instances/*/clusters/*/backups/*" + + "}:\006backup\022\234\001\n\014DeleteBackup\022-.google.bigt" + + "able.admin.v2.DeleteBackupRequest\032\026.goog" + + "le.protobuf.Empty\"E\332A\004name\202\323\344\223\0028*6/v2/{n" + + "ame=projects/*/instances/*/clusters/*/ba" + + "ckups/*}\022\263\001\n\013ListBackups\022,.google.bigtab" + + "le.admin.v2.ListBackupsRequest\032-.google." + + "bigtable.admin.v2.ListBackupsResponse\"G\332" + + "A\006parent\202\323\344\223\0028\0226/v2/{parent=projects/*/i" + + "nstances/*/clusters/*}/backups\022\273\001\n\014Resto" + + "reTable\022-.google.bigtable.admin.v2.Resto" + + "reTableRequest\032\035.google.longrunning.Oper" + + "ation\"]\312A\035\n\005Table\022\024RestoreTableMetadata\202" + + "\323\344\223\0027\"2/v2/{parent=projects/*/instances/" + + "*}/tables:restore:\001*\022\355\001\n\nCopyBackup\022+.go" + + "ogle.bigtable.admin.v2.CopyBackupRequest" + + "\032\035.google.longrunning.Operation\"\222\001\312A\034\n\006B" + + "ackup\022\022CopyBackupMetadata\332A*parent,backu" + + "p_id,source_backup,expire_time\202\323\344\223\002@\";/v" + + "2/{parent=projects/*/instances/*/cluster" + + "s/*}/backups:copy:\001*\022\354\001\n\014GetIamPolicy\022\"." + + "google.iam.v1.GetIamPolicyRequest\032\025.goog" + + "le.iam.v1.Policy\"\240\001\332A\010resource\202\323\344\223\002\216\001\";/" + + "v2/{resource=projects/*/instances/*/tabl" + + "es/*}:getIamPolicy:\001*ZL\"G/v2/{resource=p" + + "rojects/*/instances/*/clusters/*/backups" + + "/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPolicy\022\".g" + + "oogle.iam.v1.SetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"\247\001\332A\017resource,policy\202\323\344\223" + + "\002\216\001\";/v2/{resource=projects/*/instances/" + + "*/tables/*}:setIamPolicy:\001*ZL\"G/v2/{reso" + + "urce=projects/*/instances/*/clusters/*/b" + + "ackups/*}:setIamPolicy:\001*\022\244\002\n\022TestIamPer" + + "missions\022(.google.iam.v1.TestIamPermissi" + + "onsRequest\032).google.iam.v1.TestIamPermis" + + "sionsResponse\"\270\001\332A\024resource,permissions\202" + + "\323\344\223\002\232\001\"A/v2/{resource=projects/*/instanc" + + "es/*/tables/*}:testIamPermissions:\001*ZR\"M" + + "/v2/{resource=projects/*/instances/*/clu" + + "sters/*/backups/*}:testIamPermissions:\001*" + + "\032\336\002\312A\034bigtableadmin.googleapis.com\322A\273\002ht" + + "tps://www.googleapis.com/auth/bigtable.a" + + "dmin,https://www.googleapis.com/auth/big" + + "table.admin.table,https://www.googleapis" + + ".com/auth/cloud-bigtable.admin,https://w" + + "ww.googleapis.com/auth/cloud-bigtable.ad" + + "min.table,https://www.googleapis.com/aut" + + "h/cloud-platform,https://www.googleapis." + + "com/auth/cloud-platform.read-onlyB\337\001\n\034co" + + "m.google.bigtable.admin.v2B\027BigtableTabl" + + "eAdminProtoP\001Z=google.golang.org/genprot" + + "o/googleapis/bigtable/admin/v2;admin\252\002\036G" + + "oogle.Cloud.Bigtable.Admin.V2\312\002\036Google\\C" + + "loud\\Bigtable\\Admin\\V2\352\002\"Google::Cloud::" + + "Bigtable::Admin::V2b\006proto3" + }; + 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.admin.v2.CommonProto.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.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor, + new java.lang.String[] { "Parent", "TableId", "Backup", "Source", }); + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor, + new java.lang.String[] { "Name", "SourceType", "BackupInfo", "OptimizeTableOperationName", "Progress", "SourceInfo", }); + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor, + new java.lang.String[] { "Name", "Progress", }); + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor, + new java.lang.String[] { "Parent", "TableId", "Table", "InitialSplits", }); + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor = + internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor, + new java.lang.String[] { "Key", }); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor, + new java.lang.String[] { "Parent", "TableId", "SourceSnapshot", }); + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor, + new java.lang.String[] { "Name", "RowKeyPrefix", "DeleteAllDataFromTable", "Target", }); + internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor, + new java.lang.String[] { "Parent", "View", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor, + new java.lang.String[] { "Tables", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor, + new java.lang.String[] { "Table", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor, + new java.lang.String[] { "Name", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor, + new java.lang.String[] { "Name", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor, + new java.lang.String[] { "Name", "Modifications", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor = + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor, + new java.lang.String[] { "Id", "Create", "Update", "Drop", "Mod", }); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor, + new java.lang.String[] { "ConsistencyToken", }); + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor, + new java.lang.String[] { "Name", "ConsistencyToken", }); + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor, + new java.lang.String[] { "Consistent", }); + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor, + new java.lang.String[] { "Name", "Cluster", "SnapshotId", "Ttl", "Description", }); + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor, + new java.lang.String[] { "Snapshots", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "Backup", }); + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor, + new java.lang.String[] { "Name", "SourceTable", "StartTime", "EndTime", }); + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor, + new java.lang.String[] { "Backup", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "OrderBy", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor, + new java.lang.String[] { "Backups", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "SourceBackup", "ExpireTime", }); + internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor, + new java.lang.String[] { "Name", "SourceBackupInfo", "Progress", }); + 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.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.admin.v2.CommonProto.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.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java index 0ea6747cbb..c42450a751 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,53 +5,48 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Change stream configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ -public final class ChangeStreamConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeStreamConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ChangeStreamConfig) ChangeStreamConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeStreamConfig.newBuilder() to construct. private ChangeStreamConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ChangeStreamConfig() {} + private ChangeStreamConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeStreamConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } private int bitField0_; public static final int RETENTION_PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration retentionPeriod_; /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -76,7 +56,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -84,8 +63,6 @@ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -95,18 +72,13 @@ public boolean hasRetentionPeriod() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -119,13 +91,10 @@ public com.google.protobuf.Duration getRetentionPeriod() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
-    return retentionPeriod_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : retentionPeriod_;
+    return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -137,7 +106,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getRetentionPeriod());
     }
@@ -151,7 +121,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRetentionPeriod());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -161,17 +132,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ChangeStreamConfig)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ChangeStreamConfig other =
-        (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
+    com.google.bigtable.admin.v2.ChangeStreamConfig other = (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
 
     if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false;
     if (hasRetentionPeriod()) {
-      if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false;
+      if (!getRetentionPeriod()
+          .equals(other.getRetentionPeriod())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -193,127 +164,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ChangeStreamConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Change stream configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ChangeStreamConfig) com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.ChangeStreamConfig.newBuilder() @@ -321,17 +285,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRetentionPeriodFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override @@ -366,11 +330,8 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { - com.google.bigtable.admin.v2.ChangeStreamConfig result = - new com.google.bigtable.admin.v2.ChangeStreamConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ChangeStreamConfig result = new com.google.bigtable.admin.v2.ChangeStreamConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -379,8 +340,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig resul int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.retentionPeriod_ = - retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build(); + result.retentionPeriod_ = retentionPeriodBuilder_ == null + ? retentionPeriod_ + : retentionPeriodBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -390,39 +352,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ChangeStreamConfig) { - return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig)other); } else { super.mergeFrom(other); return this; @@ -430,8 +391,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ChangeStreamConfig other) { - if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) return this; if (other.hasRetentionPeriod()) { mergeRetentionPeriod(other.getRetentionPeriod()); } @@ -461,19 +421,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRetentionPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,18 +443,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration retentionPeriod_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - retentionPeriodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_; /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -504,15 +458,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -522,21 +473,16 @@ public boolean hasRetentionPeriod() {
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -561,8 +507,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -573,7 +517,8 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration retention_period = 1;
      */
-    public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRetentionPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (retentionPeriodBuilder_ == null) {
         retentionPeriod_ = builderForValue.build();
       } else {
@@ -584,8 +529,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -598,9 +541,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
      */
     public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       if (retentionPeriodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && retentionPeriod_ != null
-            && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          retentionPeriod_ != null &&
+          retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getRetentionPeriodBuilder().mergeFrom(value);
         } else {
           retentionPeriod_ = value;
@@ -615,8 +558,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -638,8 +579,6 @@ public Builder clearRetentionPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -656,8 +595,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() {
       return getRetentionPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -672,14 +609,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
       if (retentionPeriodBuilder_ != null) {
         return retentionPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return retentionPeriod_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : retentionPeriod_;
+        return retentionPeriod_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -691,24 +625,21 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
      * .google.protobuf.Duration retention_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getRetentionPeriodFieldBuilder() {
       if (retentionPeriodBuilder_ == null) {
-        retentionPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getRetentionPeriod(), getParentForChildren(), isClean());
+        retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getRetentionPeriod(),
+                getParentForChildren(),
+                isClean());
         retentionPeriod_ = null;
       }
       return retentionPeriodBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -718,12 +649,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   private static final com.google.bigtable.admin.v2.ChangeStreamConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ChangeStreamConfig();
   }
@@ -732,27 +663,27 @@ public static com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeStreamConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ChangeStreamConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -767,4 +698,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
index 2740acc23a..be8b632e21 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface ChangeStreamConfigOrBuilder
-    extends
+public interface ChangeStreamConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ChangeStreamConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -36,13 +18,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -52,13 +31,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
index 30bcfaf696..3a43d9a4ae 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyRequest}
  */
-public final class CheckConsistencyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckConsistencyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyRequest)
     CheckConsistencyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckConsistencyRequest.newBuilder() to construct.
   private CheckConsistencyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CheckConsistencyRequest() {
     name_ = "";
     consistencyToken_ = "";
@@ -46,42 +28,35 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the Table for which to check replication
    * consistency. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the Table for which to check replication
    * consistency. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,18 +98,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object consistencyToken_ = ""; /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ @java.lang.Override @@ -145,29 +114,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyRequest other = - (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; + com.google.bigtable.admin.v2.CheckConsistencyRequest other = (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,103 +219,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -353,32 +318,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyRequest)
       com.google.bigtable.admin.v2.CheckConsistencyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +355,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -410,11 +376,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyRequest buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyRequest result =
-          new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result = new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -433,39 +396,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyRequest other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -511,25 +472,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -539,29 +497,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the Table for which to check replication
      * consistency. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -570,25 +523,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the Table for which to check replication
      * consistency. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -596,43 +546,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the Table for which to check replication
      * consistency. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the Table for which to check replication
      * consistency. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -642,25 +581,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the Table for which to check replication
      * consistency. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -670,20 +603,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object consistencyToken_ = ""; /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -692,21 +623,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -714,35 +644,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -752,30 +675,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyRequest) private static final com.google.bigtable.admin.v2.CheckConsistencyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyRequest(); } @@ -799,27 +718,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java index 7f47bb6720..e3626a8e01 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java @@ -1,84 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CheckConsistencyRequestOrBuilder - extends +public interface CheckConsistencyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the Table for which to check replication
    * consistency. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the Table for which to check replication
    * consistency. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ java.lang.String getConsistencyToken(); /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ - com.google.protobuf.ByteString getConsistencyTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java index 8d96d04a2b..d39af31006 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
  */
-public final class CheckConsistencyResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckConsistencyResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
     CheckConsistencyResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckConsistencyResponse.newBuilder() to construct.
   private CheckConsistencyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CheckConsistencyResponse() {}
+  private CheckConsistencyResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
   }
 
   public static final int CONSISTENT_FIELD_NUMBER = 1;
   private boolean consistent_ = false;
   /**
-   *
-   *
    * 
    * True only if the token is consistent. A token is consistent if replication
    * has caught up with the restrictions specified in the request.
    * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -82,7 +61,6 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,7 +72,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (consistent_ != false) { output.writeBool(1, consistent_); } @@ -108,7 +87,8 @@ public int getSerializedSize() { size = 0; if (consistent_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, consistent_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, consistent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,15 +98,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyResponse other = - (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; + com.google.bigtable.admin.v2.CheckConsistencyResponse other = (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; - if (getConsistent() != other.getConsistent()) return false; + if (getConsistent() + != other.getConsistent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -139,111 +119,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CONSISTENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConsistent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getConsistent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -251,32 +226,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
       com.google.bigtable.admin.v2.CheckConsistencyResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -286,9 +262,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
@@ -307,11 +283,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyResponse buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyResponse result =
-          new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result = new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -327,39 +300,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,8 +339,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyResponse other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()) return this;
       if (other.getConsistent() != false) {
         setConsistent(other.getConsistent());
       }
@@ -398,19 +369,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consistent_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              consistent_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -420,20 +389,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean consistent_;
+    private boolean consistent_ ;
     /**
-     *
-     *
      * 
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -441,15 +406,12 @@ public boolean getConsistent() { return consistent_; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @param value The consistent to set. * @return This builder for chaining. */ @@ -461,15 +423,12 @@ public Builder setConsistent(boolean value) { return this; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return This builder for chaining. */ public Builder clearConsistent() { @@ -478,9 +437,9 @@ public Builder clearConsistent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -490,12 +449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyResponse) private static final com.google.bigtable.admin.v2.CheckConsistencyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyResponse(); } @@ -504,27 +463,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -539,4 +498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java new file mode 100644 index 0000000000..b4dff6b844 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface CheckConsistencyResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * True only if the token is consistent. A token is consistent if replication
+   * has caught up with the restrictions specified in the request.
+   * 
+ * + * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index 011ea835ac..4b6d320a4b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A resizable group of nodes in a particular cloud location, capable
  * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     location_ = "";
@@ -49,38 +31,34 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Cluster.class,
-            com.google.bigtable.admin.v2.Cluster.Builder.class);
+            com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a cluster.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster could not be determined.
      * 
@@ -89,8 +67,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -99,8 +75,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -111,8 +85,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(2),
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -125,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RESIZING(3),
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -139,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -149,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -159,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -171,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -185,8 +147,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RESIZING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -196,6 +156,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -220,53 +181,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        case 3:
-          return RESIZING;
-        case 4:
-          return DISABLED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        case 3: return RESIZING;
+        case 4: return DISABLED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -283,149 +242,112 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Cluster.State)
   }
 
-  public interface ClusterAutoscalingConfigOrBuilder
-      extends
+  public interface ClusterAutoscalingConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ boolean hasAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ boolean hasAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder(); } /** - * - * *
    * Autoscaling config for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class ClusterAutoscalingConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterAutoscalingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) ClusterAutoscalingConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterAutoscalingConfig.newBuilder() to construct. private ClusterAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterAutoscalingConfig() {} + private ClusterAutoscalingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterAutoscalingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } private int bitField0_; public static final int AUTOSCALING_LIMITS_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ @java.lang.Override @@ -433,55 +355,37 @@ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } public static final int AUTOSCALING_TARGETS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ @java.lang.Override @@ -489,45 +393,30 @@ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,7 +428,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getAutoscalingLimits()); } @@ -556,11 +446,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAutoscalingLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAutoscalingLimits()); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutoscalingTargets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAutoscalingTargets()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -570,21 +461,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; if (hasAutoscalingLimits() != other.hasAutoscalingLimits()) return false; if (hasAutoscalingLimits()) { - if (!getAutoscalingLimits().equals(other.getAutoscalingLimits())) return false; + if (!getAutoscalingLimits() + .equals(other.getAutoscalingLimits())) return false; } if (hasAutoscalingTargets() != other.hasAutoscalingTargets()) return false; if (hasAutoscalingTargets()) { - if (!getAutoscalingTargets().equals(other.getAutoscalingTargets())) return false; + if (!getAutoscalingTargets() + .equals(other.getAutoscalingTargets())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -611,94 +503,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -708,32 +595,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Autoscaling config for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder() @@ -741,18 +623,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAutoscalingLimitsFieldBuilder(); getAutoscalingTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -771,14 +653,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance(); } @@ -793,31 +674,25 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { + private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.autoscalingLimits_ = - autoscalingLimitsBuilder_ == null - ? autoscalingLimits_ - : autoscalingLimitsBuilder_.build(); + result.autoscalingLimits_ = autoscalingLimitsBuilder_ == null + ? autoscalingLimits_ + : autoscalingLimitsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.autoscalingTargets_ = - autoscalingTargetsBuilder_ == null - ? autoscalingTargets_ - : autoscalingTargetsBuilder_.build(); + result.autoscalingTargets_ = autoscalingTargetsBuilder_ == null + ? autoscalingTargets_ + : autoscalingTargetsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -827,52 +702,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { - if (other - == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { + if (other == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) return this; if (other.hasAutoscalingLimits()) { mergeAutoscalingLimits(other.getAutoscalingLimits()); } @@ -905,27 +774,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAutoscalingLimitsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -935,63 +803,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> - autoscalingLimitsBuilder_; + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> autoscalingLimitsBuilder_; /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { if (autoscalingLimitsBuilder_ == null) { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } else { return autoscalingLimitsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { @@ -1007,15 +855,11 @@ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits( com.google.bigtable.admin.v2.AutoscalingLimits.Builder builderForValue) { @@ -1029,22 +873,17 @@ public Builder setAutoscalingLimits( return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && autoscalingLimits_ != null - && autoscalingLimits_ - != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + autoscalingLimits_ != null && + autoscalingLimits_ != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { getAutoscalingLimitsBuilder().mergeFrom(value); } else { autoscalingLimits_ = value; @@ -1059,15 +898,11 @@ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingLimits() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1080,15 +915,11 @@ public Builder clearAutoscalingLimits() { return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimitsBuilder() { bitField0_ |= 0x00000001; @@ -1096,49 +927,36 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi return getAutoscalingLimitsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { if (autoscalingLimitsBuilder_ != null) { return autoscalingLimitsBuilder_.getMessageOrBuilder(); } else { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? + com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> getAutoscalingLimitsFieldBuilder() { if (autoscalingLimitsBuilder_ == null) { - autoscalingLimitsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( - getAutoscalingLimits(), getParentForChildren(), isClean()); + autoscalingLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( + getAutoscalingLimits(), + getParentForChildren(), + isClean()); autoscalingLimits_ = null; } return autoscalingLimitsBuilder_; @@ -1146,58 +964,39 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> - autoscalingTargetsBuilder_; + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> autoscalingTargetsBuilder_; /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { if (autoscalingTargetsBuilder_ == null) { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } else { return autoscalingTargetsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { @@ -1213,15 +1012,11 @@ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTar return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets( com.google.bigtable.admin.v2.AutoscalingTargets.Builder builderForValue) { @@ -1235,23 +1030,17 @@ public Builder setAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscalingTargets( - com.google.bigtable.admin.v2.AutoscalingTargets value) { + public Builder mergeAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && autoscalingTargets_ != null - && autoscalingTargets_ - != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + autoscalingTargets_ != null && + autoscalingTargets_ != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { getAutoscalingTargetsBuilder().mergeFrom(value); } else { autoscalingTargets_ = value; @@ -1266,15 +1055,11 @@ public Builder mergeAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingTargets() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1287,71 +1072,52 @@ public Builder clearAutoscalingTargets() { return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargets.Builder - getAutoscalingTargetsBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargets.Builder getAutoscalingTargetsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAutoscalingTargetsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { if (autoscalingTargetsBuilder_ != null) { return autoscalingTargetsBuilder_.getMessageOrBuilder(); } else { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? + com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> getAutoscalingTargetsFieldBuilder() { if (autoscalingTargetsBuilder_ == null) { - autoscalingTargetsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( - getAutoscalingTargets(), getParentForChildren(), isClean()); + autoscalingTargetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( + getAutoscalingTargets(), + getParentForChildren(), + isClean()); autoscalingTargets_ = null; } return autoscalingTargetsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1364,44 +1130,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) - private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstance() { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscalingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscalingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1413,115 +1176,91 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClusterConfigOrBuilder - extends + public interface ClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ boolean hasClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder(); } /** - * - * *
    * Configuration for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) ClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterConfig.newBuilder() to construct. private ClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterConfig() {} + private ClusterConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } private int bitField0_; public static final int CLUSTER_AUTOSCALING_CONFIG_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ @java.lang.Override @@ -1529,46 +1268,30 @@ public boolean hasClusterAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1580,7 +1303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getClusterAutoscalingConfig()); } @@ -1594,9 +1318,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getClusterAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getClusterAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1606,18 +1329,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; if (hasClusterAutoscalingConfig() != other.hasClusterAutoscalingConfig()) return false; if (hasClusterAutoscalingConfig()) { - if (!getClusterAutoscalingConfig().equals(other.getClusterAutoscalingConfig())) - return false; + if (!getClusterAutoscalingConfig() + .equals(other.getClusterAutoscalingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1640,93 +1362,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1736,32 +1454,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder() @@ -1769,17 +1482,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getClusterAutoscalingConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1793,9 +1506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override @@ -1814,11 +1527,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1827,10 +1537,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig re int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.clusterAutoscalingConfig_ = - clusterAutoscalingConfigBuilder_ == null - ? clusterAutoscalingConfig_ - : clusterAutoscalingConfigBuilder_.build(); + result.clusterAutoscalingConfig_ = clusterAutoscalingConfigBuilder_ == null + ? clusterAutoscalingConfig_ + : clusterAutoscalingConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1840,41 +1549,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig)other); } else { super.mergeFrom(other); return this; @@ -1882,8 +1588,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterConfig other) { - if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) return this; if (other.hasClusterAutoscalingConfig()) { mergeClusterAutoscalingConfig(other.getClusterAutoscalingConfig()); } @@ -1913,20 +1618,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1936,68 +1640,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - clusterAutoscalingConfig_; + private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> - clusterAutoscalingConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> clusterAutoscalingConfigBuilder_; /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ public boolean hasClusterAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { if (clusterAutoscalingConfigBuilder_ == null) { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } else { return clusterAutoscalingConfigBuilder_.getMessage(); } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder setClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder setClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2011,15 +1692,11 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder setClusterAutoscalingConfig( com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder builderForValue) { @@ -2033,24 +1710,17 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder mergeClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder mergeClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && clusterAutoscalingConfig_ != null - && clusterAutoscalingConfig_ - != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + clusterAutoscalingConfig_ != null && + clusterAutoscalingConfig_ != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) { getClusterAutoscalingConfigBuilder().mergeFrom(value); } else { clusterAutoscalingConfig_ = value; @@ -2065,15 +1735,11 @@ public Builder mergeClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder clearClusterAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2086,71 +1752,52 @@ public Builder clearClusterAutoscalingConfig() { return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder - getClusterAutoscalingConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder getClusterAutoscalingConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getClusterAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { if (clusterAutoscalingConfigBuilder_ != null) { return clusterAutoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> getClusterAutoscalingConfigFieldBuilder() { if (clusterAutoscalingConfigBuilder_ == null) { - clusterAutoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( - getClusterAutoscalingConfig(), getParentForChildren(), isClean()); + clusterAutoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( + getClusterAutoscalingConfig(), + getParentForChildren(), + isClean()); clusterAutoscalingConfig_ = null; } return clusterAutoscalingConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2163,12 +1810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) private static final com.google.bigtable.admin.v2.Cluster.ClusterConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(); } @@ -2177,28 +1824,27 @@ public static com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2213,16 +1859,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EncryptionConfigOrBuilder - extends + public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2237,13 +1881,10 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2258,14 +1899,12 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } /** - * - * *
    * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
    * cluster.
@@ -2273,48 +1912,43 @@ public interface EncryptionConfigOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
    */
-  public static final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class EncryptionConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
       EncryptionConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use EncryptionConfig.newBuilder() to construct.
     private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private EncryptionConfig() {
       kmsKeyName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new EncryptionConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
     }
 
     public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2329,7 +1963,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ @java.lang.Override @@ -2338,15 +1971,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2361,15 +1993,16 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2378,7 +2011,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2390,7 +2022,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -2414,15 +2047,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = - (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2442,94 +2075,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2539,8 +2167,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2548,33 +2174,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
         com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2584,9 +2210,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2605,11 +2231,8 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.Cluster.EncryptionConfig buildPartial() {
-        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result =
-            new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2625,41 +2248,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.EncryptionConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig) {
-          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig) other);
+          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2667,8 +2287,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.EncryptionConfig other) {
-        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) return this;
         if (!other.getKmsKeyName().isEmpty()) {
           kmsKeyName_ = other.kmsKeyName_;
           bitField0_ |= 0x00000001;
@@ -2700,19 +2319,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  kmsKeyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2722,13 +2339,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object kmsKeyName_ = "";
       /**
-       *
-       *
        * 
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2743,13 +2357,13 @@ public Builder mergeFrom(
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -2758,8 +2372,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2774,14 +2386,15 @@ public java.lang.String getKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2789,8 +2402,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2805,22 +2416,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2835,7 +2442,6 @@ public Builder setKmsKeyName(java.lang.String value) {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -2845,8 +2451,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2861,21 +2465,18 @@ public Builder clearKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2888,12 +2489,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) private static final com.google.bigtable.admin.v2.Cluster.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(); } @@ -2902,28 +2503,27 @@ public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2938,22 +2538,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int configCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object config_; - public enum ConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLUSTER_CONFIG(7), CONFIG_NOT_SET(0); private final int value; - private ConfigCase(int value) { this.value = value; } @@ -2969,38 +2566,32 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 7: - return CLUSTER_CONFIG; - case 0: - return CONFIG_NOT_SET; - default: - return null; + case 7: return CLUSTER_CONFIG; + case 0: return CONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3009,30 +2600,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3041,12 +2632,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LOCATION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For
    * best performance, clients should be located as close as possible to this
@@ -3054,10 +2642,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -3066,15 +2651,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For
    * best performance, clients should be located as close as possible to this
@@ -3082,18 +2666,17 @@ public java.lang.String getLocation() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3104,54 +2687,38 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } public static final int SERVE_NODES_FIELD_NUMBER = 4; private int serveNodes_ = 0; /** - * - * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -3161,14 +2728,11 @@ public int getServeNodes() { public static final int CLUSTER_CONFIG_FIELD_NUMBER = 7; /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -3176,26 +2740,21 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } /** - * - * *
    * Configuration for this cluster.
    * 
@@ -3205,7 +2764,7 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } @@ -3213,57 +2772,39 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int defaultStorageType_ = 0; /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3271,45 +2812,30 @@ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3321,7 +2847,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3334,8 +2861,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (serveNodes_ != 0) { output.writeInt32(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, defaultStorageType_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -3360,22 +2886,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); } if (state_ != com.google.bigtable.admin.v2.Cluster.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (serveNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, serveNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, defaultStorageType_); + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, defaultStorageType_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEncryptionConfig()); } if (configCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3385,26 +2913,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster)) { return super.equals(obj); } com.google.bigtable.admin.v2.Cluster other = (com.google.bigtable.admin.v2.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (state_ != other.state_) return false; - if (getServeNodes() != other.getServeNodes()) return false; + if (getServeNodes() + != other.getServeNodes()) return false; if (defaultStorageType_ != other.defaultStorageType_) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 7: - if (!getClusterConfig().equals(other.getClusterConfig())) return false; + if (!getClusterConfig() + .equals(other.getClusterConfig())) return false; break; case 0: default: @@ -3447,103 +2980,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resizable group of nodes in a particular cloud location, capable
    * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -3552,23 +3081,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster)
       com.google.bigtable.admin.v2.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.class,
-              com.google.bigtable.admin.v2.Cluster.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Cluster.newBuilder()
@@ -3576,17 +3103,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getEncryptionConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3610,9 +3137,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -3632,9 +3159,7 @@ public com.google.bigtable.admin.v2.Cluster build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Cluster buildPartial() {
       com.google.bigtable.admin.v2.Cluster result = new com.google.bigtable.admin.v2.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3659,8 +3184,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -3669,7 +3195,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster result) {
     private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
       result.configCase_ = configCase_;
       result.config_ = this.config_;
-      if (configCase_ == 7 && clusterConfigBuilder_ != null) {
+      if (configCase_ == 7 &&
+          clusterConfigBuilder_ != null) {
         result.config_ = clusterConfigBuilder_.build();
       }
     }
@@ -3678,39 +3205,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Cluster) {
-        return mergeFrom((com.google.bigtable.admin.v2.Cluster) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3742,15 +3268,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster other) {
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       switch (other.getConfigCase()) {
-        case CLUSTER_CONFIG:
-          {
-            mergeClusterConfig(other.getClusterConfig());
-            break;
-          }
-        case CONFIG_NOT_SET:
-          {
-            break;
-          }
+        case CLUSTER_CONFIG: {
+          mergeClusterConfig(other.getClusterConfig());
+          break;
+        }
+        case CONFIG_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3778,56 +3302,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                serveNodes_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                defaultStorageType_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
-                configCase_ = 7;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              serveNodes_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              defaultStorageType_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getClusterConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              configCase_ = 7;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3837,12 +3356,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int configCase_ = 0;
     private java.lang.Object config_;
-
-    public ConfigCase getConfigCase() {
-      return ConfigCase.forNumber(configCase_);
+    public ConfigCase
+        getConfigCase() {
+      return ConfigCase.forNumber(
+          configCase_);
     }
 
     public Builder clearConfig() {
@@ -3856,21 +3375,19 @@ public Builder clearConfig() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3879,22 +3396,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3902,37 +3418,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3942,22 +3451,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3967,8 +3472,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For
      * best performance, clients should be located as close as possible to this
@@ -3976,16 +3479,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3994,8 +3495,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For
      * best performance, clients should be located as close as possible to this
@@ -4003,17 +3502,16 @@ public java.lang.String getLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -4021,8 +3519,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For
      * best performance, clients should be located as close as possible to this
@@ -4030,25 +3526,19 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For
      * best performance, clients should be located as close as possible to this
@@ -4056,10 +3546,7 @@ public Builder setLocation(java.lang.String value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { @@ -4069,8 +3556,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For
      * best performance, clients should be located as close as possible to this
@@ -4078,17 +3563,13 @@ public Builder clearLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000002; @@ -4098,33 +3579,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4135,35 +3605,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4177,16 +3636,11 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4196,17 +3650,14 @@ public Builder clearState() { return this; } - private int serveNodes_; + private int serveNodes_ ; /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -4214,15 +3665,12 @@ public int getServeNodes() { return serveNodes_; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @param value The serveNodes to set. * @return This builder for chaining. */ @@ -4234,15 +3682,12 @@ public Builder setServeNodes(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return This builder for chaining. */ public Builder clearServeNodes() { @@ -4253,19 +3698,13 @@ public Builder clearServeNodes() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> - clusterConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> clusterConfigBuilder_; /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -4273,14 +3712,11 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override @@ -4298,8 +3734,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4320,8 +3754,6 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4340,8 +3772,6 @@ public Builder setClusterConfig( return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4350,13 +3780,10 @@ public Builder setClusterConfig( */ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConfig value) { if (clusterConfigBuilder_ == null) { - if (configCase_ == 7 - && config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { - config_ = - com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder( - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 7 && + config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { + config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder((com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -4372,8 +3799,6 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4397,8 +3822,6 @@ public Builder clearClusterConfig() { return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4409,8 +3832,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4429,8 +3850,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4438,19 +3857,14 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> getClusterConfigFieldBuilder() { if (clusterConfigBuilder_ == null) { if (!(configCase_ == 7)) { config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } - clusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( + clusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_, getParentForChildren(), isClean()); @@ -4463,35 +3877,24 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon private int defaultStorageType_ = 0; /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for defaultStorageType to set. * @return This builder for chaining. */ @@ -4502,37 +3905,26 @@ public Builder setDefaultStorageTypeValue(int value) { return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The defaultStorageType to set. * @return This builder for chaining. */ @@ -4546,17 +3938,12 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDefaultStorageType() { @@ -4568,61 +3955,41 @@ public Builder clearDefaultStorageType() { private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4636,15 +4003,11 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setEncryptionConfig( com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder builderForValue) { @@ -4658,23 +4021,17 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4689,15 +4046,11 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4710,73 +4063,55 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4786,12 +4121,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster) private static final com.google.bigtable.admin.v2.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster(); } @@ -4800,27 +4135,27 @@ public static com.google.bigtable.admin.v2.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4835,4 +4170,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java index 1392039759..1b19c7d04f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 66b910a7eb..f16f026d1e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -1,59 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For
    * best performance, clients should be located as close as possible to this
@@ -61,16 +38,11 @@ public interface ClusterOrBuilder
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For
    * best performance, clients should be located as close as possible to this
@@ -78,84 +50,61 @@ public interface ClusterOrBuilder
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Cluster.State getState(); /** - * - * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ int getServeNodes(); /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ boolean hasClusterConfig(); /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig(); /** - * - * *
    * Configuration for this cluster.
    * 
@@ -165,74 +114,50 @@ public interface ClusterOrBuilder com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder(); /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ int getDefaultStorageTypeValue(); /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ com.google.bigtable.admin.v2.StorageType getDefaultStorageType(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java index 5442845590..75348b9003 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,53 +5,48 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A set of columns within a table which share a common configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ -public final class ColumnFamily extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ColumnFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ColumnFamily) ColumnFamilyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ColumnFamily.newBuilder() to construct. private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ColumnFamily() {} + private ColumnFamily() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } private int bitField0_; public static final int GC_RULE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.GcRule gcRule_; /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -77,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ @java.lang.Override @@ -85,8 +64,6 @@ public boolean hasGcRule() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -97,7 +74,6 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ @java.lang.Override @@ -105,8 +81,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -124,7 +98,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +109,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getGcRule());
     }
@@ -150,7 +124,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcRule());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getGcRule());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -160,17 +135,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ColumnFamily)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ColumnFamily other =
-        (com.google.bigtable.admin.v2.ColumnFamily) obj;
+    com.google.bigtable.admin.v2.ColumnFamily other = (com.google.bigtable.admin.v2.ColumnFamily) obj;
 
     if (hasGcRule() != other.hasGcRule()) return false;
     if (hasGcRule()) {
-      if (!getGcRule().equals(other.getGcRule())) return false;
+      if (!getGcRule()
+          .equals(other.getGcRule())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -192,127 +167,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ColumnFamily prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of columns within a table which share a common configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ColumnFamily) com.google.bigtable.admin.v2.ColumnFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } // Construct using com.google.bigtable.admin.v2.ColumnFamily.newBuilder() @@ -320,17 +288,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGcRuleFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override @@ -365,11 +333,8 @@ public com.google.bigtable.admin.v2.ColumnFamily build() { @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { - com.google.bigtable.admin.v2.ColumnFamily result = - new com.google.bigtable.admin.v2.ColumnFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ColumnFamily result = new com.google.bigtable.admin.v2.ColumnFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,7 +343,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.gcRule_ = gcRuleBuilder_ == null ? gcRule_ : gcRuleBuilder_.build(); + result.gcRule_ = gcRuleBuilder_ == null + ? gcRule_ + : gcRuleBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -388,39 +355,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ColumnFamily) { - return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily) other); + return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily)other); } else { super.mergeFrom(other); return this; @@ -458,19 +424,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,18 +446,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.GcRule gcRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - gcRuleBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> gcRuleBuilder_; /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -502,15 +462,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -521,7 +478,6 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -532,8 +488,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -559,8 +513,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -572,7 +524,8 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
      *
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
-    public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
+    public Builder setGcRule(
+        com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
       if (gcRuleBuilder_ == null) {
         gcRule_ = builderForValue.build();
       } else {
@@ -583,8 +536,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -598,9 +549,9 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
      */
     public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && gcRule_ != null
-            && gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          gcRule_ != null &&
+          gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
           getGcRuleBuilder().mergeFrom(value);
         } else {
           gcRule_ = value;
@@ -615,8 +566,6 @@ public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -639,8 +588,6 @@ public Builder clearGcRule() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -658,8 +605,6 @@ public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -675,12 +620,11 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
       if (gcRuleBuilder_ != null) {
         return gcRuleBuilder_.getMessageOrBuilder();
       } else {
-        return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
+        return gcRule_ == null ?
+            com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
       }
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -693,24 +637,21 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule,
-            com.google.bigtable.admin.v2.GcRule.Builder,
-            com.google.bigtable.admin.v2.GcRuleOrBuilder>
+        com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> 
         getGcRuleFieldBuilder() {
       if (gcRuleBuilder_ == null) {
-        gcRuleBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.GcRule,
-                com.google.bigtable.admin.v2.GcRule.Builder,
-                com.google.bigtable.admin.v2.GcRuleOrBuilder>(
-                getGcRule(), getParentForChildren(), isClean());
+        gcRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>(
+                getGcRule(),
+                getParentForChildren(),
+                isClean());
         gcRule_ = null;
       }
       return gcRuleBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -720,12 +661,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ColumnFamily)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ColumnFamily)
   private static final com.google.bigtable.admin.v2.ColumnFamily DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ColumnFamily();
   }
@@ -734,27 +675,27 @@ public static com.google.bigtable.admin.v2.ColumnFamily getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ColumnFamily parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ColumnFamily parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -769,4 +710,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ColumnFamily getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
index 007540bb22..f00c8534da 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface ColumnFamilyOrBuilder
-    extends
+public interface ColumnFamilyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ColumnFamily)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -37,13 +19,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ boolean hasGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -54,13 +33,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ com.google.bigtable.admin.v2.GcRule getGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
new file mode 100644
index 0000000000..ec9e1660a8
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -0,0 +1,62 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/admin/v2/common.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.bigtable.admin.v2;
+
+public final class CommonProto {
+  private CommonProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/bigtable/admin/v2/common.proto\022" +
+      "\030google.bigtable.admin.v2\032\037google/protob" +
+      "uf/timestamp.proto\"\213\001\n\021OperationProgress" +
+      "\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" +
+      "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" +
+      "*=\n\013StorageType\022\034\n\030STORAGE_TYPE_UNSPECIF" +
+      "IED\020\000\022\007\n\003SSD\020\001\022\007\n\003HDD\020\002B\323\001\n\034com.google.b" +
+      "igtable.admin.v2B\013CommonProtoP\001Z=google." +
+      "golang.org/genproto/googleapis/bigtable/" +
+      "admin/v2;admin\252\002\036Google.Cloud.Bigtable.A" +
+      "dmin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2" +
+      "\352\002\"Google::Cloud::Bigtable::Admin::V2b\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_admin_v2_OperationProgress_descriptor,
+        new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
index 63001b2a79..0cfa677f55 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Metadata type for the google.longrunning.Operation returned by
  * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -29,49 +12,44 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata}
  */
-public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupMetadata)
     CopyBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupMetadata.newBuilder() to construct.
   private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CopyBackupMetadata.class,
-            com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CopyBackupMetadata.class, com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -79,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -88,15 +65,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -104,15 +80,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,14 +100,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_BACKUP_INFO_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.BackupInfo sourceBackupInfo_; /** - * - * *
    * Information about the source backup that is being copied from.
    * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return Whether the sourceBackupInfo field is set. */ @java.lang.Override @@ -138,25 +112,18 @@ public boolean hasSourceBackupInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Information about the source backup that is being copied from.
    * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return The sourceBackupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } /** - * - * *
    * Information about the source backup that is being copied from.
    * 
@@ -165,16 +132,12 @@ public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder() { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } public static final int PROGRESS_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -182,7 +145,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -190,8 +152,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -199,18 +159,13 @@ public boolean hasProgress() {
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return The progress. */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgress getProgress() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -221,13 +176,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -239,7 +191,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -262,10 +215,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceBackupInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getSourceBackupInfo());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -275,22 +230,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.CopyBackupMetadata other =
-        (com.google.bigtable.admin.v2.CopyBackupMetadata) obj;
+    com.google.bigtable.admin.v2.CopyBackupMetadata other = (com.google.bigtable.admin.v2.CopyBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasSourceBackupInfo() != other.hasSourceBackupInfo()) return false;
     if (hasSourceBackupInfo()) {
-      if (!getSourceBackupInfo().equals(other.getSourceBackupInfo())) return false;
+      if (!getSourceBackupInfo()
+          .equals(other.getSourceBackupInfo())) return false;
     }
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -318,104 +275,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.CopyBackupMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.CopyBackupMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the google.longrunning.Operation returned by
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -423,23 +375,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CopyBackupMetadata)
       com.google.bigtable.admin.v2.CopyBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CopyBackupMetadata.class,
-              com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CopyBackupMetadata.class, com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CopyBackupMetadata.newBuilder()
@@ -447,18 +397,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getSourceBackupInfoFieldBuilder();
         getProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +428,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -499,11 +449,8 @@ public com.google.bigtable.admin.v2.CopyBackupMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CopyBackupMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CopyBackupMetadata result =
-          new com.google.bigtable.admin.v2.CopyBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CopyBackupMetadata result = new com.google.bigtable.admin.v2.CopyBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -515,12 +462,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupMetadata resul
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceBackupInfo_ =
-            sourceBackupInfoBuilder_ == null ? sourceBackupInfo_ : sourceBackupInfoBuilder_.build();
+        result.sourceBackupInfo_ = sourceBackupInfoBuilder_ == null
+            ? sourceBackupInfo_
+            : sourceBackupInfoBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -530,39 +480,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupMetadata resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CopyBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CopyBackupMetadata other) {
-      if (other == com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -609,32 +557,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getSourceBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -644,13 +591,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -658,13 +602,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -673,8 +617,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -682,14 +624,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -697,8 +640,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -706,22 +647,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -729,7 +666,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -739,8 +675,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -748,14 +682,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -765,47 +697,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.BackupInfo sourceBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - sourceBackupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> sourceBackupInfoBuilder_; /** - * - * *
      * Information about the source backup that is being copied from.
      * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return Whether the sourceBackupInfo field is set. */ public boolean hasSourceBackupInfo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return The sourceBackupInfo. */ public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { if (sourceBackupInfoBuilder_ == null) { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } else { return sourceBackupInfoBuilder_.getMessage(); } } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -826,8 +745,6 @@ public Builder setSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -846,8 +763,6 @@ public Builder setSourceBackupInfo( return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -856,9 +771,9 @@ public Builder setSourceBackupInfo( */ public Builder mergeSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (sourceBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sourceBackupInfo_ != null - && sourceBackupInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sourceBackupInfo_ != null && + sourceBackupInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { getSourceBackupInfoBuilder().mergeFrom(value); } else { sourceBackupInfo_ = value; @@ -873,8 +788,6 @@ public Builder mergeSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo val return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -892,8 +805,6 @@ public Builder clearSourceBackupInfo() { return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -906,8 +817,6 @@ public com.google.bigtable.admin.v2.BackupInfo.Builder getSourceBackupInfoBuilde return getSourceBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -918,14 +827,11 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui if (sourceBackupInfoBuilder_ != null) { return sourceBackupInfoBuilder_.getMessageOrBuilder(); } else { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? + com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -933,17 +839,14 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> getSourceBackupInfoFieldBuilder() { if (sourceBackupInfoBuilder_ == null) { - sourceBackupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder>( - getSourceBackupInfo(), getParentForChildren(), isClean()); + sourceBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>( + getSourceBackupInfo(), + getParentForChildren(), + isClean()); sourceBackupInfo_ = null; } return sourceBackupInfoBuilder_; @@ -951,13 +854,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui private com.google.bigtable.admin.v2.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - progressBuilder_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -965,15 +863,12 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -981,21 +876,16 @@ public boolean hasProgress() {
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return The progress. */ public com.google.bigtable.admin.v2.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1018,8 +908,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1040,8 +928,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1052,9 +938,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1069,8 +955,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1090,8 +974,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1106,8 +988,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1120,14 +1000,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1137,24 +1014,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
      * .google.bigtable.admin.v2.OperationProgress progress = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.OperationProgress,
-            com.google.bigtable.admin.v2.OperationProgress.Builder,
-            com.google.bigtable.admin.v2.OperationProgressOrBuilder>
+        com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.OperationProgress,
-                com.google.bigtable.admin.v2.OperationProgress.Builder,
-                com.google.bigtable.admin.v2.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1164,12 +1038,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CopyBackupMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CopyBackupMetadata)
   private static final com.google.bigtable.admin.v2.CopyBackupMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CopyBackupMetadata();
   }
@@ -1178,27 +1052,27 @@ public static com.google.bigtable.admin.v2.CopyBackupMetadata getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CopyBackupMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CopyBackupMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1213,4 +1087,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.CopyBackupMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
index 0440477a61..54f1ba6a45 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface CopyBackupMetadataOrBuilder
-    extends
+public interface CopyBackupMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CopyBackupMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -34,13 +16,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -48,38 +27,30 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Information about the source backup that is being copied from.
    * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return Whether the sourceBackupInfo field is set. */ boolean hasSourceBackupInfo(); /** - * - * *
    * Information about the source backup that is being copied from.
    * 
* * .google.bigtable.admin.v2.BackupInfo source_backup_info = 2; - * * @return The sourceBackupInfo. */ com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo(); /** - * - * *
    * Information about the source backup that is being copied from.
    * 
@@ -89,8 +60,6 @@ public interface CopyBackupMetadataOrBuilder com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -98,13 +67,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -112,13 +78,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return The progress. */ com.google.bigtable.admin.v2.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
similarity index 72%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
index 143791cfd8..027528dc3c 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * The request for
  * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest}
  */
-public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupRequest)
     CopyBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupRequest.newBuilder() to construct.
   private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupRequest() {
     parent_ = "";
     backupId_ = "";
@@ -47,43 +29,36 @@ private CopyBackupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CopyBackupRequest.class,
-            com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.CopyBackupRequest.class, com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,12 +100,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -143,7 +113,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -152,15 +121,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -171,15 +139,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -188,12 +157,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -204,10 +170,7 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ @java.lang.Override @@ -216,15 +179,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -235,18 +197,17 @@ public java.lang.String getSourceBackup() {
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -257,8 +218,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -267,9 +226,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -277,8 +234,6 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -287,9 +242,7 @@ public boolean hasExpireTime() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -297,8 +250,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -307,8 +258,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -316,7 +266,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +277,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -360,7 +310,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,20 +321,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CopyBackupRequest other = - (com.google.bigtable.admin.v2.CopyBackupRequest) obj; + com.google.bigtable.admin.v2.CopyBackupRequest other = (com.google.bigtable.admin.v2.CopyBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -411,104 +365,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CopyBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CopyBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CopyBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -516,23 +465,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CopyBackupRequest)
       com.google.bigtable.admin.v2.CopyBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CopyBackupRequest.class,
-              com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.CopyBackupRequest.class, com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CopyBackupRequest.newBuilder()
@@ -540,17 +487,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExpireTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -567,9 +514,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -588,11 +535,8 @@ public com.google.bigtable.admin.v2.CopyBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CopyBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.CopyBackupRequest result =
-          new com.google.bigtable.admin.v2.CopyBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CopyBackupRequest result = new com.google.bigtable.admin.v2.CopyBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -610,7 +554,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupRequest result
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build();
+        result.expireTime_ = expireTimeBuilder_ == null
+            ? expireTime_
+            : expireTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -620,39 +566,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupRequest result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CopyBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -705,37 +650,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                backupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceBackup_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              backupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sourceBackup_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -745,29 +687,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -776,25 +713,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -802,43 +736,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -848,25 +771,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -876,8 +793,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -888,13 +803,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -903,8 +818,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -915,14 +828,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -930,8 +844,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -942,22 +854,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -968,7 +876,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -978,8 +885,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -990,14 +895,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -1007,8 +910,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceBackup_ = ""; /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1019,16 +920,14 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1037,8 +936,6 @@ public java.lang.String getSourceBackup() { } } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1049,17 +946,16 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1067,8 +963,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1079,25 +973,19 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1108,10 +996,7 @@ public Builder setSourceBackup(java.lang.String value) {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1121,8 +1006,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1133,17 +1016,13 @@ public Builder clearSourceBackup() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1153,13 +1032,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1168,17 +1042,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1187,23 +1057,17 @@ public boolean hasExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1212,8 +1076,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1229,8 +1092,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1239,10 +1100,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1253,8 +1114,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1263,14 +1122,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1285,8 +1143,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1295,8 +1151,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1309,8 +1164,6 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1319,8 +1172,7 @@ public Builder clearExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1328,8 +1180,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1338,21 +1188,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1361,28 +1207,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1392,12 +1234,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CopyBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CopyBackupRequest) private static final com.google.bigtable.admin.v2.CopyBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CopyBackupRequest(); } @@ -1406,27 +1248,27 @@ public static com.google.bigtable.admin.v2.CopyBackupRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CopyBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1441,4 +1283,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CopyBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java index 0df36ddffa..6d387b0a88 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CopyBackupRequestOrBuilder - extends +public interface CopyBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CopyBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -70,13 +43,10 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -87,14 +57,12 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -105,16 +73,11 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -125,17 +88,13 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -144,15 +103,11 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -161,15 +116,11 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -178,8 +129,7 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java index d78e2e99c8..95b9aba2ae 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ -public final class CreateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateAppProfileRequest) CreateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAppProfileRequest.newBuilder() to construct. private CreateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAppProfileRequest() { parent_ = ""; appProfileId_ = ""; @@ -45,42 +27,35 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new app
    * profile. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new app
    * profile. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new app profile within
    * its instance, e.g., just `myprofile` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new app profile within
    * its instance, e.g., just `myprofile` rather than
@@ -161,15 +129,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,17 +149,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int APP_PROFILE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -198,55 +162,39 @@ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -255,7 +203,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,10 +244,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAppProfile()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -309,21 +259,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateAppProfileRequest other = - (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; + com.google.bigtable.admin.v2.CreateAppProfileRequest other = (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,133 +297,127 @@ public int hashCode() { hash = (53 * hash) + getAppProfile().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateAppProfileRequest) com.google.bigtable.admin.v2.CreateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateAppProfileRequest.newBuilder() @@ -478,17 +425,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAppProfileFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -505,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override @@ -526,11 +473,8 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.CreateAppProfileRequest result = - new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateAppProfileRequest result = new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -545,7 +489,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -558,39 +504,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -598,8 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -642,37 +586,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,28 +623,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new app
      * profile. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,24 +648,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app
      * profile. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -737,41 +670,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app
      * profile. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app
      * profile. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -781,24 +703,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app
      * profile. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -808,8 +724,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new app profile within
      * its instance, e.g., just `myprofile` rather than
@@ -817,13 +731,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -832,8 +746,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within
      * its instance, e.g., just `myprofile` rather than
@@ -841,14 +753,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -856,8 +769,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within
      * its instance, e.g., just `myprofile` rather than
@@ -865,22 +776,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within
      * its instance, e.g., just `myprofile` rather than
@@ -888,7 +795,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -898,8 +804,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within
      * its instance, e.g., just `myprofile` rather than
@@ -907,14 +811,12 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -924,61 +826,42 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -994,18 +877,15 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -1016,22 +896,18 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -1046,16 +922,12 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1068,16 +940,12 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000004; @@ -1085,65 +953,50 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1151,14 +1004,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1170,14 +1020,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1186,9 +1033,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1198,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateAppProfileRequest) private static final com.google.bigtable.admin.v2.CreateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateAppProfileRequest(); } @@ -1212,27 +1059,27 @@ public static com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1247,4 +1094,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index decf83ae89..b8610a6e78 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateAppProfileRequestOrBuilder - extends +public interface CreateAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the new app
    * profile. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the new app
    * profile. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new app profile within
    * its instance, e.g., just `myprofile` rather than
@@ -65,13 +38,10 @@ public interface CreateAppProfileRequestOrBuilder
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * Required. The ID to be used when referring to the new app profile within
    * its instance, e.g., just `myprofile` rather than
@@ -79,64 +49,47 @@ public interface CreateAppProfileRequestOrBuilder
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ boolean hasAppProfile(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ com.google.bigtable.admin.v2.AppProfile getAppProfile(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * 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/CreateBackupMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java index 4e8101cf0c..167d2f2ed5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
  */
-public final class CreateBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateBackupMetadata)
     CreateBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupMetadata.newBuilder() to construct.
   private CreateBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupMetadata() {
     name_ = "";
     sourceTable_ = "";
@@ -46,39 +28,34 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-            com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -118,18 +95,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The sourceTable. */ @java.lang.Override @@ -138,29 +111,29 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -171,14 +144,11 @@ public com.google.protobuf.ByteString getSourceTableBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -186,14 +156,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -201,8 +168,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -217,14 +182,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -232,14 +194,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -247,8 +206,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -261,7 +218,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -302,10 +259,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceTable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,23 +274,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateBackupMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateBackupMetadata other = - (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; + com.google.bigtable.admin.v2.CreateBackupMetadata other = (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; - if (!getName().equals(other.getName())) return false; - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -362,103 +324,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateBackupMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -466,23 +423,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateBackupMetadata)
       com.google.bigtable.admin.v2.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-              com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateBackupMetadata.newBuilder()
@@ -490,18 +445,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -522,9 +477,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -543,11 +498,8 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupMetadata result =
-          new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateBackupMetadata result = new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -562,11 +514,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -576,39 +532,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -616,8 +571,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupMetadata other) {
-      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -660,37 +614,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceTable_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              sourceTable_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -700,25 +653,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -727,21 +677,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -749,35 +698,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -787,21 +729,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -811,20 +749,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -833,21 +769,20 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -855,35 +790,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -893,21 +821,17 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -917,33 +841,24 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -954,8 +869,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -976,15 +889,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -995,8 +907,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1005,9 +915,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1022,8 +932,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1041,8 +949,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1055,8 +961,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1067,12 +971,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1080,17 +983,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1098,33 +998,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1135,8 +1026,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1157,15 +1046,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1176,8 +1064,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1186,9 +1072,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1203,8 +1089,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1222,8 +1106,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1236,8 +1118,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1248,12 +1128,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1261,24 +1140,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1288,12 +1164,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateBackupMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateBackupMetadata) private static final com.google.bigtable.admin.v2.CreateBackupMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateBackupMetadata(); } @@ -1302,27 +1178,27 @@ public static com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1337,4 +1213,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java index a15750db1a..9f8ec0f636 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java @@ -1,106 +1,72 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateBackupMetadataOrBuilder - extends +public interface CreateBackupMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateBackupMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + com.google.protobuf.ByteString + getSourceTableBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -110,32 +76,24 @@ public interface CreateBackupMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java index 8e337b7961..6dfb3ccdc1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateBackupRequest}
  */
-public final class CreateBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateBackupRequest)
     CreateBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupRequest.newBuilder() to construct.
   private CreateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupRequest() {
     parent_ = "";
     backupId_ = "";
@@ -46,43 +28,36 @@ private CreateBackupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupRequest.class,
-            com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,12 +99,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -142,7 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -151,15 +120,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -170,15 +138,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -189,15 +158,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Backup backup_; /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -205,15 +170,11 @@ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -221,14 +182,11 @@ public com.google.bigtable.admin.v2.Backup getBackup() { return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { @@ -236,7 +194,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -274,7 +232,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, backupId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackup()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -284,19 +243,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateBackupRequest other = - (com.google.bigtable.admin.v2.CreateBackupRequest) obj; + com.google.bigtable.admin.v2.CreateBackupRequest other = (com.google.bigtable.admin.v2.CreateBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -322,104 +283,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -427,23 +383,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateBackupRequest)
       com.google.bigtable.admin.v2.CreateBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateBackupRequest.class,
-              com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateBackupRequest.newBuilder()
@@ -451,17 +405,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBackupFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -477,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -498,11 +452,8 @@ public com.google.bigtable.admin.v2.CreateBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupRequest result =
-          new com.google.bigtable.admin.v2.CreateBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateBackupRequest result = new com.google.bigtable.admin.v2.CreateBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -517,7 +468,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build();
+        result.backup_ = backupBuilder_ == null
+            ? backup_
+            : backupBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -527,39 +480,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -567,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -608,31 +559,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                backupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              backupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -642,29 +591,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -673,25 +617,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -699,43 +640,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -745,25 +675,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -773,8 +697,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -785,13 +707,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -800,8 +722,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -812,14 +732,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -827,8 +748,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -839,22 +758,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -865,7 +780,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -875,8 +789,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -887,14 +799,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -904,35 +814,24 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> - backupBuilder_; + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -943,14 +842,11 @@ public com.google.bigtable.admin.v2.Backup getBackup() { } } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { @@ -966,16 +862,14 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -986,20 +880,17 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1014,14 +905,11 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1034,14 +922,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1049,51 +934,43 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +980,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateBackupRequest) private static final com.google.bigtable.admin.v2.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateBackupRequest(); } @@ -1117,27 +994,27 @@ public static com.google.bigtable.admin.v2.CreateBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +1029,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java index aff45c3c3f..d3fa9a0df5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -70,13 +43,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -87,46 +57,35 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.bigtable.admin.v2.Backup getBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java index b8365ea755..8e9c0c4c9f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,35 +5,34 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ -public final class CreateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata) CreateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterMetadata.newBuilder() to construct. private CreateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateClusterMetadata() {} + private CreateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -59,41 +43,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } - public interface TableProgressOrBuilder - extends + public interface TableProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ long getEstimatedSizeBytes(); /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -101,75 +77,71 @@ public interface TableProgressOrBuilder
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ long getEstimatedCopiedBytes(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState(); } /** - * - * *
    * Progress info for copying a table's data to the new cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class TableProgress extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TableProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) TableProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableProgress.newBuilder() to construct. private TableProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableProgress() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableProgress(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - /** Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + /** + * Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** - * - * *
        * The table has not yet begun copying to the new cluster.
        * 
@@ -178,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -188,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COPYING(2), /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -198,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED(3), /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -212,11 +178,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       UNRECOGNIZED(-1),
       ;
 
-      /** STATE_UNSPECIFIED = 0; */
+      /**
+       * STATE_UNSPECIFIED = 0;
+       */
       public static final int STATE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * The table has not yet begun copying to the new cluster.
        * 
@@ -225,8 +191,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -235,8 +199,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COPYING_VALUE = 2; /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -245,8 +207,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_VALUE = 3; /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -257,6 +217,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CANCELLED_VALUE = 4;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -281,55 +242,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return PENDING;
-          case 2:
-            return COPYING;
-          case 3:
-            return COMPLETED;
-          case 4:
-            return CANCELLED;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return PENDING;
+          case 2: return COPYING;
+          case 3: return COMPLETED;
+          case 4: return CANCELLED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -349,14 +306,11 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_ = 0L;
     /**
-     *
-     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -367,8 +321,6 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; private long estimatedCopiedBytes_ = 0L; /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -376,7 +328,6 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -388,29 +339,21 @@ public long getEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,17 +365,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (estimatedSizeBytes_ != 0L) { output.writeInt64(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { output.writeInt64(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } getUnknownFields().writeTo(output); @@ -445,16 +386,16 @@ public int getSerializedSize() { size = 0; if (estimatedSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, estimatedSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, estimatedCopiedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -464,16 +405,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; - if (getEstimatedSizeBytes() != other.getEstimatedSizeBytes()) return false; - if (getEstimatedCopiedBytes() != other.getEstimatedCopiedBytes()) return false; + if (getEstimatedSizeBytes() + != other.getEstimatedSizeBytes()) return false; + if (getEstimatedCopiedBytes() + != other.getEstimatedCopiedBytes()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -487,9 +429,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedSizeBytes()); hash = (37 * hash) + ESTIMATED_COPIED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedCopiedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedCopiedBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -498,95 +442,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -596,42 +534,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Progress info for copying a table's data to the new cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -643,16 +578,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance(); + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance(); } @java.lang.Override @@ -666,17 +599,13 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build() @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = - new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { + private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedSizeBytes_ = estimatedSizeBytes_; @@ -693,53 +622,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { - return mergeFrom( - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { - if (other - == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()) return this; if (other.getEstimatedSizeBytes() != 0L) { setEstimatedSizeBytes(other.getEstimatedSizeBytes()); } @@ -775,31 +697,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - estimatedSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - estimatedCopiedBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + estimatedSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + estimatedCopiedBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -809,19 +727,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long estimatedSizeBytes_; + private long estimatedSizeBytes_ ; /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -829,14 +743,11 @@ public long getEstimatedSizeBytes() { return estimatedSizeBytes_; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @param value The estimatedSizeBytes to set. * @return This builder for chaining. */ @@ -848,14 +759,11 @@ public Builder setEstimatedSizeBytes(long value) { return this; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return This builder for chaining. */ public Builder clearEstimatedSizeBytes() { @@ -865,10 +773,8 @@ public Builder clearEstimatedSizeBytes() { return this; } - private long estimatedCopiedBytes_; + private long estimatedCopiedBytes_ ; /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -876,7 +782,6 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -884,8 +789,6 @@ public long getEstimatedCopiedBytes() { return estimatedCopiedBytes_; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -893,7 +796,6 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ @@ -905,8 +807,6 @@ public Builder setEstimatedCopiedBytes(long value) { return this; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -914,7 +814,6 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { @@ -927,16 +826,13 @@ public Builder clearEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -948,26 +844,19 @@ public Builder setStateValue(int value) { } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber( - state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { + public Builder setState(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { if (value == null) { throw new NullPointerException(); } @@ -978,7 +867,6 @@ public Builder setState( } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -987,7 +875,6 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1000,44 +887,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) - private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstance() { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,24 +933,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -1074,25 +955,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -1101,22 +975,17 @@ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -1124,14 +993,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -1139,8 +1005,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -1155,14 +1019,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -1170,14 +1031,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -1185,8 +1043,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -1199,44 +1055,32 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } public static final int TABLES_FIELD_NUMBER = 4; - private static final class TablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - internalGetTables() { + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; + private com.google.protobuf.MapField + internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TablesDefaultEntryHolder.defaultEntry); } return tables_; } - public int getTablesCount() { return internalGetTables().getMap().size(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1248,28 +1092,23 @@ public int getTablesCount() {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().getMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1281,19 +1120,13 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1305,27 +1138,20 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1337,19 +1163,14 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1357,7 +1178,6 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1369,7 +1189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -1379,8 +1200,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getFinishTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTables(), TablesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTables(), + TablesDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -1391,26 +1216,26 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); - } - for (java.util.Map.Entry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - entry : internalGetTables().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - TablesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, tables__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); + } + for (java.util.Map.Entry entry + : internalGetTables().getMap().entrySet()) { + com.google.protobuf.MapEntry + tables__ = TablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, tables__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1420,27 +1245,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata other = - (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata other = (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } - if (!internalGetTables().equals(other.internalGetTables())) return false; + if (!internalGetTables().equals( + other.internalGetTables())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1474,116 +1302,111 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata) com.google.bigtable.admin.v2.CreateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -1593,10 +1416,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -1604,18 +1427,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: return internalGetMutableTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.newBuilder() @@ -1623,19 +1444,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOriginalRequestFieldBuilder(); getRequestTimeFieldBuilder(); getFinishTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1660,9 +1481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @java.lang.Override @@ -1681,11 +1502,8 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata result = - new com.google.bigtable.admin.v2.CreateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata result = new com.google.bigtable.admin.v2.CreateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1694,17 +1512,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata re int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -1717,39 +1539,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -1757,8 +1578,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -1768,7 +1588,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata othe if (other.hasFinishTime()) { mergeFinishTime(other.getFinishTime()); } - internalGetMutableTables().mergeFrom(other.internalGetTables()); + internalGetMutableTables().mergeFrom( + other.internalGetTables()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1796,46 +1617,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - input.readMessage( - TablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableTables() - .ensureBuilderMap() - .put(tables__.getKey(), tables__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + tables__ = input.readMessage( + TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTables().ensureBuilderMap().put( + tables__.getKey(), tables__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1845,52 +1662,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1911,8 +1714,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1931,8 +1732,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1941,10 +1740,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1959,8 +1757,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1978,8 +1774,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1992,27 +1786,21 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -2020,17 +1808,14 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -2038,47 +1823,34 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2099,15 +1871,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -2118,8 +1889,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2128,9 +1897,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -2145,8 +1914,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2164,8 +1931,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2178,8 +1943,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2190,14 +1953,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2205,17 +1965,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -2223,47 +1980,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2284,15 +2028,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -2303,8 +2046,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2313,9 +2054,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -2330,8 +2071,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2349,8 +2088,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2363,8 +2100,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2375,14 +2110,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2390,71 +2122,43 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - private static final class TablesConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> { + private static final class TablesConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder val) { - if (val instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { - return (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) val; - } - return ((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder) val) - .build(); + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder val) { + if (val instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { return (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) val; } + return ((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - defaultEntry() { + public com.google.protobuf.MapEntry defaultEntry() { return TablesDefaultEntryHolder.defaultEntry; } }; - private static final TablesConverter tablesConverter = new TablesConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder> - tables_; - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder> + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder> tables_; + private com.google.protobuf.MapFieldBuilder internalGetTables() { if (tables_ == null) { return new com.google.protobuf.MapFieldBuilder<>(tablesConverter); } return tables_; } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder> + private com.google.protobuf.MapFieldBuilder internalGetMutableTables() { if (tables_ == null) { tables_ = new com.google.protobuf.MapFieldBuilder<>(tablesConverter); @@ -2463,13 +2167,10 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build( onChanged(); return tables_; } - public int getTablesCount() { return internalGetTables().ensureBuilderMap().size(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2481,28 +2182,23 @@ public int getTablesCount() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().ensureBuilderMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2514,19 +2210,13 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getImmutableMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2538,28 +2228,19 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder> - map = internalGetMutableTables().ensureBuilderMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableTables().ensureBuilderMap(); return map.containsKey(key) ? tablesConverter.build(map.get(key)) : defaultValue; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2571,34 +2252,24 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder> - map = internalGetMutableTables().ensureBuilderMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableTables().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return tablesConverter.build(map.get(key)); } - public Builder clearTables() { bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableTables().clear(); return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2610,28 +2281,25 @@ public Builder clearTables() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ - public Builder removeTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableTables().ensureBuilderMap().remove(key); + public Builder removeTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableTables().ensureBuilderMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + public java.util.Map getMutableTables() { bitField0_ |= 0x00000008; return internalGetMutableTables().ensureMessageMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2643,26 +2311,19 @@ public Builder removeTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putTables( java.lang.String key, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableTables().ensureBuilderMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableTables().ensureBuilderMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2674,28 +2335,21 @@ public Builder putTables(
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putAllTables( - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - values) { - for (java.util.Map.Entry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - e : values.entrySet()) { + java.util.Map values) { + for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableTables().ensureBuilderMap().putAll(values); + internalGetMutableTables().ensureBuilderMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2707,32 +2361,25 @@ public Builder putAllTables(
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder - putTablesBuilderIfAbsent(java.lang.String key) { - java.util.Map< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder> - builderMap = internalGetMutableTables().ensureBuilderMap(); - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder entry = - builderMap.get(key); + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder putTablesBuilderIfAbsent( + java.lang.String key) { + java.util.Map builderMap = internalGetMutableTables().ensureBuilderMap(); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder(); builderMap.put(key, entry); } if (entry instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { - entry = - ((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) entry).toBuilder(); + entry = ((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) entry).toBuilder(); builderMap.put(key, entry); } return (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder) entry; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2742,12 +2389,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata) private static final com.google.bigtable.admin.v2.CreateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata(); } @@ -2756,27 +2403,27 @@ public static com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2791,4 +2438,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java index 7573b4942f..f067176f1b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateClusterMetadataOrBuilder - extends +public interface CreateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -60,32 +36,24 @@ public interface CreateClusterMetadataOrBuilder com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -95,32 +63,24 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -130,8 +90,6 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -143,14 +101,10 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ int getTablesCount(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -162,18 +116,17 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; + */ + boolean containsTables( + java.lang.String key); + /** + * Use {@link #getTablesMap()} instead. */ - boolean containsTables(java.lang.String key); - /** Use {@link #getTablesMap()} instead. */ @java.lang.Deprecated java.util.Map - getTables(); + getTables(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -185,15 +138,11 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ java.util.Map - getTablesMap(); + getTablesMap(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -205,18 +154,14 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -228,9 +173,7 @@ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefa
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 0c52170cc0..aa474b435f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -45,42 +27,35 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new
    * cluster. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new
    * cluster. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its
    * instance, e.g., just `mycluster` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its
    * instance, e.g., just `mycluster` rather than
@@ -161,15 +129,16 @@ public java.lang.String getClusterId() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -180,16 +149,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -197,16 +162,12 @@ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -214,15 +175,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -230,7 +188,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,19 +237,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterRequest other = - (com.google.bigtable.admin.v2.CreateClusterRequest) obj; + com.google.bigtable.admin.v2.CreateClusterRequest other = (com.google.bigtable.admin.v2.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -317,126 +278,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterRequest) com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder() @@ -444,17 +398,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getClusterFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override @@ -491,11 +445,8 @@ public com.google.bigtable.admin.v2.CreateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.CreateClusterRequest result = - new com.google.bigtable.admin.v2.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterRequest result = new com.google.bigtable.admin.v2.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -510,7 +461,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -520,39 +473,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -601,31 +552,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,28 +584,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new
      * cluster. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -665,24 +609,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new
      * cluster. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -690,41 +631,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new
      * cluster. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new
      * cluster. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -734,24 +664,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new
      * cluster. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -761,8 +685,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its
      * instance, e.g., just `mycluster` rather than
@@ -770,13 +692,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -785,8 +707,6 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its
      * instance, e.g., just `mycluster` rather than
@@ -794,14 +714,15 @@ public java.lang.String getClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -809,8 +730,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its
      * instance, e.g., just `mycluster` rather than
@@ -818,22 +737,18 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its
      * instance, e.g., just `mycluster` rather than
@@ -841,7 +756,6 @@ public Builder setClusterId(java.lang.String value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -851,8 +765,6 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its
      * instance, e.g., just `mycluster` rather than
@@ -860,14 +772,12 @@ public Builder clearClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -877,61 +787,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -947,18 +838,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -969,22 +857,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -999,16 +883,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1021,16 +901,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1038,57 +914,45 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +962,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterRequest) private static final com.google.bigtable.admin.v2.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterRequest(); } @@ -1112,27 +976,27 @@ public static com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1011,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index 3eaf7db6df..244038b886 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the new
    * cluster. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the new
    * cluster. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its
    * instance, e.g., just `mycluster` rather than
@@ -65,13 +38,10 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its
    * instance, e.g., just `mycluster` rather than
@@ -79,49 +49,38 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.bigtable.admin.v2.Cluster getCluster(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java index f5e3fa3d92..5d80d7cd2a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,59 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ -public final class CreateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceMetadata) CreateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceMetadata.newBuilder() to construct. private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateInstanceMetadata() {} + private CreateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } private int bitField0_; public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
@@ -107,22 +79,17 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -130,14 +97,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -145,8 +109,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -161,14 +123,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -176,14 +135,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -191,8 +147,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -205,7 +159,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -237,13 +191,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,25 +210,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceMetadata other = - (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; + com.google.bigtable.admin.v2.CreateInstanceMetadata other = (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -302,126 +261,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceMetadata) com.google.bigtable.admin.v2.CreateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceMetadata.newBuilder() @@ -429,19 +381,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOriginalRequestFieldBuilder(); getRequestTimeFieldBuilder(); getFinishTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override @@ -486,11 +438,8 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceMetadata result = - new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceMetadata result = new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -499,17 +448,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -519,39 +472,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -559,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -596,31 +547,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,52 +583,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -696,8 +635,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -716,8 +653,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -726,10 +661,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -744,8 +678,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -763,8 +695,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -777,27 +707,21 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -805,17 +729,14 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -823,47 +744,34 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -884,15 +792,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -903,8 +810,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -913,9 +818,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -930,8 +835,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -949,8 +852,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -963,8 +864,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -975,14 +874,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -990,17 +886,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1008,47 +901,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1069,15 +949,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1088,8 +967,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1098,9 +975,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1115,8 +992,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1134,8 +1009,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1148,8 +1021,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1160,14 +1031,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1175,24 +1043,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1202,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceMetadata) private static final com.google.bigtable.admin.v2.CreateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceMetadata(); } @@ -1216,27 +1081,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1251,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java index 8c6ffdb10d..e06c47204b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateInstanceMetadataOrBuilder - extends +public interface CreateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
@@ -60,32 +36,24 @@ public interface CreateInstanceMetadataOrBuilder com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -95,32 +63,24 @@ public interface CreateInstanceMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java similarity index 63% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index f9f33776a5..1b04831bec 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -45,13 +27,14 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -62,37 +45,29 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project in which to create the new
    * instance. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -101,32 +76,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project in which to create the new
    * instance. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,12 +108,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new instance within its
    * project, e.g., just `myinstance` rather than
@@ -148,7 +118,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -157,15 +126,14 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new instance within its
    * project, e.g., just `myinstance` rather than
@@ -173,15 +141,16 @@ public java.lang.String getInstanceId() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -192,17 +161,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -210,78 +174,58 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int CLUSTERS_FIELD_NUMBER = 4; - private static final class ClustersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Cluster> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Cluster> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField - clusters_; - - private com.google.protobuf.MapField - internalGetClusters() { + internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } - public int getClustersCount() { return internalGetClusters().getMap().size(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -290,26 +234,23 @@ public int getClustersCount() {
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().getMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -318,17 +259,13 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -337,25 +274,20 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -364,15 +296,12 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); if (!map.containsKey(key)) { @@ -382,7 +311,6 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +322,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -404,8 +333,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getInstance()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetClusters(), ClustersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetClusters(), + ClustersDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -422,18 +355,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } - for (java.util.Map.Entry entry : - internalGetClusters().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusters().getMap().entrySet()) { com.google.protobuf.MapEntry - clusters__ = - ClustersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, clusters__); + clusters__ = ClustersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, clusters__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -443,21 +376,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceRequest other = - (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; + com.google.bigtable.admin.v2.CreateInstanceRequest other = (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } - if (!internalGetClusters().equals(other.internalGetClusters())) return false; + if (!internalGetClusters().equals( + other.internalGetClusters())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,116 +423,111 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceRequest) com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -606,10 +537,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -617,18 +548,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi case 4: return internalGetMutableClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder() @@ -636,17 +565,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInstanceFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +592,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -684,11 +613,8 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceRequest result = - new com.google.bigtable.admin.v2.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceRequest result = new com.google.bigtable.admin.v2.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -703,7 +629,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -716,39 +644,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -756,8 +683,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -771,7 +697,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest othe if (other.hasInstance()) { mergeInstance(other.getInstance()); } - internalGetMutableClusters().mergeFrom(other.internalGetClusters()); + internalGetMutableClusters().mergeFrom( + other.internalGetClusters()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -799,44 +726,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry - clusters__ = - input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableClusters() - .ensureBuilderMap() - .put(clusters__.getKey(), clusters__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + clusters__ = input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusters().ensureBuilderMap().put( + clusters__.getKey(), clusters__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -846,28 +767,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project in which to create the new
      * instance. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -876,24 +792,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new
      * instance. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -901,41 +814,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new
      * instance. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new
      * instance. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -945,24 +847,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new
      * instance. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -972,8 +868,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new instance within its
      * project, e.g., just `myinstance` rather than
@@ -981,13 +875,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -996,8 +890,6 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its
      * project, e.g., just `myinstance` rather than
@@ -1005,14 +897,15 @@ public java.lang.String getInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1020,8 +913,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its
      * project, e.g., just `myinstance` rather than
@@ -1029,22 +920,18 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its
      * project, e.g., just `myinstance` rather than
@@ -1052,7 +939,6 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1062,8 +948,6 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its
      * project, e.g., just `myinstance` rather than
@@ -1071,14 +955,12 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1088,61 +970,42 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1158,18 +1021,15 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1180,22 +1040,18 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1210,16 +1066,12 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1232,16 +1084,12 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1249,102 +1097,67 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - private static final class ClustersConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.bigtable.admin.v2.ClusterOrBuilder, - com.google.bigtable.admin.v2.Cluster> { + private static final class ClustersConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override - public com.google.bigtable.admin.v2.Cluster build( - com.google.bigtable.admin.v2.ClusterOrBuilder val) { - if (val instanceof com.google.bigtable.admin.v2.Cluster) { - return (com.google.bigtable.admin.v2.Cluster) val; - } + public com.google.bigtable.admin.v2.Cluster build(com.google.bigtable.admin.v2.ClusterOrBuilder val) { + if (val instanceof com.google.bigtable.admin.v2.Cluster) { return (com.google.bigtable.admin.v2.Cluster) val; } return ((com.google.bigtable.admin.v2.Cluster.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry - defaultEntry() { + public com.google.protobuf.MapEntry defaultEntry() { return ClustersDefaultEntryHolder.defaultEntry; } }; - private static final ClustersConverter clustersConverter = new ClustersConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ClusterOrBuilder, - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder> - clusters_; - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ClusterOrBuilder, - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder> + java.lang.String, com.google.bigtable.admin.v2.ClusterOrBuilder, com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder> clusters_; + private com.google.protobuf.MapFieldBuilder internalGetClusters() { if (clusters_ == null) { return new com.google.protobuf.MapFieldBuilder<>(clustersConverter); } return clusters_; } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ClusterOrBuilder, - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder> + private com.google.protobuf.MapFieldBuilder internalGetMutableClusters() { if (clusters_ == null) { clusters_ = new com.google.protobuf.MapFieldBuilder<>(clustersConverter); @@ -1353,13 +1166,10 @@ public com.google.bigtable.admin.v2.Cluster build( onChanged(); return clusters_; } - public int getClustersCount() { return internalGetClusters().ensureBuilderMap().size(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1368,26 +1178,23 @@ public int getClustersCount() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().ensureBuilderMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1396,17 +1203,13 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getImmutableMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1415,25 +1218,19 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableClusters().ensureBuilderMap(); +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableClusters().ensureBuilderMap(); return map.containsKey(key) ? clustersConverter.build(map.get(key)) : defaultValue; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1442,31 +1239,24 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = - internalGetMutableClusters().ensureBuilderMap(); + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableClusters().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return clustersConverter.build(map.get(key)); } - public Builder clearClusters() { bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableClusters().clear(); return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1475,18 +1265,18 @@ public Builder clearClusters() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusters().ensureBuilderMap().remove(key); + public Builder removeClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusters().ensureBuilderMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusters() { @@ -1494,8 +1284,6 @@ public Builder removeClusters(java.lang.String key) { return internalGetMutableClusters().ensureMessageMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1504,24 +1292,19 @@ public Builder removeClusters(java.lang.String key) {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cluster value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusters().ensureBuilderMap().put(key, value); + public Builder putClusters( + java.lang.String key, + com.google.bigtable.admin.v2.Cluster value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusters().ensureBuilderMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1530,25 +1313,21 @@ public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cl
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllClusters( java.util.Map values) { - for (java.util.Map.Entry e : - values.entrySet()) { + for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableClusters().ensureBuilderMap().putAll(values); + internalGetMutableClusters().ensureBuilderMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1557,14 +1336,11 @@ public Builder putAllClusters(
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder putClustersBuilderIfAbsent( java.lang.String key) { - java.util.Map builderMap = - internalGetMutableClusters().ensureBuilderMap(); + java.util.Map builderMap = internalGetMutableClusters().ensureBuilderMap(); com.google.bigtable.admin.v2.ClusterOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.bigtable.admin.v2.Cluster.newBuilder(); @@ -1576,9 +1352,9 @@ public com.google.bigtable.admin.v2.Cluster.Builder putClustersBuilderIfAbsent( } return (com.google.bigtable.admin.v2.Cluster.Builder) entry; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1588,12 +1364,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceRequest) private static final com.google.bigtable.admin.v2.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceRequest(); } @@ -1602,27 +1378,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1637,4 +1413,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index 66559a11d7..0045bb32ce 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the project in which to create the new
    * instance. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the project in which to create the new
    * instance. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its
    * project, e.g., just `myinstance` rather than
@@ -65,13 +38,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its
    * project, e.g., just `myinstance` rather than
@@ -79,58 +49,42 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.bigtable.admin.v2.Instance getInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -139,14 +93,10 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getClustersCount(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -155,17 +105,17 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsClusters( + java.lang.String key); + /** + * Use {@link #getClustersMap()} instead. */ - boolean containsClusters(java.lang.String key); - /** Use {@link #getClustersMap()} instead. */ @java.lang.Deprecated - java.util.Map getClusters(); + java.util.Map + getClusters(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -174,14 +124,11 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getClustersMap(); + java.util.Map + getClustersMap(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -190,18 +137,14 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.bigtable.admin.v2.Cluster getClustersOrDefault( +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue); +com.google.bigtable.admin.v2.Cluster defaultValue); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -210,9 +153,8 @@ com.google.bigtable.admin.v2.Cluster getClustersOrDefault(
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java index f70a143351..437f9a0dff 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateTableFromSnapshot.
  *
@@ -33,53 +16,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
  */
-public final class CreateTableFromSnapshotMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
     CreateTableFromSnapshotMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotMetadata.newBuilder() to construct.
-  private CreateTableFromSnapshotMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateTableFromSnapshotMetadata() {}
+  private CreateTableFromSnapshotMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -87,26 +65,19 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
@@ -115,24 +86,18 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-      getOriginalRequestOrBuilder() {
-    return originalRequest_ == null
-        ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-        : originalRequest_;
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
+    return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
   }
 
   public static final int REQUEST_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp requestTime_;
   /**
-   *
-   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -140,14 +105,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -155,8 +117,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -171,14 +131,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -186,14 +143,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -201,8 +155,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -215,7 +167,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -247,13 +199,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,25 +218,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,104 +269,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateTableFromSnapshot.
    *
@@ -421,23 +372,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.newBuilder()
@@ -445,19 +394,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOriginalRequestFieldBuilder();
         getRequestTimeFieldBuilder();
         getFinishTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -481,14 +430,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance();
     }
 
@@ -503,31 +451,31 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -537,39 +485,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,9 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other) {
-      if (other
-          == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -615,31 +560,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -649,54 +596,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -704,8 +637,7 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder setOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -719,8 +651,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -740,8 +670,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -749,14 +677,11 @@ public Builder setOriginalRequest(
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder mergeOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && originalRequest_ != null
-            && originalRequest_
-                != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          originalRequest_ != null &&
+          originalRequest_ != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) {
           getOriginalRequestBuilder().mergeFrom(value);
         } else {
           originalRequest_ = value;
@@ -771,8 +696,6 @@ public Builder mergeOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -791,8 +714,6 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -800,15 +721,12 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder
-        getOriginalRequestBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder getOriginalRequestBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -816,19 +734,15 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-        getOriginalRequestOrBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
       if (originalRequestBuilder_ != null) {
         return originalRequestBuilder_.getMessageOrBuilder();
       } else {
-        return originalRequest_ == null
-            ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-            : originalRequest_;
+        return originalRequest_ == null ?
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
       }
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -837,17 +751,14 @@ public Builder clearOriginalRequest() {
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> 
         getOriginalRequestFieldBuilder() {
       if (originalRequestBuilder_ == null) {
-        originalRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
-                getOriginalRequest(), getParentForChildren(), isClean());
+        originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
+                getOriginalRequest(),
+                getParentForChildren(),
+                isClean());
         originalRequest_ = null;
       }
       return originalRequestBuilder_;
@@ -855,47 +766,34 @@ public Builder clearOriginalRequest() {
 
     private com.google.protobuf.Timestamp requestTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        requestTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -916,15 +814,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -935,8 +832,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -945,9 +840,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -962,8 +857,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -981,8 +874,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -995,8 +886,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -1007,14 +896,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -1022,17 +908,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1040,47 +923,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1101,15 +971,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1120,8 +989,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1130,9 +997,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1147,8 +1014,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1166,8 +1031,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1180,8 +1043,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1192,14 +1053,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1207,24 +1065,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1234,13 +1089,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) - private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(); } @@ -1249,27 +1103,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,4 +1138,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java index 65ea6aaf1f..1251df1f7a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateTableFromSnapshotMetadataOrBuilder - extends +public interface CreateTableFromSnapshotMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
@@ -60,36 +36,27 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
    *
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
-  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-      getOriginalRequestOrBuilder();
+  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -99,32 +66,24 @@ public interface CreateTableFromSnapshotMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java index 38f9ed5ed9..2648dad3ea 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
@@ -34,17 +17,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
  */
-public final class CreateTableFromSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
     CreateTableFromSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotRequest.newBuilder() to construct.
-  private CreateTableFromSnapshotRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTableFromSnapshotRequest() {
     parent_ = "";
     tableId_ = "";
@@ -53,41 +34,34 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,32 +70,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,19 +102,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -151,30 +119,30 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -183,12 +151,9 @@ public com.google.protobuf.ByteString getTableIdBytes() { } public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceSnapshot_ = ""; /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table.
    * The snapshot and the table must be in the same instance. Values are of the
@@ -196,10 +161,7 @@ public com.google.protobuf.ByteString getTableIdBytes() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ @java.lang.Override @@ -208,15 +170,14 @@ public java.lang.String getSourceSnapshot() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; } } /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table.
    * The snapshot and the table must be in the same instance. Values are of the
@@ -224,18 +185,17 @@ public java.lang.String getSourceSnapshot() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -244,7 +204,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,17 +252,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTableId().equals(other.getTableId())) return false; - if (!getSourceSnapshot().equals(other.getSourceSnapshot())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; + if (!getSourceSnapshot() + .equals(other.getSourceSnapshot())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,104 +288,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
@@ -436,32 +392,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -494,11 +451,8 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -520,39 +474,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,8 +513,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -603,31 +555,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceSnapshot_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sourceSnapshot_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -637,28 +585,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -667,24 +610,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -692,41 +632,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -736,24 +665,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -763,21 +686,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -786,22 +707,21 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -809,37 +729,30 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -849,22 +762,18 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -874,8 +783,6 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceSnapshot_ = ""; /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table.
      * The snapshot and the table must be in the same instance. Values are of the
@@ -883,16 +790,14 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ public java.lang.String getSourceSnapshot() { java.lang.Object ref = sourceSnapshot_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; @@ -901,8 +806,6 @@ public java.lang.String getSourceSnapshot() { } } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table.
      * The snapshot and the table must be in the same instance. Values are of the
@@ -910,17 +813,16 @@ public java.lang.String getSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -928,8 +830,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table.
      * The snapshot and the table must be in the same instance. Values are of the
@@ -937,25 +837,19 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table.
      * The snapshot and the table must be in the same instance. Values are of the
@@ -963,10 +857,7 @@ public Builder setSourceSnapshot(java.lang.String value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceSnapshot() { @@ -976,8 +867,6 @@ public Builder clearSourceSnapshot() { return this; } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table.
      * The snapshot and the table must be in the same instance. Values are of the
@@ -985,26 +874,22 @@ public Builder clearSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshotBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1014,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(); } @@ -1028,27 +913,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,4 +948,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java index f52ea3fc84..9681c45a5c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java @@ -1,90 +1,58 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface CreateTableFromSnapshotRequestOrBuilder - extends +public interface CreateTableFromSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table.
    * The snapshot and the table must be in the same instance. Values are of the
@@ -92,16 +60,11 @@ public interface CreateTableFromSnapshotRequestOrBuilder
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ java.lang.String getSourceSnapshot(); /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table.
    * The snapshot and the table must be in the same instance. Values are of the
@@ -109,11 +72,9 @@ public interface CreateTableFromSnapshotRequestOrBuilder
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ - com.google.protobuf.ByteString getSourceSnapshotBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java index f37b064318..3535d9347c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest}
  */
-public final class CreateTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest)
     CreateTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableRequest.newBuilder() to construct.
   private CreateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTableRequest() {
     parent_ = "";
     tableId_ = "";
@@ -47,98 +29,86 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableRequest.class,
-            com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
   }
 
-  public interface SplitOrBuilder
-      extends
+  public interface SplitOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest.Split)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ com.google.protobuf.ByteString getKey(); } /** - * - * *
    * An initial split point for a newly created table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Split extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Split extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest.Split) SplitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Split.newBuilder() to construct. private Split(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Split() { key_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Split(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -147,7 +117,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,7 +128,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -173,7 +143,8 @@ public int getSerializedSize() { size = 0; if (!key_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, key_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableRequest.Split other = - (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; + com.google.bigtable.admin.v2.CreateTableRequest.Split other = (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -211,94 +182,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -308,41 +274,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An initial split point for a newly created table.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest.Split) com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateTableRequest.Split.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override @@ -373,11 +337,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split buildPartial() { - com.google.bigtable.admin.v2.CreateTableRequest.Split result = - new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateTableRequest.Split result = new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -393,41 +354,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest.Split public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split) { - return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split)other); } else { super.mergeFrom(other); return this; @@ -435,8 +393,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { - if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } @@ -466,19 +423,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - key_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + key_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -488,19 +443,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -508,35 +459,27 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -545,7 +488,6 @@ public Builder clearKey() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -558,12 +500,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest.Split) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest.Split) private static final com.google.bigtable.admin.v2.CreateTableRequest.Split DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest.Split(); } @@ -572,28 +514,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Split parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Split parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -608,25 +549,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -635,32 +571,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -669,12 +603,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -682,7 +613,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -691,15 +621,14 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -707,15 +636,16 @@ public java.lang.String getTableId() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -726,15 +656,11 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int TABLE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Table table_; /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -742,15 +668,11 @@ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -758,14 +680,11 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -773,12 +692,9 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { } public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List initialSplits_; /** - * - * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -801,13 +717,10 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
-      getInitialSplitsList() {
+  public java.util.List getInitialSplitsList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -830,13 +743,11 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInitialSplitsOrBuilderList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -863,8 +774,6 @@ public int getInitialSplitsCount() {
     return initialSplits_.size();
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -891,8 +800,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
     return initialSplits_.get(index);
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -921,7 +828,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -933,7 +839,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -962,10 +869,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTable());
     }
     for (int i = 0; i < initialSplits_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, initialSplits_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, initialSplits_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -975,21 +884,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.CreateTableRequest other =
-        (com.google.bigtable.admin.v2.CreateTableRequest) obj;
+    com.google.bigtable.admin.v2.CreateTableRequest other = (com.google.bigtable.admin.v2.CreateTableRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getTableId().equals(other.getTableId())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getTableId()
+        .equals(other.getTableId())) return false;
     if (hasTable() != other.hasTable()) return false;
     if (hasTable()) {
-      if (!getTable().equals(other.getTable())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
     }
-    if (!getInitialSplitsList().equals(other.getInitialSplitsList())) return false;
+    if (!getInitialSplitsList()
+        .equals(other.getInitialSplitsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1018,104 +930,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
@@ -1123,23 +1030,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest)
       com.google.bigtable.admin.v2.CreateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableRequest.class,
-              com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableRequest.newBuilder()
@@ -1147,18 +1052,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTableFieldBuilder();
         getInitialSplitsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1181,9 +1086,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1202,18 +1107,14 @@ public com.google.bigtable.admin.v2.CreateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableRequest result =
-          new com.google.bigtable.admin.v2.CreateTableRequest(this);
+      com.google.bigtable.admin.v2.CreateTableRequest result = new com.google.bigtable.admin.v2.CreateTableRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.CreateTableRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.CreateTableRequest result) {
       if (initialSplitsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
@@ -1235,7 +1136,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1245,39 +1148,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1285,8 +1187,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -1318,10 +1219,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            initialSplitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInitialSplitsFieldBuilder()
-                    : null;
+            initialSplitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInitialSplitsFieldBuilder() : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1353,45 +1253,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.bigtable.admin.v2.CreateTableRequest.Split m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
-                        extensionRegistry);
-                if (initialSplitsBuilder_ == null) {
-                  ensureInitialSplitsIsMutable();
-                  initialSplits_.add(m);
-                } else {
-                  initialSplitsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.bigtable.admin.v2.CreateTableRequest.Split m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
+                      extensionRegistry);
+              if (initialSplitsBuilder_ == null) {
+                ensureInitialSplitsIsMutable();
+                initialSplits_.add(m);
+              } else {
+                initialSplitsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1401,28 +1298,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1431,24 +1323,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1456,41 +1345,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -1500,24 +1378,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1527,8 +1399,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1536,13 +1406,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -1551,8 +1421,6 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1560,14 +1428,15 @@ public java.lang.String getTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -1575,8 +1444,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1584,22 +1451,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1607,7 +1470,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -1617,8 +1479,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1626,14 +1486,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -1643,35 +1501,24 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Table table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> - tableBuilder_; + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_; /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1682,14 +1529,11 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -1705,16 +1549,14 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -1725,20 +1567,17 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -1753,14 +1592,11 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1773,14 +1609,11 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000004; @@ -1788,70 +1621,54 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } private java.util.List initialSplits_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInitialSplitsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - initialSplits_ = - new java.util.ArrayList( - initialSplits_); + initialSplits_ = new java.util.ArrayList(initialSplits_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.CreateTableRequest.Split, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, - com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> - initialSplitsBuilder_; + com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> initialSplitsBuilder_; /** - * - * *
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1873,8 +1690,7 @@ private void ensureInitialSplitsIsMutable() {
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsList() {
+    public java.util.List getInitialSplitsList() {
       if (initialSplitsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(initialSplits_);
       } else {
@@ -1882,8 +1698,6 @@ private void ensureInitialSplitsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1913,8 +1727,6 @@ public int getInitialSplitsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1944,8 +1756,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1982,8 +1792,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2017,8 +1825,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2054,8 +1860,6 @@ public Builder addInitialSplits(com.google.bigtable.admin.v2.CreateTableRequest.
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2092,8 +1896,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2127,8 +1929,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2162,8 +1962,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2186,11 +1984,11 @@ public Builder addInitialSplits(
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public Builder addAllInitialSplits(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (initialSplitsBuilder_ == null) {
         ensureInitialSplitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, initialSplits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, initialSplits_);
         onChanged();
       } else {
         initialSplitsBuilder_.addAllMessages(values);
@@ -2198,8 +1996,6 @@ public Builder addAllInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2232,8 +2028,6 @@ public Builder clearInitialSplits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2266,8 +2060,6 @@ public Builder removeInitialSplits(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2294,8 +2086,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
       return getInitialSplitsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2320,14 +2110,11 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
     public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitialSplitsOrBuilder(
         int index) {
       if (initialSplitsBuilder_ == null) {
-        return initialSplits_.get(index);
-      } else {
+        return initialSplits_.get(index);  } else {
         return initialSplitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2349,8 +2136,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsOrBuilderList() {
+    public java.util.List 
+         getInitialSplitsOrBuilderList() {
       if (initialSplitsBuilder_ != null) {
         return initialSplitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2358,8 +2145,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2382,12 +2167,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2411,13 +2194,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder(
         int index) {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(
-              index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2439,22 +2219,16 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsBuilderList() {
+    public java.util.List 
+         getInitialSplitsBuilderList() {
       return getInitialSplitsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableRequest.Split,
-            com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-            com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> 
         getInitialSplitsFieldBuilder() {
       if (initialSplitsBuilder_ == null) {
-        initialSplitsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableRequest.Split,
-                com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-                com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
+        initialSplitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
                 initialSplits_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -2463,9 +2237,9 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
       }
       return initialSplitsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2475,12 +2249,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest)
   private static final com.google.bigtable.admin.v2.CreateTableRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest();
   }
@@ -2489,27 +2263,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateTableRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateTableRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2524,4 +2298,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
index 03c6aebdca..8919888f14 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
@@ -1,63 +1,36 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface CreateTableRequestOrBuilder
-    extends
+public interface CreateTableRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -65,13 +38,10 @@ public interface CreateTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -79,52 +49,39 @@ public interface CreateTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** - * - * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -146,10 +103,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List getInitialSplitsList();
+  java.util.List 
+      getInitialSplitsList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -173,8 +129,6 @@ public interface CreateTableRequestOrBuilder
    */
   com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(int index);
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -198,8 +152,6 @@ public interface CreateTableRequestOrBuilder
    */
   int getInitialSplitsCount();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -221,11 +173,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List
+  java.util.List 
       getInitialSplitsOrBuilderList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
similarity index 66%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
index 14b5b7d7c6..edd803a6fc 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_instance_admin.proto
 
@@ -20,66 +5,56 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Request message for BigtableInstanceAdmin.DeleteAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ -public final class DeleteAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) DeleteAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAppProfileRequest.newBuilder() to construct. private DeleteAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of
    * the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of
    * the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; private boolean ignoreWarnings_ = false; /** - * - * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -141,7 +111,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,7 +122,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -173,7 +143,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,16 +154,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteAppProfileRequest other = - (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; + com.google.bigtable.admin.v2.DeleteAppProfileRequest other = (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -207,142 +179,139 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) com.google.bigtable.admin.v2.DeleteAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override @@ -374,11 +343,8 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteAppProfileRequest result = - new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -397,39 +363,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -437,8 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -473,25 +437,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -501,29 +462,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of
      * the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -532,25 +488,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of
      * the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -558,43 +511,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of
      * the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of
      * the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -604,25 +546,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of
      * the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -630,16 +566,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -647,14 +580,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -666,14 +596,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -682,9 +609,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,12 +621,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) private static final com.google.bigtable.admin.v2.DeleteAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(); } @@ -708,27 +635,27 @@ public static com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,4 +670,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 62c8d6ba9c..968c62a851 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java @@ -1,71 +1,43 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface DeleteAppProfileRequestOrBuilder - extends +public interface DeleteAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of
    * the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of
    * the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ boolean getIgnoreWarnings(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java index fac285d51e..fa70760da2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteBackupRequest}
  */
-public final class DeleteBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteBackupRequest)
     DeleteBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteBackupRequest.newBuilder() to construct.
   private DeleteBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteBackupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteBackupRequest.class,
-            com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteBackupRequest other = - (com.google.bigtable.admin.v2.DeleteBackupRequest) obj; + com.google.bigtable.admin.v2.DeleteBackupRequest other = (com.google.bigtable.admin.v2.DeleteBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,104 +160,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
@@ -292,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteBackupRequest)
       com.google.bigtable.admin.v2.DeleteBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteBackupRequest.class,
-              com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +296,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +317,8 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteBackupRequest result =
-          new com.google.bigtable.admin.v2.DeleteBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteBackupRequest result = new com.google.bigtable.admin.v2.DeleteBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +334,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteBackupRequest) private static final com.google.bigtable.admin.v2.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteBackupRequest(); } @@ -617,27 +554,27 @@ public static com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java new file mode 100644 index 0000000000..373e63f975 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface DeleteBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/DeleteClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index c83608c681..c8437e5daf 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,65 +5,55 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteClusterRequest other = - (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; + com.google.bigtable.admin.v2.DeleteClusterRequest other = (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +158,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteClusterRequest) com.google.bigtable.admin.v2.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -344,11 +313,8 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteClusterRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteClusterRequest result = - new com.google.bigtable.admin.v2.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteClusterRequest result = new com.google.bigtable.admin.v2.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +330,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -404,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteClusterRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -489,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -558,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteClusterRequest) private static final com.google.bigtable.admin.v2.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteClusterRequest(); } @@ -608,27 +545,27 @@ public static com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java new file mode 100644 index 0000000000..46379fdba3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface DeleteClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the
+   * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the
+   * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index 9a2cd2560d..8f07ba3949 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,65 +5,55 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteInstanceRequest other = - (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; + com.google.bigtable.admin.v2.DeleteInstanceRequest other = (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +158,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteInstanceRequest) com.google.bigtable.admin.v2.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -344,11 +313,8 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteInstanceRequest result = - new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteInstanceRequest result = new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +330,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -404,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -489,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -558,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteInstanceRequest) private static final com.google.bigtable.admin.v2.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteInstanceRequest(); } @@ -608,27 +545,27 @@ public static com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..6837789570 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index bae2d2c515..77d3ff1f79 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -34,58 +17,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
  */
-public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
     DeleteSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteSnapshotRequest.newBuilder() to construct.
   private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +69,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,15 +138,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteSnapshotRequest other = - (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; + com.google.bigtable.admin.v2.DeleteSnapshotRequest other = (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,103 +166,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -302,32 +270,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
       com.google.bigtable.admin.v2.DeleteSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -337,9 +306,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -358,11 +327,8 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteSnapshotRequest result =
-          new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -378,39 +344,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -418,8 +383,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -451,19 +415,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -473,29 +435,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -504,25 +461,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,43 +484,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -576,34 +519,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) private static final com.google.bigtable.admin.v2.DeleteSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(); } @@ -627,27 +564,27 @@ public static com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..daee71a03d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface DeleteSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index a7fb28c6dc..7586fd306f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
  */
-public final class DeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteTableRequest)
     DeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTableRequest.newBuilder() to construct.
   private DeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteTableRequest.class,
-            com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteTableRequest other = - (com.google.bigtable.admin.v2.DeleteTableRequest) obj; + com.google.bigtable.admin.v2.DeleteTableRequest other = (com.google.bigtable.admin.v2.DeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,104 +160,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -292,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteTableRequest)
       com.google.bigtable.admin.v2.DeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteTableRequest.class,
-              com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +296,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +317,8 @@ public com.google.bigtable.admin.v2.DeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteTableRequest result =
-          new com.google.bigtable.admin.v2.DeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteTableRequest result = new com.google.bigtable.admin.v2.DeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +334,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteTableRequest) private static final com.google.bigtable.admin.v2.DeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteTableRequest(); } @@ -617,27 +554,27 @@ public static com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..6aac3ae96f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface DeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index b055e66eaa..62d674a317 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
  */
-public final class DropRowRangeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DropRowRangeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DropRowRangeRequest)
     DropRowRangeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DropRowRangeRequest.newBuilder() to construct.
   private DropRowRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DropRowRangeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DropRowRangeRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-            com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+            com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
   }
 
   private int targetCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object target_;
-
   public enum TargetCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      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);
     private final int value;
-
     private TargetCase(int value) {
       this.value = value;
     }
@@ -93,43 +70,34 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return ROW_KEY_PREFIX;
-        case 3:
-          return DELETE_ALL_DATA_FROM_TABLE;
-        case 0:
-          return TARGET_NOT_SET;
-        default:
-          return null;
+        case 2: return ROW_KEY_PREFIX;
+        case 3: return DELETE_ALL_DATA_FROM_TABLE;
+        case 0: return TARGET_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase getTargetCase() {
-    return TargetCase.forNumber(targetCase_);
+  public TargetCase
+  getTargetCase() {
+    return TargetCase.forNumber(
+        targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -138,33 +106,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -174,15 +140,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROW_KEY_PREFIX_FIELD_NUMBER = 2; /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ @java.lang.Override @@ -190,15 +153,12 @@ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ @java.lang.Override @@ -211,14 +171,11 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { public static final int DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER = 3; /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ @java.lang.Override @@ -226,14 +183,11 @@ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ @java.lang.Override @@ -245,7 +199,6 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,15 +210,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (targetCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) target_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) target_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) target_)); } getUnknownFields().writeTo(output); } @@ -280,14 +236,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) target_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) target_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) target_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,22 +253,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DropRowRangeRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DropRowRangeRequest other = - (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; + com.google.bigtable.admin.v2.DropRowRangeRequest other = (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getTargetCase().equals(other.getTargetCase())) return false; switch (targetCase_) { case 2: - if (!getRowKeyPrefix().equals(other.getRowKeyPrefix())) return false; + if (!getRowKeyPrefix() + .equals(other.getRowKeyPrefix())) return false; break; case 3: - if (getDeleteAllDataFromTable() != other.getDeleteAllDataFromTable()) return false; + if (getDeleteAllDataFromTable() + != other.getDeleteAllDataFromTable()) return false; break; case 0: default: @@ -337,7 +295,8 @@ public int hashCode() { break; case 3: hash = (37 * hash) + DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteAllDataFromTable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleteAllDataFromTable()); break; case 0: default: @@ -347,104 +306,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DropRowRangeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -452,32 +406,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DropRowRangeRequest)
       com.google.bigtable.admin.v2.DropRowRangeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-              com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+              com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DropRowRangeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -489,9 +444,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -510,11 +465,8 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DropRowRangeRequest buildPartial() {
-      com.google.bigtable.admin.v2.DropRowRangeRequest result =
-          new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DropRowRangeRequest result = new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -536,39 +488,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.DropRowRangeRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DropRowRangeRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -576,28 +527,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DropRowRangeRequest other) {
-      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getTargetCase()) {
-        case ROW_KEY_PREFIX:
-          {
-            setRowKeyPrefix(other.getRowKeyPrefix());
-            break;
-          }
-        case DELETE_ALL_DATA_FROM_TABLE:
-          {
-            setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
-            break;
-          }
-        case TARGET_NOT_SET:
-          {
-            break;
-          }
+        case ROW_KEY_PREFIX: {
+          setRowKeyPrefix(other.getRowKeyPrefix());
+          break;
+        }
+        case DELETE_ALL_DATA_FROM_TABLE: {
+          setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
+          break;
+        }
+        case TARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -625,31 +572,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                target_ = input.readBytes();
-                targetCase_ = 2;
-                break;
-              } // case 18
-            case 24:
-              {
-                target_ = input.readBool();
-                targetCase_ = 3;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              target_ = input.readBytes();
+              targetCase_ = 2;
+              break;
+            } // case 18
+            case 24: {
+              target_ = input.readBool();
+              targetCase_ = 3;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -659,12 +602,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int targetCase_ = 0;
     private java.lang.Object target_;
-
-    public TargetCase getTargetCase() {
-      return TargetCase.forNumber(targetCase_);
+    public TargetCase
+        getTargetCase() {
+      return TargetCase.forNumber(
+          targetCase_);
     }
 
     public Builder clearTarget() {
@@ -678,24 +621,20 @@ public Builder clearTarget() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -704,25 +643,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -730,43 +666,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -776,25 +701,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -803,30 +722,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ public com.google.protobuf.ByteString getRowKeyPrefix() { @@ -836,37 +749,29 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } targetCase_ = 2; target_ = value; onChanged(); return this; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return This builder for chaining. */ public Builder clearRowKeyPrefix() { @@ -879,28 +784,22 @@ public Builder clearRowKeyPrefix() { } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ public boolean getDeleteAllDataFromTable() { @@ -910,14 +809,11 @@ public boolean getDeleteAllDataFromTable() { return false; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @param value The deleteAllDataFromTable to set. * @return This builder for chaining. */ @@ -929,14 +825,11 @@ public Builder setDeleteAllDataFromTable(boolean value) { return this; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return This builder for chaining. */ public Builder clearDeleteAllDataFromTable() { @@ -947,9 +840,9 @@ public Builder clearDeleteAllDataFromTable() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -959,12 +852,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DropRowRangeRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DropRowRangeRequest) private static final com.google.bigtable.admin.v2.DropRowRangeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DropRowRangeRequest(); } @@ -973,27 +866,27 @@ public static com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropRowRangeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropRowRangeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java index a76c9db205..79505c4f9a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java @@ -1,110 +1,73 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface DropRowRangeRequestOrBuilder - extends +public interface DropRowRangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DropRowRangeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ boolean hasRowKeyPrefix(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ com.google.protobuf.ByteString getRowKeyPrefix(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ boolean hasDeleteAllDataFromTable(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * 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/EncryptionInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java index 0f4563204f..494ea83818 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Encryption information for a given resource.
  * If this resource is protected with customer managed encryption, the in-use
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.EncryptionInfo}
  */
-public final class EncryptionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EncryptionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.EncryptionInfo)
     EncryptionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EncryptionInfo.newBuilder() to construct.
   private EncryptionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EncryptionInfo() {
     encryptionType_ = 0;
     kmsKeyVersion_ = "";
@@ -48,38 +30,34 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.EncryptionInfo.class,
-            com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+            com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible encryption types for a resource.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.EncryptionInfo.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -88,8 +66,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -100,8 +76,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -119,8 +93,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -129,8 +101,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -141,8 +111,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -157,6 +125,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -181,49 +150,49 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 2: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.EncryptionInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -244,58 +213,39 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -303,60 +253,43 @@ public boolean hasEncryptionStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ @java.lang.Override public com.google.rpc.Status getEncryptionStatus() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ @java.lang.Override @@ -365,32 +298,30 @@ public java.lang.String getKmsKeyVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; } } /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -399,7 +330,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,13 +341,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + if (encryptionType_ != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, encryptionType_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -435,13 +364,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, encryptionType_); + if (encryptionType_ != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, encryptionType_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -451,20 +380,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.EncryptionInfo)) { return super.equals(obj); } - com.google.bigtable.admin.v2.EncryptionInfo other = - (com.google.bigtable.admin.v2.EncryptionInfo) obj; + com.google.bigtable.admin.v2.EncryptionInfo other = (com.google.bigtable.admin.v2.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; if (hasEncryptionStatus() != other.hasEncryptionStatus()) return false; if (hasEncryptionStatus()) { - if (!getEncryptionStatus().equals(other.getEncryptionStatus())) return false; + if (!getEncryptionStatus() + .equals(other.getEncryptionStatus())) return false; } - if (!getKmsKeyVersion().equals(other.getKmsKeyVersion())) return false; + if (!getKmsKeyVersion() + .equals(other.getKmsKeyVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -489,104 +419,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.EncryptionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption information for a given resource.
    * If this resource is protected with customer managed encryption, the in-use
@@ -596,23 +521,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.EncryptionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.EncryptionInfo)
       com.google.bigtable.admin.v2.EncryptionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.EncryptionInfo.class,
-              com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+              com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.EncryptionInfo.newBuilder()
@@ -620,17 +543,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getEncryptionStatusFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -646,9 +569,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -667,11 +590,8 @@ public com.google.bigtable.admin.v2.EncryptionInfo build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.EncryptionInfo buildPartial() {
-      com.google.bigtable.admin.v2.EncryptionInfo result =
-          new com.google.bigtable.admin.v2.EncryptionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.EncryptionInfo result = new com.google.bigtable.admin.v2.EncryptionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -683,8 +603,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.encryptionStatus_ =
-            encryptionStatusBuilder_ == null ? encryptionStatus_ : encryptionStatusBuilder_.build();
+        result.encryptionStatus_ = encryptionStatusBuilder_ == null
+            ? encryptionStatus_
+            : encryptionStatusBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
@@ -697,39 +618,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.EncryptionInfo) {
-        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo) other);
+        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -775,32 +695,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                kmsKeyVersion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 24:
-              {
-                encryptionType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              kmsKeyVersion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 24: {
+              encryptionType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getEncryptionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -810,38 +727,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int encryptionType_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -852,42 +757,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { + public Builder setEncryptionType(com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -897,16 +788,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -918,59 +804,45 @@ public Builder clearEncryptionType() { private com.google.rpc.Status encryptionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - encryptionStatusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> encryptionStatusBuilder_; /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ public boolean hasEncryptionStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ public com.google.rpc.Status getEncryptionStatus() { if (encryptionStatusBuilder_ == null) { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } else { return encryptionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -986,18 +858,16 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setEncryptionStatus( + com.google.rpc.Status.Builder builderForValue) { if (encryptionStatusBuilder_ == null) { encryptionStatus_ = builderForValue.build(); } else { @@ -1008,22 +878,19 @@ public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && encryptionStatus_ != null - && encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + encryptionStatus_ != null && + encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { getEncryptionStatusBuilder().mergeFrom(value); } else { encryptionStatus_ = value; @@ -1038,16 +905,13 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1060,16 +924,13 @@ public Builder clearEncryptionStatus() { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -1077,48 +938,40 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { if (encryptionStatusBuilder_ != null) { return encryptionStatusBuilder_.getMessageOrBuilder(); } else { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getEncryptionStatusFieldBuilder() { if (encryptionStatusBuilder_ == null) { - encryptionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getEncryptionStatus(), getParentForChildren(), isClean()); + encryptionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getEncryptionStatus(), + getParentForChildren(), + isClean()); encryptionStatus_ = null; } return encryptionStatusBuilder_; @@ -1126,23 +979,19 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { private java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ public java.lang.String getKmsKeyVersion() { java.lang.Object ref = kmsKeyVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; @@ -1151,24 +1000,21 @@ public java.lang.String getKmsKeyVersion() { } } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -1176,41 +1022,30 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1220,33 +1055,27 @@ public Builder clearKmsKeyVersion() { return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1256,12 +1085,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.EncryptionInfo) private static final com.google.bigtable.admin.v2.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.EncryptionInfo(); } @@ -1270,27 +1099,27 @@ public static com.google.bigtable.admin.v2.EncryptionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,4 +1134,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java similarity index 59% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java index 8d26d147b1..8111ca2192 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java @@ -1,130 +1,84 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface EncryptionInfoOrBuilder - extends +public interface EncryptionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.EncryptionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ boolean hasEncryptionStatus(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ com.google.rpc.Status getEncryptionStatus(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder(); /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ java.lang.String getKmsKeyVersion(); /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - com.google.protobuf.ByteString getKmsKeyVersionBytes(); + com.google.protobuf.ByteString + getKmsKeyVersionBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java index 6b32cbef68..11fe8e58a4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,65 +5,58 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Rule for determining which cells to delete during garbage collection.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ -public final class GcRule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcRule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule) GcRuleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcRule.newBuilder() to construct. private GcRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcRule() {} + private GcRule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcRule(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } - public interface IntersectionOrBuilder - extends + public interface IntersectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Intersection) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -87,8 +65,6 @@ public interface IntersectionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -97,77 +73,68 @@ public interface IntersectionOrBuilder */ int getRulesCount(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching all of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Intersection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Intersection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Intersection) IntersectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Intersection.newBuilder() to construct. private Intersection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Intersection() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Intersection(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -179,8 +146,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -188,13 +153,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -206,8 +169,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -219,8 +180,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -228,12 +187,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -259,7 +219,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,15 +230,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Intersection)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Intersection other = - (com.google.bigtable.admin.v2.GcRule.Intersection) obj; + com.google.bigtable.admin.v2.GcRule.Intersection other = (com.google.bigtable.admin.v2.GcRule.Intersection) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,93 +260,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Intersection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -395,41 +352,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching all of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Intersection) com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override @@ -466,18 +421,14 @@ public com.google.bigtable.admin.v2.GcRule.Intersection build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection buildPartial() { - com.google.bigtable.admin.v2.GcRule.Intersection result = - new com.google.bigtable.admin.v2.GcRule.Intersection(this); + com.google.bigtable.admin.v2.GcRule.Intersection result = new com.google.bigtable.admin.v2.GcRule.Intersection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.GcRule.Intersection result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.GcRule.Intersection result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -497,41 +448,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Intersection resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Intersection) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection)other); } else { super.mergeFrom(other); return this; @@ -539,8 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) { - if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { @@ -559,10 +506,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -594,26 +540,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -623,28 +568,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -659,8 +597,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -675,8 +611,6 @@ public int getRulesCount() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -691,15 +625,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +646,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -733,8 +664,6 @@ public Builder setRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -755,15 +684,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +705,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -796,8 +723,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -816,8 +741,6 @@ public Builder addRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -828,7 +751,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -836,8 +760,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -855,8 +777,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -874,44 +794,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +834,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -928,52 +841,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -986,12 +893,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Intersection) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Intersection) private static final com.google.bigtable.admin.v2.GcRule.Intersection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Intersection(); } @@ -1000,28 +907,27 @@ public static com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Intersection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Intersection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,26 +942,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnionOrBuilder - extends + public interface UnionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Union) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1064,8 +967,6 @@ public interface UnionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1074,77 +975,68 @@ public interface UnionOrBuilder */ int getRulesCount(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching any of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Union extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Union extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Union) UnionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Union.newBuilder() to construct. private Union(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Union() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Union(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1156,8 +1048,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1165,13 +1055,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1183,8 +1071,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1196,8 +1082,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1205,12 +1089,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1222,7 +1106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -1236,7 +1121,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1246,15 +1132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Union)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Union other = - (com.google.bigtable.admin.v2.GcRule.Union) obj; + com.google.bigtable.admin.v2.GcRule.Union other = (com.google.bigtable.admin.v2.GcRule.Union) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1275,94 +1161,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Union prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1372,41 +1254,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching any of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Union) com.google.bigtable.admin.v2.GcRule.UnionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Union.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1422,9 +1302,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override @@ -1443,12 +1323,9 @@ public com.google.bigtable.admin.v2.GcRule.Union build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union buildPartial() { - com.google.bigtable.admin.v2.GcRule.Union result = - new com.google.bigtable.admin.v2.GcRule.Union(this); + com.google.bigtable.admin.v2.GcRule.Union result = new com.google.bigtable.admin.v2.GcRule.Union(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1473,41 +1350,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Union result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Union) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union)other); } else { super.mergeFrom(other); return this; @@ -1534,10 +1408,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Union other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -1569,26 +1442,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1598,28 +1470,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1634,8 +1499,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1650,8 +1513,6 @@ public int getRulesCount() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1666,15 +1527,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1688,8 +1548,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1708,8 +1566,6 @@ public Builder setRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1730,15 +1586,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1752,15 +1607,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1771,8 +1625,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1791,8 +1643,6 @@ public Builder addRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1803,7 +1653,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1811,8 +1662,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1830,8 +1679,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1849,44 +1696,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1894,8 +1736,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1903,52 +1743,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1961,12 +1795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Union) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Union) private static final com.google.bigtable.admin.v2.GcRule.Union DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Union(); } @@ -1975,28 +1809,27 @@ public static com.google.bigtable.admin.v2.GcRule.Union getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Union parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Union parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2011,16 +1844,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int ruleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object rule_; - public enum RuleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAX_NUM_VERSIONS(1), MAX_AGE(2), @@ -2028,7 +1859,6 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; - private RuleCase(int value) { this.value = value; } @@ -2044,40 +1874,32 @@ public static RuleCase valueOf(int value) { public static RuleCase forNumber(int value) { switch (value) { - case 1: - return MAX_NUM_VERSIONS; - case 2: - return MAX_AGE; - case 3: - return INTERSECTION; - case 4: - return UNION; - case 0: - return RULE_NOT_SET; - default: - return null; + case 1: return MAX_NUM_VERSIONS; + case 2: return MAX_AGE; + case 3: return INTERSECTION; + case 4: return UNION; + case 0: return RULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public static final int MAX_NUM_VERSIONS_FIELD_NUMBER = 1; /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ @java.lang.Override @@ -2085,14 +1907,11 @@ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ @java.lang.Override @@ -2105,8 +1924,6 @@ public int getMaxNumVersions() { public static final int MAX_AGE_FIELD_NUMBER = 2; /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2114,7 +1931,6 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2122,8 +1938,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2131,19 +1945,16 @@ public boolean hasMaxAge() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override public com.google.protobuf.Duration getMaxAge() { if (ruleCase_ == 2) { - return (com.google.protobuf.Duration) rule_; + return (com.google.protobuf.Duration) rule_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2155,21 +1966,18 @@ public com.google.protobuf.Duration getMaxAge() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     if (ruleCase_ == 2) {
-      return (com.google.protobuf.Duration) rule_;
+       return (com.google.protobuf.Duration) rule_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int INTERSECTION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -2177,26 +1985,21 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
@@ -2206,21 +2009,18 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersectionOrBuilder() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } public static final int UNION_FIELD_NUMBER = 4; /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -2228,26 +2028,21 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union getUnion() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
@@ -2257,13 +2052,12 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2275,9 +2069,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (ruleCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) rule_)); + output.writeInt32( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Duration) rule_); @@ -2298,24 +2094,21 @@ public int getSerializedSize() { size = 0; if (ruleCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.protobuf.Duration) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.protobuf.Duration) rule_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2325,7 +2118,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule)) { return super.equals(obj); @@ -2335,16 +2128,20 @@ public boolean equals(final java.lang.Object obj) { if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 1: - if (getMaxNumVersions() != other.getMaxNumVersions()) return false; + if (getMaxNumVersions() + != other.getMaxNumVersions()) return false; break; case 2: - if (!getMaxAge().equals(other.getMaxAge())) return false; + if (!getMaxAge() + .equals(other.getMaxAge())) return false; break; case 3: - if (!getIntersection().equals(other.getIntersection())) return false; + if (!getIntersection() + .equals(other.getIntersection())) return false; break; case 4: - if (!getUnion().equals(other.getUnion())) return false; + if (!getUnion() + .equals(other.getUnion())) return false; break; case 0: default: @@ -2385,135 +2182,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Rule for determining which cells to delete during garbage collection.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule) com.google.bigtable.admin.v2.GcRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2533,9 +2327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override @@ -2555,9 +2349,7 @@ public com.google.bigtable.admin.v2.GcRule build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule buildPartial() { com.google.bigtable.admin.v2.GcRule result = new com.google.bigtable.admin.v2.GcRule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2570,13 +2362,16 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { result.ruleCase_ = ruleCase_; result.rule_ = this.rule_; - if (ruleCase_ == 2 && maxAgeBuilder_ != null) { + if (ruleCase_ == 2 && + maxAgeBuilder_ != null) { result.rule_ = maxAgeBuilder_.build(); } - if (ruleCase_ == 3 && intersectionBuilder_ != null) { + if (ruleCase_ == 3 && + intersectionBuilder_ != null) { result.rule_ = intersectionBuilder_.build(); } - if (ruleCase_ == 4 && unionBuilder_ != null) { + if (ruleCase_ == 4 && + unionBuilder_ != null) { result.rule_ = unionBuilder_.build(); } } @@ -2585,39 +2380,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule)other); } else { super.mergeFrom(other); return this; @@ -2627,30 +2421,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule other) { if (other == com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) return this; switch (other.getRuleCase()) { - case MAX_NUM_VERSIONS: - { - setMaxNumVersions(other.getMaxNumVersions()); - break; - } - case MAX_AGE: - { - mergeMaxAge(other.getMaxAge()); - break; - } - case INTERSECTION: - { - mergeIntersection(other.getIntersection()); - break; - } - case UNION: - { - mergeUnion(other.getUnion()); - break; - } - case RULE_NOT_SET: - { - break; - } + case MAX_NUM_VERSIONS: { + setMaxNumVersions(other.getMaxNumVersions()); + break; + } + case MAX_AGE: { + mergeMaxAge(other.getMaxAge()); + break; + } + case INTERSECTION: { + mergeIntersection(other.getIntersection()); + break; + } + case UNION: { + mergeUnion(other.getUnion()); + break; + } + case RULE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2678,37 +2467,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rule_ = input.readInt32(); - ruleCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage(getMaxAgeFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getIntersectionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getUnionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rule_ = input.readInt32(); + ruleCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getMaxAgeFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getIntersectionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getUnionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2718,12 +2508,12 @@ public Builder mergeFrom( } // finally return this; } - private int ruleCase_ = 0; private java.lang.Object rule_; - - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public Builder clearRule() { @@ -2736,28 +2526,22 @@ public Builder clearRule() { private int bitField0_; /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ public int getMaxNumVersions() { @@ -2767,14 +2551,11 @@ public int getMaxNumVersions() { return 0; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @param value The maxNumVersions to set. * @return This builder for chaining. */ @@ -2786,14 +2567,11 @@ public Builder setMaxNumVersions(int value) { return this; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return This builder for chaining. */ public Builder clearMaxNumVersions() { @@ -2806,13 +2584,8 @@ public Builder clearMaxNumVersions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxAgeBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxAgeBuilder_; /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2820,7 +2593,6 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2828,8 +2600,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2837,7 +2607,6 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override @@ -2855,8 +2624,6 @@ public com.google.protobuf.Duration getMaxAge() { } } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2879,8 +2646,6 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2889,7 +2654,8 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_age = 2;
      */
-    public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxAge(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxAgeBuilder_ == null) {
         rule_ = builderForValue.build();
         onChanged();
@@ -2900,8 +2666,6 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2912,11 +2676,10 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       if (maxAgeBuilder_ == null) {
-        if (ruleCase_ == 2 && rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          rule_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (ruleCase_ == 2 &&
+            rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          rule_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
+              .mergeFrom(value).buildPartial();
         } else {
           rule_ = value;
         }
@@ -2932,8 +2695,6 @@ public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2959,8 +2720,6 @@ public Builder clearMaxAge() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2973,8 +2732,6 @@ public com.google.protobuf.Duration.Builder getMaxAgeBuilder() {
       return getMaxAgeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2995,8 +2752,6 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -3006,20 +2761,17 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
      * .google.protobuf.Duration max_age = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxAgeFieldBuilder() {
       if (maxAgeBuilder_ == null) {
         if (!(ruleCase_ == 2)) {
           rule_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        maxAgeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) rule_, getParentForChildren(), isClean());
+        maxAgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) rule_,
+                getParentForChildren(),
+                isClean());
         rule_ = null;
       }
       ruleCase_ = 2;
@@ -3028,19 +2780,13 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule.Intersection,
-            com.google.bigtable.admin.v2.GcRule.Intersection.Builder,
-            com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>
-        intersectionBuilder_;
+        com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> intersectionBuilder_;
     /**
-     *
-     *
      * 
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -3048,14 +2794,11 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override @@ -3073,8 +2816,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3095,8 +2836,6 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3115,8 +2854,6 @@ public Builder setIntersection( return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3125,13 +2862,10 @@ public Builder setIntersection( */ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersection value) { if (intersectionBuilder_ == null) { - if (ruleCase_ == 3 - && rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Intersection) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 3 && + rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder((com.google.bigtable.admin.v2.GcRule.Intersection) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3147,8 +2881,6 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3172,8 +2904,6 @@ public Builder clearIntersection() { return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3184,8 +2914,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3204,8 +2932,6 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3213,19 +2939,14 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> getIntersectionFieldBuilder() { if (intersectionBuilder_ == null) { if (!(ruleCase_ == 3)) { rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } - intersectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( + intersectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Intersection) rule_, getParentForChildren(), isClean()); @@ -3237,19 +2958,13 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> - unionBuilder_; + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> unionBuilder_; /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -3257,14 +2972,11 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override @@ -3282,8 +2994,6 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3304,15 +3014,14 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; */ - public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { + public Builder setUnion( + com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { if (unionBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); @@ -3323,8 +3032,6 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3333,13 +3040,10 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde */ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { if (unionBuilder_ == null) { - if (ruleCase_ == 4 - && rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Union.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Union) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 4 && + rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Union.newBuilder((com.google.bigtable.admin.v2.GcRule.Union) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3355,8 +3059,6 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3380,8 +3082,6 @@ public Builder clearUnion() { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3392,8 +3092,6 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3412,8 +3110,6 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3421,19 +3117,14 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { * .google.bigtable.admin.v2.GcRule.Union union = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> getUnionFieldBuilder() { if (unionBuilder_ == null) { if (!(ruleCase_ == 4)) { rule_ = com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } - unionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( + unionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Union) rule_, getParentForChildren(), isClean()); @@ -3443,9 +3134,9 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { onChanged(); return unionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3455,12 +3146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule) private static final com.google.bigtable.admin.v2.GcRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule(); } @@ -3469,27 +3160,27 @@ public static com.google.bigtable.admin.v2.GcRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3504,4 +3195,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java index 8d4aa21cdd..1a46da99fd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface GcRuleOrBuilder - extends +public interface GcRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ boolean hasMaxNumVersions(); /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ int getMaxNumVersions(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -59,13 +35,10 @@ public interface GcRuleOrBuilder
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ boolean hasMaxAge(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -73,13 +46,10 @@ public interface GcRuleOrBuilder
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ com.google.protobuf.Duration getMaxAge(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -91,32 +61,24 @@ public interface GcRuleOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ boolean hasIntersection(); /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ com.google.bigtable.admin.v2.GcRule.Intersection getIntersection(); /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
@@ -126,32 +88,24 @@ public interface GcRuleOrBuilder com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersectionOrBuilder(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ boolean hasUnion(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ com.google.bigtable.admin.v2.GcRule.Union getUnion(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java similarity index 62% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java index 6ede5988b4..1d91fc0a57 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -29,59 +12,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
  */
-public final class GenerateConsistencyTokenRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
     GenerateConsistencyTokenRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenRequest.newBuilder() to construct.
-  private GenerateConsistencyTokenRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the Table for which to create a consistency
    * token. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the Table for which to create a consistency
    * token. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,104 +161,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -294,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,14 +296,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance();
     }
 
@@ -351,17 +317,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -372,39 +334,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -412,9 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -446,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -468,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the Table for which to create a consistency
      * token. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -499,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency
      * token. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -525,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency
      * token. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency
      * token. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -571,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency
      * token. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,13 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(); } @@ -623,27 +554,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,4 +589,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java new file mode 100644 index 0000000000..ab1e0030dc --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GenerateConsistencyTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the Table for which to create a consistency
+   * token. Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the Table for which to create a consistency
+   * token. Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java index 8be4814af2..4ae2d7585d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -29,55 +12,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
  */
-public final class GenerateConsistencyTokenResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
     GenerateConsistencyTokenResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenResponse.newBuilder() to construct.
-  private GenerateConsistencyTokenResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenResponse() {
     consistencyToken_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
   }
 
   public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object consistencyToken_ = "";
   /**
-   *
-   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ @java.lang.Override @@ -86,29 +62,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -117,7 +93,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consistencyToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, consistencyToken_); } @@ -153,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,104 +157,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -286,32 +256,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,14 +292,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance();
     }
 
@@ -343,17 +313,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.consistencyToken_ = consistencyToken_;
@@ -364,39 +330,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,9 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()) return this;
       if (!other.getConsistencyToken().isEmpty()) {
         consistencyToken_ = other.consistencyToken_;
         bitField0_ |= 0x00000001;
@@ -438,19 +401,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -460,25 +421,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object consistencyToken_ = "";
     /**
-     *
-     *
      * 
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -487,21 +445,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -509,35 +466,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * The generated consistency token.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -547,30 +497,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * The generated consistency token.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,13 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(); } @@ -595,27 +540,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +575,6 @@ public com.google.protobuf.Parser getParserFor public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java new file mode 100644 index 0000000000..d3dce43186 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GenerateConsistencyTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The generated consistency token.
+   * 
+ * + * string consistency_token = 1; + * @return The consistencyToken. + */ + java.lang.String getConsistencyToken(); + /** + *
+   * The generated consistency token.
+   * 
+ * + * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index e6d3e54f1d..2f5efcba7e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,65 +5,55 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ -public final class GetAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetAppProfileRequest) GetAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAppProfileRequest.newBuilder() to construct. private GetAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the
    * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the
    * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetAppProfileRequest other = - (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; + com.google.bigtable.admin.v2.GetAppProfileRequest other = (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +158,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetAppProfileRequest) com.google.bigtable.admin.v2.GetAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override @@ -344,11 +313,8 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.GetAppProfileRequest result = - new com.google.bigtable.admin.v2.GetAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetAppProfileRequest result = new com.google.bigtable.admin.v2.GetAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +330,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetAppProfileRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -404,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the
      * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -489,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the
      * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the
      * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the
      * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -558,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the
      * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetAppProfileRequest) private static final com.google.bigtable.admin.v2.GetAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetAppProfileRequest(); } @@ -608,27 +545,27 @@ public static com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java new file mode 100644 index 0000000000..c66ad54134 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GetAppProfileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetAppProfileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested app profile. Values are of the
+   * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested app profile. Values are of the
+   * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/GetBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java index b766d63b2c..04e73ccedb 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetBackupRequest}
  */
-public final class GetBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetBackupRequest)
     GetBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetBackupRequest.newBuilder() to construct.
   private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetBackupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetBackupRequest.class,
-            com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetBackupRequest other = - (com.google.bigtable.admin.v2.GetBackupRequest) obj; + com.google.bigtable.admin.v2.GetBackupRequest other = (com.google.bigtable.admin.v2.GetBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,104 +160,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
@@ -292,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetBackupRequest)
       com.google.bigtable.admin.v2.GetBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetBackupRequest.class,
-              com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +296,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +317,8 @@ public com.google.bigtable.admin.v2.GetBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetBackupRequest result =
-          new com.google.bigtable.admin.v2.GetBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetBackupRequest result = new com.google.bigtable.admin.v2.GetBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +334,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetBackupRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetBackupRequest) private static final com.google.bigtable.admin.v2.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetBackupRequest(); } @@ -616,27 +554,27 @@ public static com.google.bigtable.admin.v2.GetBackupRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java new file mode 100644 index 0000000000..0de334a38d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java index 51e90ec5f5..d2c5bc8035 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,65 +5,55 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetClusterRequest other = - (com.google.bigtable.admin.v2.GetClusterRequest) obj; + com.google.bigtable.admin.v2.GetClusterRequest other = (com.google.bigtable.admin.v2.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +157,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetClusterRequest) com.google.bigtable.admin.v2.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override @@ -344,11 +313,8 @@ public com.google.bigtable.admin.v2.GetClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetClusterRequest buildPartial() { - com.google.bigtable.admin.v2.GetClusterRequest result = - new com.google.bigtable.admin.v2.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetClusterRequest result = new com.google.bigtable.admin.v2.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +330,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetClusterRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -436,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetClusterRequest) private static final com.google.bigtable.admin.v2.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetClusterRequest(); } @@ -607,27 +545,27 @@ public static com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java new file mode 100644 index 0000000000..fb64496914 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GetClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index 3f3e8225af..a1ca5fe46a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,65 +5,55 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetInstanceRequest other = - (com.google.bigtable.admin.v2.GetInstanceRequest) obj; + com.google.bigtable.admin.v2.GetInstanceRequest other = (com.google.bigtable.admin.v2.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +157,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetInstanceRequest) com.google.bigtable.admin.v2.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override @@ -344,11 +313,8 @@ public com.google.bigtable.admin.v2.GetInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.GetInstanceRequest result = - new com.google.bigtable.admin.v2.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetInstanceRequest result = new com.google.bigtable.admin.v2.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +330,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetInstanceRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -404,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -489,24 +446,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,41 +468,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -558,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetInstanceRequest) private static final com.google.bigtable.admin.v2.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetInstanceRequest(); } @@ -608,27 +545,27 @@ public static com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +580,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..38db94a85a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index 201b3e469a..ea95f04115 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -34,58 +17,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
  */
-public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetSnapshotRequest)
     GetSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetSnapshotRequest.newBuilder() to construct.
   private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-            com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,33 +69,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,7 +102,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -165,15 +138,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetSnapshotRequest other = - (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; + com.google.bigtable.admin.v2.GetSnapshotRequest other = (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,104 +165,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -302,32 +270,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetSnapshotRequest)
       com.google.bigtable.admin.v2.GetSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-              com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -337,9 +306,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -358,11 +327,8 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetSnapshotRequest result =
-          new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetSnapshotRequest result = new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -378,39 +344,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetSnapshotRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -418,8 +383,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GetSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -451,19 +415,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -473,29 +435,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -504,25 +461,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -530,43 +484,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -576,34 +519,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetSnapshotRequest) private static final com.google.bigtable.admin.v2.GetSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetSnapshotRequest(); } @@ -627,27 +564,27 @@ public static com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..73d3e7b753 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface GetSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 34c1b6b5a6..ebe542ec02 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
  */
-public final class GetTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetTableRequest)
     GetTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTableRequest.newBuilder() to construct.
   private GetTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTableRequest() {
     name_ = "";
     view_ = 0;
@@ -46,42 +28,35 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetTableRequest.class,
-            com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,42 +100,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,7 +158,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,15 +169,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetTableRequest other = - (com.google.bigtable.admin.v2.GetTableRequest) obj; + com.google.bigtable.admin.v2.GetTableRequest other = (com.google.bigtable.admin.v2.GetTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -234,104 +199,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -339,32 +299,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetTableRequest)
       com.google.bigtable.admin.v2.GetTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetTableRequest.class,
-              com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +336,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -396,11 +357,8 @@ public com.google.bigtable.admin.v2.GetTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetTableRequest result =
-          new com.google.bigtable.admin.v2.GetTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetTableRequest result = new com.google.bigtable.admin.v2.GetTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -419,39 +377,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetTableRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -494,25 +451,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -522,29 +476,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -553,25 +502,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -579,43 +525,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -625,25 +560,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -653,31 +582,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .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. */ @@ -688,33 +610,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -728,15 +643,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -745,9 +657,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -757,12 +669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetTableRequest) private static final com.google.bigtable.admin.v2.GetTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetTableRequest(); } @@ -771,27 +683,27 @@ public static com.google.bigtable.admin.v2.GetTableRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -806,4 +718,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java index 1554c7d4d0..eb899be4d4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java @@ -1,85 +1,54 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface GetTableRequestOrBuilder - extends +public interface GetTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .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/HotTablet.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java index ec777f1650..4b703a2706 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A tablet is a defined by a start and end key and is explained in
  * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
  */
-public final class HotTablet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HotTablet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.HotTablet)
     HotTabletOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HotTablet.newBuilder() to construct.
   private HotTablet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HotTablet() {
     name_ = "";
     tableName_ = "";
@@ -51,40 +33,35 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.HotTablet.class,
-            com.google.bigtable.admin.v2.HotTablet.Builder.class);
+            com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -93,30 +70,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,19 +102,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TABLE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ @java.lang.Override @@ -146,30 +119,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -180,15 +153,11 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -196,15 +165,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -212,14 +177,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -229,15 +191,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -245,15 +203,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -261,14 +215,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -276,18 +227,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int START_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object startKey_ = ""; /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ @java.lang.Override @@ -296,29 +243,29 @@ public java.lang.String getStartKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; } } /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The bytes for startKey. */ @java.lang.Override - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -327,18 +274,14 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } public static final int END_KEY_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object endKey_ = ""; /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ @java.lang.Override @@ -347,29 +290,29 @@ public java.lang.String getEndKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; } } /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The bytes for endKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -380,8 +323,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; private float nodeCpuUsagePercent_ = 0F; /** - * - * *
    * Output only. The average CPU usage spent by a node on this tablet over the
    * start_time to end_time time range. The percentage is the amount of CPU used
@@ -390,7 +331,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() {
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -399,7 +339,6 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,7 +350,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -449,10 +389,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startKey_); @@ -461,7 +403,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endKey_); } if (java.lang.Float.floatToRawIntBits(nodeCpuUsagePercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, nodeCpuUsagePercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(7, nodeCpuUsagePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -471,27 +414,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.HotTablet)) { return super.equals(obj); } com.google.bigtable.admin.v2.HotTablet other = (com.google.bigtable.admin.v2.HotTablet) obj; - if (!getName().equals(other.getName())) return false; - if (!getTableName().equals(other.getTableName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getStartKey().equals(other.getStartKey())) return false; - if (!getEndKey().equals(other.getEndKey())) return false; + if (!getStartKey() + .equals(other.getStartKey())) return false; + if (!getEndKey() + .equals(other.getEndKey())) return false; if (java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()) - != java.lang.Float.floatToIntBits(other.getNodeCpuUsagePercent())) return false; + != java.lang.Float.floatToIntBits( + other.getNodeCpuUsagePercent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -520,110 +470,106 @@ public int hashCode() { hash = (37 * hash) + END_KEY_FIELD_NUMBER; hash = (53 * hash) + getEndKey().hashCode(); hash = (37 * hash) + NODE_CPU_USAGE_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getNodeCpuUsagePercent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.HotTablet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.HotTablet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A tablet is a defined by a start and end key and is explained in
    * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -634,23 +580,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.HotTablet)
       com.google.bigtable.admin.v2.HotTabletOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.HotTablet.class,
-              com.google.bigtable.admin.v2.HotTablet.Builder.class);
+              com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.HotTablet.newBuilder()
@@ -658,18 +602,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -693,9 +637,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
@@ -714,11 +658,8 @@ public com.google.bigtable.admin.v2.HotTablet build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.HotTablet buildPartial() {
-      com.google.bigtable.admin.v2.HotTablet result =
-          new com.google.bigtable.admin.v2.HotTablet(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.HotTablet result = new com.google.bigtable.admin.v2.HotTablet(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -733,11 +674,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
@@ -756,39 +701,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.HotTablet) {
-        return mergeFrom((com.google.bigtable.admin.v2.HotTablet) other);
+        return mergeFrom((com.google.bigtable.admin.v2.HotTablet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -852,55 +796,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                startKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                endKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 61:
-              {
-                nodeCpuUsagePercent_ = input.readFloat();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 61
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              startKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              endKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 61: {
+              nodeCpuUsagePercent_ = input.readFloat();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 61
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -910,26 +850,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -938,22 +875,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -961,37 +897,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1001,22 +930,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1026,21 +951,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableName_ = ""; /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1049,22 +972,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1072,37 +994,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1112,22 +1027,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000002; @@ -1137,35 +1048,24 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1176,14 +1076,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1199,16 +1096,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1219,20 +1114,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1247,14 +1139,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1267,14 +1156,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -1282,44 +1168,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1327,35 +1205,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1366,14 +1233,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1389,16 +1253,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1409,20 +1271,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1437,14 +1296,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1457,14 +1313,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1472,44 +1325,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1517,20 +1362,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object startKey_ = ""; /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The startKey. */ public java.lang.String getStartKey() { java.lang.Object ref = startKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; @@ -1539,21 +1382,20 @@ public java.lang.String getStartKey() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The bytes for startKey. */ - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -1561,35 +1403,28 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The startKey to set. * @return This builder for chaining. */ - public Builder setStartKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } startKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return This builder for chaining. */ public Builder clearStartKey() { @@ -1599,21 +1434,17 @@ public Builder clearStartKey() { return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The bytes for startKey to set. * @return This builder for chaining. */ - public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startKey_ = value; bitField0_ |= 0x00000010; @@ -1623,20 +1454,18 @@ public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object endKey_ = ""; /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The endKey. */ public java.lang.String getEndKey() { java.lang.Object ref = endKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; @@ -1645,21 +1474,20 @@ public java.lang.String getEndKey() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The bytes for endKey. */ - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -1667,35 +1495,28 @@ public com.google.protobuf.ByteString getEndKeyBytes() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The endKey to set. * @return This builder for chaining. */ - public Builder setEndKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endKey_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return This builder for chaining. */ public Builder clearEndKey() { @@ -1705,21 +1526,17 @@ public Builder clearEndKey() { return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The bytes for endKey to set. * @return This builder for chaining. */ - public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endKey_ = value; bitField0_ |= 0x00000020; @@ -1727,10 +1544,8 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { return this; } - private float nodeCpuUsagePercent_; + private float nodeCpuUsagePercent_ ; /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the
      * start_time to end_time time range. The percentage is the amount of CPU used
@@ -1739,7 +1554,6 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -1747,8 +1561,6 @@ public float getNodeCpuUsagePercent() { return nodeCpuUsagePercent_; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the
      * start_time to end_time time range. The percentage is the amount of CPU used
@@ -1757,7 +1569,6 @@ public float getNodeCpuUsagePercent() {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nodeCpuUsagePercent to set. * @return This builder for chaining. */ @@ -1769,8 +1580,6 @@ public Builder setNodeCpuUsagePercent(float value) { return this; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the
      * start_time to end_time time range. The percentage is the amount of CPU used
@@ -1779,7 +1588,6 @@ public Builder setNodeCpuUsagePercent(float value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNodeCpuUsagePercent() { @@ -1788,9 +1596,9 @@ public Builder clearNodeCpuUsagePercent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1800,12 +1608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.HotTablet) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.HotTablet) private static final com.google.bigtable.admin.v2.HotTablet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.HotTablet(); } @@ -1814,27 +1622,27 @@ public static com.google.bigtable.admin.v2.HotTablet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HotTablet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HotTablet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1849,4 +1657,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.HotTablet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java index 2cdb374ce3..7ad1df4c00 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java @@ -1,212 +1,152 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface HotTabletOrBuilder - extends +public interface HotTabletOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.HotTablet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ java.lang.String getStartKey(); /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The bytes for startKey. */ - com.google.protobuf.ByteString getStartKeyBytes(); + com.google.protobuf.ByteString + getStartKeyBytes(); /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ java.lang.String getEndKey(); /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The bytes for endKey. */ - com.google.protobuf.ByteString getEndKeyBytes(); + com.google.protobuf.ByteString + getEndKeyBytes(); /** - * - * *
    * Output only. The average CPU usage spent by a node on this tablet over the
    * start_time to end_time time range. The percentage is the amount of CPU used
@@ -215,7 +155,6 @@ public interface HotTabletOrBuilder
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ float getNodeCpuUsagePercent(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index 8e22d5d36d..611416f0e3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
  * the resources that serve them.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Instance}
  */
-public final class Instance extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Instance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -50,13 +32,14 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -67,33 +50,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Instance.class,
-            com.google.bigtable.admin.v2.Instance.Builder.class);
+            com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of an instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance could not be determined.
      * 
@@ -102,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(1),
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -127,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -137,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -148,8 +118,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -159,6 +127,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -183,49 +152,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -243,18 +212,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -265,8 +231,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     TYPE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -276,8 +240,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRODUCTION(1),
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -290,8 +252,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -302,8 +262,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TYPE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -313,8 +271,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRODUCTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -324,6 +280,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEVELOPMENT_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -348,49 +305,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return PRODUCTION;
-        case 2:
-          return DEVELOPMENT;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return PRODUCTION;
+        case 2: return DEVELOPMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -409,19 +366,15 @@ private Type(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -430,30 +383,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -462,12 +415,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -475,7 +425,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -484,15 +433,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -500,15 +448,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -519,104 +468,84 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -634,21 +563,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -670,8 +598,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -689,19 +615,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -719,11 +643,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -733,17 +657,13 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -751,17 +671,13 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -769,16 +685,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -788,14 +701,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; private boolean satisfiesPzs_ = false; /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -803,14 +713,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -819,7 +726,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -831,7 +737,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -844,8 +751,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(7, getCreateTime()); } @@ -868,26 +779,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (state_ != com.google.bigtable.admin.v2.Instance.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -897,25 +812,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Instance)) { return super.equals(obj); } com.google.bigtable.admin.v2.Instance other = (com.google.bigtable.admin.v2.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; if (hasSatisfiesPzs()) { - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -946,110 +866,107 @@ public int hashCode() { } if (hasSatisfiesPzs()) { hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Instance parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
    * the resources that serve them.
@@ -1059,13 +976,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Instance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Instance)
       com.google.bigtable.admin.v2.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -1075,10 +992,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -1086,18 +1003,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Instance.class,
-              com.google.bigtable.admin.v2.Instance.Builder.class);
+              com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Instance.newBuilder()
@@ -1105,17 +1020,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getCreateTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1135,9 +1050,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -1156,11 +1071,8 @@ public com.google.bigtable.admin.v2.Instance build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Instance buildPartial() {
-      com.google.bigtable.admin.v2.Instance result =
-          new com.google.bigtable.admin.v2.Instance(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Instance result = new com.google.bigtable.admin.v2.Instance(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1185,7 +1097,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1199,39 +1113,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Instance) {
-        return mergeFrom((com.google.bigtable.admin.v2.Instance) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1256,7 +1169,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Instance other) {
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1290,61 +1204,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 64:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 64: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 64
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1354,26 +1260,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1382,22 +1285,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1405,37 +1307,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1445,22 +1340,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1470,8 +1361,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1479,13 +1368,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1494,8 +1383,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1503,14 +1390,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1518,8 +1406,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1527,22 +1413,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1550,7 +1432,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1560,8 +1441,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1569,14 +1448,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1586,31 +1463,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .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. */ @@ -1621,33 +1491,26 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1661,15 +1524,12 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1681,29 +1541,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .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. */ @@ -1714,31 +1567,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1752,14 +1598,11 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1769,19 +1612,21 @@ public Builder clearType() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1790,13 +1635,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1814,21 +1656,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1850,8 +1691,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1869,19 +1708,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1899,25 +1736,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1934,22 +1769,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1966,20 +1802,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1996,72 +1829,55 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2077,19 +1893,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2100,23 +1913,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2131,17 +1940,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2154,17 +1959,13 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -2172,67 +1973,52 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance
      * was created. For instances created before this field was added (August
      * 2021), this value is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -2240,14 +2026,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -2255,14 +2038,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -2274,14 +2054,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -2290,9 +2067,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2302,12 +2079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Instance) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Instance) private static final com.google.bigtable.admin.v2.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Instance(); } @@ -2316,27 +2093,27 @@ public static com.google.bigtable.admin.v2.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2351,4 +2128,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java index 427a8adc94..16b4648ff0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java similarity index 84% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java index 16a6fa7a70..6516493ef9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java @@ -1,59 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -61,13 +38,10 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -75,66 +49,52 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ com.google.bigtable.admin.v2.Instance.State getState(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ com.google.bigtable.admin.v2.Instance.Type getType(); /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -153,8 +113,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -171,13 +129,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -194,10 +154,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -215,13 +174,11 @@ public interface InstanceOrBuilder
    * map<string, string> labels = 5;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -238,73 +195,57 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance
    * was created. For instances created before this field was added (August
    * 2021), this value is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ boolean hasSatisfiesPzs(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java new file mode 100644 index 0000000000..8a1c94b661 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -0,0 +1,283 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/instance.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public final class InstanceProto { + private InstanceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_HotTablet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/bigtable/admin/v2/instance.prot" + + "o\022\030google.bigtable.admin.v2\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032%google/bigtable/admin/v2/common" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" + + "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" + + "gtable.admin.v2.Instance.State\0225\n\004type\030\004" + + " \001(\0162\'.google.bigtable.admin.v2.Instance" + + ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." + + "admin.v2.Instance.LabelsEntry\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005REA" + + "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" + + "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" + + "tance\022\'projects/{project}/instances/{ins" + + "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" + + "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" + + "(\n storage_utilization_gib_per_node\030\003 \001(" + + "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" + + "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" + + "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" + + "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" + + "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" + + "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" + + "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" + + "ogle.bigtable.admin.v2.Cluster.ClusterCo" + + "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" + + "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" + + "\022R\n\021encryption_config\030\006 \001(\01322.google.big" + + "table.admin.v2.Cluster.EncryptionConfigB" + + "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" + + "oscaling_limits\030\001 \001(\0132+.google.bigtable." + + "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" + + "caling_targets\030\002 \001(\0132,.google.bigtable.a" + + "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" + + "erConfig\022^\n\032cluster_autoscaling_config\030\001" + + " \001(\0132:.google.bigtable.admin.v2.Cluster." + + "ClusterAutoscalingConfig\032P\n\020EncryptionCo" + + "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" + + "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" + + "TATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020" + + "\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004:e\352Ab\n$bigt" + + "ableadmin.googleapis.com/Cluster\022:projec" + + "ts/{project}/instances/{instance}/cluste" + + "rs/{cluster}B\010\n\006config\"\350\006\n\nAppProfile\022\014\n" + + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" + + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" + + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" + + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" + + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" + + "e.admin.v2.AppProfile.SingleClusterRouti" + + "ngH\000\022E\n\010priority\030\007 \001(\0162-.google.bigtable" + + ".admin.v2.AppProfile.PriorityB\002\030\001H\001\022T\n\022s" + + "tandard_isolation\030\013 \001(\01326.google.bigtabl" + + "e.admin.v2.AppProfile.StandardIsolationH" + + "\001\0320\n\031MultiClusterRoutingUseAny\022\023\n\013cluste" + + "r_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022\n\nc" + + "luster_id\030\001 \001(\t\022\"\n\032allow_transactional_w" + + "rites\030\002 \001(\010\032T\n\021StandardIsolation\022?\n\010prio" + + "rity\030\001 \001(\0162-.google.bigtable.admin.v2.Ap" + + "pProfile.Priority\"^\n\010Priority\022\030\n\024PRIORIT" + + "Y_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022\023\n\017PRI" + + "ORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003:o\352Al\n\'" + + "bigtableadmin.googleapis.com/AppProfile\022" + + "Aprojects/{project}/instances/{instance}" + + "/appProfiles/{app_profile}B\020\n\016routing_po" + + "licyB\013\n\tisolation\"\210\003\n\tHotTablet\022\014\n\004name\030" + + "\001 \001(\t\022;\n\ntable_name\030\002 \001(\tB\'\372A$\n\"bigtable" + + "admin.googleapis.com/Table\0223\n\nstart_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "1\n\010end_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\021\n\tstart_key\030\005 \001(\t\022\017\n\007end_key" + + "\030\006 \001(\t\022#\n\026node_cpu_usage_percent\030\007 \001(\002B\003" + + "\340A\003:\177\352A|\n&bigtableadmin.googleapis.com/H" + + "otTablet\022Rprojects/{project}/instances/{" + + "instance}/clusters/{cluster}/hotTablets/" + + "{hot_tablet}B\320\002\n\034com.google.bigtable.adm" + + "in.v2B\rInstanceProtoP\001Z=google.golang.or" + + "g/genproto/googleapis/bigtable/admin/v2;" + + "admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002" + + "\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google" + + "::Cloud::Bigtable::Admin::V2\352Ax\n!cloudkm" + + "s.googleapis.com/CryptoKey\022Sprojects/{pr" + + "oject}/locations/{location}/keyRings/{ke" + + "y_ring}/cryptoKeys/{crypto_key}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_Instance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "State", "Type", "Labels", "CreateTime", "SatisfiesPzs", }); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = + internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, + new java.lang.String[] { "CpuUtilizationPercent", "StorageUtilizationGibPerNode", }); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, + new java.lang.String[] { "MinServeNodes", "MaxServeNodes", }); + internal_static_google_bigtable_admin_v2_Cluster_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_descriptor, + new java.lang.String[] { "Name", "Location", "State", "ServeNodes", "ClusterConfig", "DefaultStorageType", "EncryptionConfig", "Config", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, + new java.lang.String[] { "AutoscalingLimits", "AutoscalingTargets", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, + new java.lang.String[] { "ClusterAutoscalingConfig", }); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_bigtable_admin_v2_AppProfile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_descriptor, + new java.lang.String[] { "Name", "Etag", "Description", "MultiClusterRoutingUseAny", "SingleClusterRouting", "Priority", "StandardIsolation", "RoutingPolicy", "Isolation", }); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, + new java.lang.String[] { "ClusterIds", }); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, + new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor, + new java.lang.String[] { "Priority", }); + internal_static_google_bigtable_admin_v2_HotTablet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_HotTablet_descriptor, + new java.lang.String[] { "Name", "TableName", "StartTime", "EndTime", "StartKey", "EndKey", "NodeCpuUsagePercent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + 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.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 155ee597ff..bc4ff1c52e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ -public final class ListAppProfilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesRequest) ListAppProfilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesRequest.newBuilder() to construct. private ListAppProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +27,28 @@ private ListAppProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles
    * is requested. Values are of the form
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles
    * is requested. Values are of the form
@@ -108,18 +82,17 @@ public java.lang.String getParent() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +103,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -154,18 +124,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -174,29 +140,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -205,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -243,7 +209,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,17 +220,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesRequest other = - (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; + com.google.bigtable.admin.v2.ListAppProfilesRequest other = (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,135 +256,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.bigtable.admin.v2.ListAppProfilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override @@ -448,11 +413,8 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesRequest buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesRequest result = - new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListAppProfilesRequest result = new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -474,39 +436,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +475,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesRequest other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -555,31 +515,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -589,13 +545,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles
      * is requested. Values are of the form
@@ -604,16 +557,14 @@ public Builder mergeFrom(
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -622,8 +573,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles
      * is requested. Values are of the form
@@ -632,17 +581,16 @@ public java.lang.String getParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -650,8 +598,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles
      * is requested. Values are of the form
@@ -660,25 +606,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles
      * is requested. Values are of the form
@@ -687,10 +627,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -700,8 +637,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles
      * is requested. Values are of the form
@@ -710,17 +645,13 @@ public Builder clearParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -728,10 +659,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -745,7 +674,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -753,8 +681,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -768,7 +694,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -780,8 +705,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -795,7 +718,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -807,20 +729,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -829,21 +749,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -851,35 +770,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -889,30 +801,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesRequest) private static final com.google.bigtable.admin.v2.ListAppProfilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesRequest(); } @@ -936,27 +844,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,4 +879,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index 272d949eb1..bb1738b850 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListAppProfilesRequestOrBuilder - extends +public interface ListAppProfilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles
    * is requested. Values are of the form
@@ -35,16 +17,11 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles
    * is requested. Values are of the form
@@ -53,17 +30,13 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -77,33 +50,27 @@ public interface ListAppProfilesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java index 1c1df69e5f..6dfe811b61 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,58 +5,52 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ -public final class ListAppProfilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesResponse) ListAppProfilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesResponse.newBuilder() to construct. private ListAppProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesResponse() { appProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } public static final int APP_PROFILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List appProfiles_; /** - * - * *
    * The list of requested app profiles.
    * 
@@ -83,8 +62,6 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -92,13 +69,11 @@ public java.util.List getAppProfilesLis * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAppProfilesOrBuilderList() { return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -110,8 +85,6 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -123,8 +96,6 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -132,17 +103,15 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { return appProfiles_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -150,7 +119,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +127,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -175,15 +142,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,13 +160,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -207,15 +172,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -224,15 +187,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -241,7 +201,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -249,8 +208,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -259,16 +216,15 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < appProfiles_.size(); i++) { output.writeMessage(1, appProfiles_.get(i)); } @@ -300,7 +257,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < appProfiles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, appProfiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, appProfiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -321,17 +279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesResponse other = - (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; + com.google.bigtable.admin.v2.ListAppProfilesResponse other = (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; - if (!getAppProfilesList().equals(other.getAppProfilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; + if (!getAppProfilesList() + .equals(other.getAppProfilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -359,135 +319,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesResponse) com.google.bigtable.admin.v2.ListAppProfilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -500,14 +456,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override @@ -526,18 +483,14 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesResponse result = - new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); + com.google.bigtable.admin.v2.ListAppProfilesResponse result = new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListAppProfilesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListAppProfilesResponse result) { if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_); @@ -564,39 +517,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse)other); } else { super.mergeFrom(other); return this; @@ -604,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) return this; if (appProfilesBuilder_ == null) { if (!other.appProfiles_.isEmpty()) { if (appProfiles_.isEmpty()) { @@ -624,10 +575,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse ot appProfilesBuilder_ = null; appProfiles_ = other.appProfiles_; bitField0_ = (bitField0_ & ~0x00000001); - appProfilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAppProfilesFieldBuilder() - : null; + appProfilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAppProfilesFieldBuilder() : null; } else { appProfilesBuilder_.addAllMessages(other.appProfiles_); } @@ -674,39 +624,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.AppProfile m = - input.readMessage( - com.google.bigtable.admin.v2.AppProfile.parser(), extensionRegistry); - if (appProfilesBuilder_ == null) { - ensureAppProfilesIsMutable(); - appProfiles_.add(m); - } else { - appProfilesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.AppProfile m = + input.readMessage( + com.google.bigtable.admin.v2.AppProfile.parser(), + extensionRegistry); + if (appProfilesBuilder_ == null) { + ensureAppProfilesIsMutable(); + appProfiles_.add(m); + } else { + appProfilesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,29 +663,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List appProfiles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAppProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - appProfiles_ = - new java.util.ArrayList(appProfiles_); + appProfiles_ = new java.util.ArrayList(appProfiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfilesBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfilesBuilder_; /** - * - * *
      * The list of requested app profiles.
      * 
@@ -753,8 +692,6 @@ public java.util.List getAppProfilesLis } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -769,8 +706,6 @@ public int getAppProfilesCount() { } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -785,15 +720,14 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder setAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -807,8 +741,6 @@ public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -827,8 +759,6 @@ public Builder setAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -849,15 +779,14 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder addAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -871,15 +800,14 @@ public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder addAppProfiles( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); appProfiles_.add(builderForValue.build()); @@ -890,8 +818,6 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder bu return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -910,8 +836,6 @@ public Builder addAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -922,7 +846,8 @@ public Builder addAllAppProfiles( java.lang.Iterable values) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, appProfiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, appProfiles_); onChanged(); } else { appProfilesBuilder_.addAllMessages(values); @@ -930,8 +855,6 @@ public Builder addAllAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -949,8 +872,6 @@ public Builder clearAppProfiles() { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -968,44 +889,39 @@ public Builder removeAppProfiles(int index) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder( + int index) { return getAppProfilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { if (appProfilesBuilder_ == null) { - return appProfiles_.get(index); - } else { + return appProfiles_.get(index); } else { return appProfilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesOrBuilderList() { + public java.util.List + getAppProfilesOrBuilderList() { if (appProfilesBuilder_ != null) { return appProfilesBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +929,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -1022,48 +936,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder() { - return getAppProfilesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + return getAppProfilesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int index) { - return getAppProfilesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder( + int index) { + return getAppProfilesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesBuilderList() { + public java.util.List + getAppProfilesBuilderList() { return getAppProfilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfilesFieldBuilder() { if (appProfilesBuilder_ == null) { - appProfilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - appProfiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + appProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + appProfiles_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); appProfiles_ = null; } return appProfilesBuilder_; @@ -1071,8 +979,6 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1080,13 +986,13 @@ 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1095,8 +1001,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1104,14 +1008,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1119,8 +1024,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1128,22 +1031,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1151,7 +1050,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1161,8 +1059,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1170,14 +1066,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1187,7 +1081,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1195,8 +1088,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1205,16 +1096,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1223,15 +1112,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1240,7 +1126,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1248,8 +1133,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1258,16 +1141,14 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1276,15 +1157,13 @@ 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) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1292,8 +1171,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1302,14 +1179,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000004; @@ -1317,8 +1192,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1327,20 +1200,19 @@ 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) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1349,19 +1221,16 @@ 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.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1370,14 +1239,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1385,9 +1252,9 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1397,12 +1264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesResponse) private static final com.google.bigtable.admin.v2.ListAppProfilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesResponse(); } @@ -1411,27 +1278,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1446,4 +1313,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java index 8da4247d00..5dc3f12abd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListAppProfilesResponseOrBuilder - extends +public interface ListAppProfilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListAppProfilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - java.util.List getAppProfilesList(); + java.util.List + getAppProfilesList(); /** - * - * *
    * The list of requested app profiles.
    * 
@@ -45,8 +26,6 @@ public interface ListAppProfilesResponseOrBuilder */ com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index); /** - * - * *
    * The list of requested app profiles.
    * 
@@ -55,30 +34,25 @@ public interface ListAppProfilesResponseOrBuilder */ int getAppProfilesCount(); /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - java.util.List + java.util.List getAppProfilesOrBuilderList(); /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index); + com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index); /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -86,13 +60,10 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -100,14 +71,12 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -116,13 +85,11 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -131,13 +98,10 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -146,14 +110,11 @@ 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); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -162,9 +123,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); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java similarity index 80% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java index d349f1275b..f8e069714d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListBackupsRequest}
  */
-public final class ListBackupsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListBackupsRequest)
     ListBackupsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupsRequest.newBuilder() to construct.
   private ListBackupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupsRequest() {
     parent_ = "";
     filter_ = "";
@@ -48,32 +30,28 @@ private ListBackupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListBackupsRequest.class,
-            com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -109,18 +83,17 @@ public java.lang.String getParent() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,12 +102,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -172,7 +142,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -181,15 +150,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -227,15 +195,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -244,12 +213,9 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -276,7 +242,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 3; - * * @return The orderBy. */ @java.lang.Override @@ -285,15 +250,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -320,15 +284,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -339,15 +304,12 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -356,12 +318,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -371,7 +330,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -380,15 +338,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -398,15 +355,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -415,7 +373,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,7 +384,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -462,7 +420,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderBy_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -475,19 +434,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListBackupsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListBackupsRequest other = - (com.google.bigtable.admin.v2.ListBackupsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.bigtable.admin.v2.ListBackupsRequest other = (com.google.bigtable.admin.v2.ListBackupsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -514,104 +477,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListBackupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -619,32 +577,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListBackupsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListBackupsRequest)
       com.google.bigtable.admin.v2.ListBackupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListBackupsRequest.class,
-              com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListBackupsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -658,9 +617,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -679,11 +638,8 @@ public com.google.bigtable.admin.v2.ListBackupsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListBackupsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListBackupsRequest result =
-          new com.google.bigtable.admin.v2.ListBackupsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListBackupsRequest result = new com.google.bigtable.admin.v2.ListBackupsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -711,39 +667,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListBackupsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -751,8 +706,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsRequest other) {
-      if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -802,43 +756,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                orderBy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              orderBy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -848,13 +796,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -862,16 +807,14 @@ public Builder mergeFrom(
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -880,8 +823,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -889,17 +830,16 @@ public java.lang.String getParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -907,8 +847,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -916,25 +854,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -942,10 +874,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -955,8 +884,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -964,17 +891,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -984,8 +907,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1023,13 +944,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1038,8 +959,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1077,14 +996,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1092,8 +1012,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1131,22 +1049,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1184,7 +1098,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1194,8 +1107,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1233,14 +1144,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1250,8 +1159,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1278,13 +1185,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 3; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1293,8 +1200,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1321,14 +1226,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1336,8 +1242,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1364,22 +1268,18 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 3; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1406,7 +1306,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 3; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1416,8 +1315,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1444,14 +1341,12 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 3; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000004; @@ -1459,17 +1354,14 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1477,15 +1369,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1497,15 +1386,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1517,8 +1403,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1528,13 +1412,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1543,8 +1427,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1554,14 +1436,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1569,8 +1452,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1580,22 +1461,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1605,7 +1482,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1615,8 +1491,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1626,23 +1500,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1652,12 +1524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListBackupsRequest) private static final com.google.bigtable.admin.v2.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListBackupsRequest(); } @@ -1666,27 +1538,27 @@ public static com.google.bigtable.admin.v2.ListBackupsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1701,4 +1573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java similarity index 86% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java index e0fda6c207..55e431d1a3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -34,16 +16,11 @@ public interface ListBackupsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -51,17 +28,13 @@ public interface ListBackupsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -99,13 +72,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -143,14 +113,12 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -177,13 +145,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string order_by = 3; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -210,28 +175,23 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -241,13 +201,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -257,8 +214,8 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java index 9bbadab82c..2f7fa8b01c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The response for
  * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListBackupsResponse}
  */
-public final class ListBackupsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListBackupsResponse)
     ListBackupsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupsResponse.newBuilder() to construct.
   private ListBackupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupsResponse() {
     backups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListBackupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListBackupsResponse.class,
-            com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
   }
 
   public static final int BACKUPS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List backups_;
   /**
-   *
-   *
    * 
    * The list of matching backups.
    * 
@@ -83,8 +61,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -92,13 +68,11 @@ public java.util.List getBackupsList() { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -110,8 +84,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of matching backups.
    * 
@@ -123,8 +95,6 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of matching backups.
    * 
@@ -132,17 +102,15 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -150,7 +118,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -175,15 +141,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -221,7 +188,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < backups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, backups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, backups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -234,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListBackupsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListBackupsResponse other = - (com.google.bigtable.admin.v2.ListBackupsResponse) obj; + com.google.bigtable.admin.v2.ListBackupsResponse other = (com.google.bigtable.admin.v2.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,104 +235,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListBackupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -371,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListBackupsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListBackupsResponse)
       com.google.bigtable.admin.v2.ListBackupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListBackupsResponse.class,
-              com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListBackupsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -434,18 +399,14 @@ public com.google.bigtable.admin.v2.ListBackupsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListBackupsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListBackupsResponse result =
-          new com.google.bigtable.admin.v2.ListBackupsResponse(this);
+      com.google.bigtable.admin.v2.ListBackupsResponse result = new com.google.bigtable.admin.v2.ListBackupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListBackupsResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListBackupsResponse result) {
       if (backupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           backups_ = java.util.Collections.unmodifiableList(backups_);
@@ -468,39 +429,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsResponse resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListBackupsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance()) return this;
       if (backupsBuilder_ == null) {
         if (!other.backups_.isEmpty()) {
           if (backups_.isEmpty()) {
@@ -528,10 +487,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsResponse other)
             backupsBuilder_ = null;
             backups_ = other.backups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            backupsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getBackupsFieldBuilder()
-                    : null;
+            backupsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getBackupsFieldBuilder() : null;
           } else {
             backupsBuilder_.addAllMessages(other.backups_);
           }
@@ -568,32 +526,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Backup m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Backup.parser(), extensionRegistry);
-                if (backupsBuilder_ == null) {
-                  ensureBackupsIsMutable();
-                  backups_.add(m);
-                } else {
-                  backupsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Backup m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Backup.parser(),
+                      extensionRegistry);
+              if (backupsBuilder_ == null) {
+                ensureBackupsIsMutable();
+                backups_.add(m);
+              } else {
+                backupsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -603,28 +559,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List backups_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureBackupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         backups_ = new java.util.ArrayList(backups_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Backup,
-            com.google.bigtable.admin.v2.Backup.Builder,
-            com.google.bigtable.admin.v2.BackupOrBuilder>
-        backupsBuilder_;
+        com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching backups.
      * 
@@ -639,8 +588,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -655,8 +602,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -671,15 +616,14 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { } } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) { + public Builder setBackups( + int index, com.google.bigtable.admin.v2.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +637,6 @@ public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -713,8 +655,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -735,15 +675,14 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder addBackups(int index, com.google.bigtable.admin.v2.Backup value) { + public Builder addBackups( + int index, com.google.bigtable.admin.v2.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,15 +696,14 @@ public Builder addBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder addBackups( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -776,8 +714,6 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderFor return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -796,8 +732,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -808,7 +742,8 @@ public Builder addAllBackups( java.lang.Iterable values) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, backups_); onChanged(); } else { backupsBuilder_.addAllMessages(values); @@ -816,8 +751,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -835,8 +768,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -854,44 +785,39 @@ public Builder removeBackups(int index) { return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.Backup.Builder getBackupsBuilder(int index) { + public com.google.bigtable.admin.v2.Backup.Builder getBackupsBuilder( + int index) { return getBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index) { if (backupsBuilder_ == null) { - return backups_.get(index); - } else { + return backups_.get(index); } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +825,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde } } /** - * - * *
      * The list of matching backups.
      * 
@@ -908,47 +832,42 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde * repeated .google.bigtable.admin.v2.Backup backups = 1; */ public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Backup.getDefaultInstance()); + return getBackupsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Backup.getDefaultInstance()); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder(int index) { - return getBackupsFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Backup.getDefaultInstance()); + public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder( + int index) { + return getBackupsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Backup.getDefaultInstance()); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public java.util.List getBackupsBuilderList() { + public java.util.List + getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + backups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); backups_ = null; } return backupsBuilder_; @@ -956,8 +875,6 @@ public java.util.List getBackupsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -965,13 +882,13 @@ public java.util.List getBackupsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -980,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -989,14 +904,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1004,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1013,22 +927,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1036,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1046,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1055,23 +962,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListBackupsResponse) private static final com.google.bigtable.admin.v2.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListBackupsResponse(); } @@ -1095,27 +1000,27 @@ public static com.google.bigtable.admin.v2.ListBackupsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java index adfe350c6d..527511b7d1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - java.util.List getBackupsList(); + java.util.List + getBackupsList(); /** - * - * *
    * The list of matching backups.
    * 
@@ -45,8 +26,6 @@ public interface ListBackupsResponseOrBuilder */ com.google.bigtable.admin.v2.Backup getBackups(int index); /** - * - * *
    * The list of matching backups.
    * 
@@ -55,29 +34,25 @@ public interface ListBackupsResponseOrBuilder */ int getBackupsCount(); /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - java.util.List getBackupsOrBuilderList(); + java.util.List + getBackupsOrBuilderList(); /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index); + com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -85,13 +60,10 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -99,8 +71,8 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java index 5a8eb0677e..1dc9223daa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +27,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is
    * requested. Values are of the form
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is
    * requested. Values are of the form
@@ -108,18 +82,17 @@ public java.lang.String getParent() {
    * `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,18 +101,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -148,29 +117,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -179,7 +148,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,16 +190,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersRequest other = - (com.google.bigtable.admin.v2.ListClustersRequest) obj; + com.google.bigtable.admin.v2.ListClustersRequest other = (com.google.bigtable.admin.v2.ListClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,136 +221,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersRequest) com.google.bigtable.admin.v2.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -391,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override @@ -412,11 +378,8 @@ public com.google.bigtable.admin.v2.ListClustersRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersRequest buildPartial() { - com.google.bigtable.admin.v2.ListClustersRequest result = - new com.google.bigtable.admin.v2.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListClustersRequest result = new com.google.bigtable.admin.v2.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,39 +398,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -475,8 +437,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersRequest other) { - if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -513,25 +474,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,13 +499,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is
      * requested. Values are of the form
@@ -556,16 +511,14 @@ public Builder mergeFrom(
      * `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -574,8 +527,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is
      * requested. Values are of the form
@@ -584,17 +535,16 @@ public java.lang.String getParent() {
      * `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -602,8 +552,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is
      * requested. Values are of the form
@@ -612,25 +560,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is
      * requested. Values are of the form
@@ -639,10 +581,7 @@ public Builder setParent(java.lang.String value) {
      * `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -652,8 +591,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is
      * requested. Values are of the form
@@ -662,17 +599,13 @@ public Builder clearParent() {
      * `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -682,20 +615,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -704,21 +635,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -726,35 +656,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -764,30 +687,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersRequest) private static final com.google.bigtable.admin.v2.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersRequest(); } @@ -811,27 +730,27 @@ public static com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,4 +765,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index cf31d0d168..ace8dcc061 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is
    * requested. Values are of the form
@@ -35,16 +17,11 @@ public interface ListClustersRequestOrBuilder
    * `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is
    * requested. Values are of the form
@@ -53,36 +30,29 @@ public interface ListClustersRequestOrBuilder
    * `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java index 92ee271ba8..db856240ba 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,58 +5,52 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of requested clusters.
    * 
@@ -83,8 +62,6 @@ public java.util.List getClustersList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -92,13 +69,11 @@ public java.util.List getClustersList() { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -110,8 +85,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -123,8 +96,6 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -132,18 +103,16 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -153,15 +122,13 @@ 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() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -171,15 +138,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -189,7 +153,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -197,8 +160,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -208,27 +169,23 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -237,29 +194,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -268,7 +225,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -300,7 +257,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -321,17 +279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersResponse other = - (com.google.bigtable.admin.v2.ListClustersResponse) obj; + com.google.bigtable.admin.v2.ListClustersResponse other = (com.google.bigtable.admin.v2.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -359,135 +319,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersResponse) com.google.bigtable.admin.v2.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,15 +455,16 @@ public Builder clear() { clustersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override @@ -526,18 +483,14 @@ public com.google.bigtable.admin.v2.ListClustersResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() { - com.google.bigtable.admin.v2.ListClustersResponse result = - new com.google.bigtable.admin.v2.ListClustersResponse(this); + com.google.bigtable.admin.v2.ListClustersResponse result = new com.google.bigtable.admin.v2.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -564,39 +517,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -604,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other) { - if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -624,10 +575,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -674,39 +624,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Cluster m = - input.readMessage( - com.google.bigtable.admin.v2.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Cluster m = + input.readMessage( + com.google.bigtable.admin.v2.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,28 +663,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clustersBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of requested clusters.
      * 
@@ -752,8 +692,6 @@ public java.util.List getClustersList() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -768,8 +706,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -784,15 +720,14 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder setClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,8 +741,6 @@ public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -826,8 +759,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -848,15 +779,14 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder addClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,15 +800,14 @@ public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -889,8 +818,6 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderF return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -909,8 +836,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -921,7 +846,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -929,8 +855,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -948,8 +872,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -967,44 +889,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder(int index) { + public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -1012,8 +929,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -1021,47 +936,42 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1069,7 +979,6 @@ public java.util.List getClustersB private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1077,8 +986,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1088,16 +995,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1107,15 +1012,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1125,7 +1027,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1133,8 +1034,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1144,16 +1043,14 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1163,15 +1060,13 @@ 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) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1179,8 +1074,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1190,14 +1083,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1205,8 +1096,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1216,20 +1105,19 @@ 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) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1239,19 +1127,16 @@ 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.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1261,14 +1146,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1279,20 +1162,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1301,21 +1182,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1323,35 +1203,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1361,30 +1234,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1394,12 +1263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersResponse) private static final com.google.bigtable.admin.v2.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersResponse(); } @@ -1408,27 +1277,27 @@ public static com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1443,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java index 0409c94507..8bff9e44c5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - java.util.List getClustersList(); + java.util.List + getClustersList(); /** - * - * *
    * The list of requested clusters.
    * 
@@ -45,8 +26,6 @@ public interface ListClustersResponseOrBuilder */ com.google.bigtable.admin.v2.Cluster getClusters(int index); /** - * - * *
    * The list of requested clusters.
    * 
@@ -55,30 +34,25 @@ public interface ListClustersResponseOrBuilder */ int getClustersCount(); /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index); + com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -88,13 +62,11 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -104,13 +76,10 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -120,14 +89,11 @@ 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); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -137,34 +103,29 @@ 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); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java index 3f8c72a6be..83198fd89e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ -public final class ListHotTabletsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsRequest) ListHotTabletsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsRequest.newBuilder() to construct. private ListHotTabletsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,43 +27,36 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,8 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -139,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -147,8 +117,6 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -159,7 +127,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -167,8 +134,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -188,14 +153,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -203,14 +165,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -218,8 +177,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -234,8 +191,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -249,7 +204,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -258,18 +212,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -278,29 +228,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -309,7 +259,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +270,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -350,13 +300,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -369,25 +322,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsRequest other = - (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; + com.google.bigtable.admin.v2.ListHotTabletsRequest other = (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,126 +376,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.bigtable.admin.v2.ListHotTabletsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsRequest.newBuilder() @@ -546,18 +496,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +529,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override @@ -600,11 +550,8 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsRequest buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsRequest result = - new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListHotTabletsRequest result = new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -616,11 +563,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -636,39 +587,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest)other); } else { super.mergeFrom(other); return this; @@ -676,8 +626,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsRequest other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -723,43 +672,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -769,29 +716,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -800,25 +742,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -826,43 +765,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -872,25 +800,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -900,13 +822,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -917,15 +834,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -936,7 +850,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -947,8 +860,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -974,8 +885,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -987,7 +896,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -998,8 +908,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1013,9 +921,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1030,8 +938,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1054,8 +960,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1073,8 +977,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1090,12 +992,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1108,17 +1009,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1126,33 +1024,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1163,8 +1052,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1185,15 +1072,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1204,8 +1090,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1214,9 +1098,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1231,8 +1115,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1250,8 +1132,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1264,8 +1144,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1276,12 +1154,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1289,26 +1166,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -1322,7 +1194,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1330,8 +1201,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1345,7 +1214,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1357,8 +1225,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1372,7 +1238,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1384,20 +1249,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1406,21 +1269,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1428,35 +1290,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1466,30 +1321,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1499,12 +1350,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsRequest) private static final com.google.bigtable.admin.v2.ListHotTabletsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsRequest(); } @@ -1513,27 +1364,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1548,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java index 11039f4dab..fe0c4b097e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListHotTabletsRequestOrBuilder - extends +public interface ListHotTabletsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -70,13 +43,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -87,13 +57,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -108,32 +75,24 @@ public interface ListHotTabletsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -143,8 +102,6 @@ public interface ListHotTabletsRequestOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -158,33 +115,27 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java index 4cf943daf0..1180b1ecfd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ -public final class ListHotTabletsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsResponse) ListHotTabletsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsResponse.newBuilder() to construct. private ListHotTabletsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsResponse() { hotTablets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,32 +27,28 @@ private ListHotTabletsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } public static final int HOT_TABLETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List hotTablets_; /** - * - * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -86,8 +64,6 @@ public java.util.List getHotTabletsList(
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -99,13 +75,11 @@ public java.util.List getHotTabletsList(
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHotTabletsOrBuilderList() {
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -121,8 +95,6 @@ public int getHotTabletsCount() {
     return hotTablets_.size();
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -138,8 +110,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
     return hotTablets_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -151,17 +121,15 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+      int index) {
     return hotTablets_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -169,7 +137,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -178,15 +145,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -194,15 +160,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -211,7 +178,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < hotTablets_.size(); i++) { output.writeMessage(1, hotTablets_.get(i)); } @@ -240,7 +207,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < hotTablets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, hotTablets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, hotTablets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -253,16 +221,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsResponse other = - (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; + com.google.bigtable.admin.v2.ListHotTabletsResponse other = (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; - if (!getHotTabletsList().equals(other.getHotTabletsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getHotTabletsList() + .equals(other.getHotTabletsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,135 +255,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsResponse) com.google.bigtable.admin.v2.ListHotTabletsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override @@ -452,18 +417,14 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsResponse buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsResponse result = - new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); + com.google.bigtable.admin.v2.ListHotTabletsResponse result = new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListHotTabletsResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListHotTabletsResponse result) { if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { hotTablets_ = java.util.Collections.unmodifiableList(hotTablets_); @@ -486,39 +447,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse)other); } else { super.mergeFrom(other); return this; @@ -526,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) return this; if (hotTabletsBuilder_ == null) { if (!other.hotTablets_.isEmpty()) { if (hotTablets_.isEmpty()) { @@ -546,10 +505,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse oth hotTabletsBuilder_ = null; hotTablets_ = other.hotTablets_; bitField0_ = (bitField0_ & ~0x00000001); - hotTabletsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHotTabletsFieldBuilder() - : null; + hotTabletsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHotTabletsFieldBuilder() : null; } else { hotTabletsBuilder_.addAllMessages(other.hotTablets_); } @@ -586,32 +544,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.HotTablet m = - input.readMessage( - com.google.bigtable.admin.v2.HotTablet.parser(), extensionRegistry); - if (hotTabletsBuilder_ == null) { - ensureHotTabletsIsMutable(); - hotTablets_.add(m); - } else { - hotTabletsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.HotTablet m = + input.readMessage( + com.google.bigtable.admin.v2.HotTablet.parser(), + extensionRegistry); + if (hotTabletsBuilder_ == null) { + ensureHotTabletsIsMutable(); + hotTablets_.add(m); + } else { + hotTabletsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -621,28 +577,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List hotTablets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHotTabletsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hotTablets_ = new java.util.ArrayList(hotTablets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.HotTablet, - com.google.bigtable.admin.v2.HotTablet.Builder, - com.google.bigtable.admin.v2.HotTabletOrBuilder> - hotTabletsBuilder_; + com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> hotTabletsBuilder_; /** - * - * *
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -661,8 +610,6 @@ public java.util.List getHotTabletsList(
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -681,8 +628,6 @@ public int getHotTabletsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -701,8 +646,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -713,7 +656,8 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder setHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -727,8 +671,6 @@ public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -751,8 +693,6 @@ public Builder setHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -777,8 +717,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -789,7 +727,8 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder addHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -803,8 +742,6 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -815,7 +752,8 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
+    public Builder addHotTablets(
+        com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
         hotTablets_.add(builderForValue.build());
@@ -826,8 +764,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -850,8 +786,6 @@ public Builder addHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -866,7 +800,8 @@ public Builder addAllHotTablets(
         java.lang.Iterable values) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hotTablets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, hotTablets_);
         onChanged();
       } else {
         hotTabletsBuilder_.addAllMessages(values);
@@ -874,8 +809,6 @@ public Builder addAllHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -897,8 +830,6 @@ public Builder clearHotTablets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -920,8 +851,6 @@ public Builder removeHotTablets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -932,12 +861,11 @@ public Builder removeHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(
+        int index) {
       return getHotTabletsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -948,16 +876,14 @@ public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+        int index) {
       if (hotTabletsBuilder_ == null) {
-        return hotTablets_.get(index);
-      } else {
+        return hotTablets_.get(index);  } else {
         return hotTabletsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -968,8 +894,8 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsOrBuilderList() {
+    public java.util.List 
+         getHotTabletsOrBuilderList() {
       if (hotTabletsBuilder_ != null) {
         return hotTabletsBuilder_.getMessageOrBuilderList();
       } else {
@@ -977,8 +903,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -990,12 +914,10 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
     public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+      return getHotTabletsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1006,13 +928,12 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int index) {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
+        int index) {
+      return getHotTabletsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1023,23 +944,20 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsBuilderList() {
+    public java.util.List 
+         getHotTabletsBuilderList() {
       return getHotTabletsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.HotTablet,
-            com.google.bigtable.admin.v2.HotTablet.Builder,
-            com.google.bigtable.admin.v2.HotTabletOrBuilder>
+        com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> 
         getHotTabletsFieldBuilder() {
       if (hotTabletsBuilder_ == null) {
-        hotTabletsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.HotTablet,
-                com.google.bigtable.admin.v2.HotTablet.Builder,
-                com.google.bigtable.admin.v2.HotTabletOrBuilder>(
-                hotTablets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        hotTabletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder>(
+                hotTablets_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         hotTablets_ = null;
       }
       return hotTabletsBuilder_;
@@ -1047,8 +965,6 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1056,13 +972,13 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1071,8 +987,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1080,14 +994,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1095,8 +1010,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1104,22 +1017,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1127,7 +1036,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1137,8 +1045,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1146,23 +1052,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1172,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsResponse) private static final com.google.bigtable.admin.v2.ListHotTabletsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsResponse(); } @@ -1186,27 +1090,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1221,4 +1125,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java index 4eab6659d2..28d01db652 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListHotTabletsResponseOrBuilder - extends +public interface ListHotTabletsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListHotTabletsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -37,10 +19,9 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  java.util.List getHotTabletsList();
+  java.util.List 
+      getHotTabletsList();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -53,8 +34,6 @@ public interface ListHotTabletsResponseOrBuilder
    */
   com.google.bigtable.admin.v2.HotTablet getHotTablets(int index);
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -67,8 +46,6 @@ public interface ListHotTabletsResponseOrBuilder
    */
   int getHotTabletsCount();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -79,11 +56,9 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  java.util.List
+  java.util.List 
       getHotTabletsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -94,11 +69,10 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index);
+  com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -106,13 +80,10 @@ public interface ListHotTabletsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -120,8 +91,8 @@ public interface ListHotTabletsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index 3820aa05b8..b3024a8cb1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,24 +5,21 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ -public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesRequest) ListInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -45,41 +27,34 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project for which a list of instances is
    * requested. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project for which a list of instances is
    * requested. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -142,29 +111,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -173,7 +142,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -215,16 +184,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesRequest other = - (com.google.bigtable.admin.v2.ListInstancesRequest) obj; + com.google.bigtable.admin.v2.ListInstancesRequest other = (com.google.bigtable.admin.v2.ListInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,135 +216,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesRequest) com.google.bigtable.admin.v2.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override @@ -406,11 +372,8 @@ public com.google.bigtable.admin.v2.ListInstancesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesRequest buildPartial() { - com.google.bigtable.admin.v2.ListInstancesRequest result = - new com.google.bigtable.admin.v2.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListInstancesRequest result = new com.google.bigtable.admin.v2.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -429,39 +392,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -469,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesRequest other) { - if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -507,25 +468,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,28 +493,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project for which a list of instances is
      * requested. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,24 +518,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is
      * requested. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -590,41 +540,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is
      * requested. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is
      * requested. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -634,24 +573,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is
      * requested. Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -661,20 +594,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -683,21 +614,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -705,35 +635,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -743,30 +666,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +695,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesRequest) private static final com.google.bigtable.admin.v2.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesRequest(); } @@ -790,27 +709,27 @@ public static com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,4 +744,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index be4c0678be..180cb3be3c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java @@ -1,82 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the project for which a list of instances is
    * requested. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the project for which a list of instances is
    * requested. Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java index 3e4453df46..5a0695a1db 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,58 +5,52 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ -public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesResponse) ListInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of requested instances.
    * 
@@ -83,8 +62,6 @@ public java.util.List getInstancesList() return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -92,13 +69,11 @@ public java.util.List getInstancesList() * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -110,8 +85,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -123,8 +96,6 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -132,18 +103,16 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -154,15 +123,13 @@ 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() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -173,15 +140,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -192,7 +156,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -200,8 +163,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -212,27 +173,23 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -241,29 +198,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -272,7 +229,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +240,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -304,7 +261,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } { int dataSize = 0; @@ -325,17 +283,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesResponse other = - (com.google.bigtable.admin.v2.ListInstancesResponse) obj; + com.google.bigtable.admin.v2.ListInstancesResponse other = (com.google.bigtable.admin.v2.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,135 +323,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesResponse) com.google.bigtable.admin.v2.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,15 +459,16 @@ public Builder clear() { instancesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override @@ -530,18 +487,14 @@ public com.google.bigtable.admin.v2.ListInstancesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() { - com.google.bigtable.admin.v2.ListInstancesResponse result = - new com.google.bigtable.admin.v2.ListInstancesResponse(this); + com.google.bigtable.admin.v2.ListInstancesResponse result = new com.google.bigtable.admin.v2.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -568,39 +521,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -608,8 +560,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse other) { - if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -628,10 +579,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse othe instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInstancesFieldBuilder() - : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstancesFieldBuilder() : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -678,39 +628,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Instance m = - input.readMessage( - com.google.bigtable.admin.v2.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Instance m = + input.readMessage( + com.google.bigtable.admin.v2.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,28 +667,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instancesBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of requested instances.
      * 
@@ -756,8 +696,6 @@ public java.util.List getInstancesList() } } /** - * - * *
      * The list of requested instances.
      * 
@@ -772,8 +710,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -788,15 +724,14 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder setInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -810,8 +745,6 @@ public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -830,8 +763,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -852,15 +783,14 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder addInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -874,15 +804,14 @@ public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -893,8 +822,6 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builde return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -913,8 +840,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -925,7 +850,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -933,8 +859,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -952,8 +876,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -971,44 +893,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder(int index) { + public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1016,8 +933,6 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int } } /** - * - * *
      * The list of requested instances.
      * 
@@ -1025,47 +940,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int * repeated .google.bigtable.admin.v2.Instance instances = 1; */ public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1073,7 +983,6 @@ public java.util.List getInstance private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1081,8 +990,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1093,16 +1000,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1113,15 +1018,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1132,7 +1034,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1140,8 +1041,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1152,16 +1051,14 @@ 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) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1172,15 +1069,13 @@ 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) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1188,8 +1083,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1200,14 +1093,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1215,8 +1106,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1227,20 +1116,19 @@ 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) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1251,19 +1139,16 @@ 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.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1274,14 +1159,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1292,20 +1175,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1314,21 +1195,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1336,35 +1216,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1374,30 +1247,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1407,12 +1276,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesResponse) private static final com.google.bigtable.admin.v2.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesResponse(); } @@ -1421,27 +1290,27 @@ public static com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1456,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java index b48266404c..e31c9cd9ab 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of requested instances.
    * 
@@ -45,8 +26,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.bigtable.admin.v2.Instance getInstances(int index); /** - * - * *
    * The list of requested instances.
    * 
@@ -55,30 +34,25 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -89,13 +63,11 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -106,13 +78,10 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -123,14 +92,11 @@ 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); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -141,34 +107,29 @@ 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); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java index ff0e1423f3..6ba6f42418 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
  */
-public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
     ListSnapshotsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsRequest.newBuilder() to construct.
   private ListSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -51,32 +33,28 @@ private ListSnapshotsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -85,10 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -97,15 +72,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -114,18 +88,17 @@ public java.lang.String getParent() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -136,15 +109,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -153,18 +123,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -173,29 +139,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -252,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsRequest other = - (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; + com.google.bigtable.admin.v2.ListSnapshotsRequest other = (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,103 +255,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -395,32 +359,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
       com.google.bigtable.admin.v2.ListSnapshotsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -432,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -453,11 +418,8 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsRequest result =
-          new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result = new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -479,39 +441,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -519,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsRequest other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -560,31 +520,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -594,13 +550,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -609,16 +562,14 @@ public Builder mergeFrom(
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -627,8 +578,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -637,17 +586,16 @@ public java.lang.String getParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -655,8 +603,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -665,25 +611,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -692,10 +632,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -705,8 +642,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -715,17 +650,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -733,17 +664,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -751,15 +679,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -771,15 +696,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -791,20 +713,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -813,21 +733,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -835,35 +754,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -873,30 +785,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -906,12 +814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsRequest) private static final com.google.bigtable.admin.v2.ListSnapshotsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsRequest(); } @@ -920,27 +828,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,4 +863,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java index 0adb1cc4ae..46bcd9f2b5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListSnapshotsRequestOrBuilder - extends +public interface ListSnapshotsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListSnapshotsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -35,16 +17,11 @@ public interface ListSnapshotsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -53,50 +30,40 @@ public interface ListSnapshotsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java index 3ccd04350a..6b259586e6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
  */
-public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
     ListSnapshotsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsResponse.newBuilder() to construct.
   private ListSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsResponse() {
     snapshots_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -51,32 +33,28 @@ private ListSnapshotsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
   }
 
   public static final int SNAPSHOTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List snapshots_;
   /**
-   *
-   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -88,8 +66,6 @@ public java.util.List getSnapshotsList() return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -97,13 +73,11 @@ public java.util.List getSnapshotsList() * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSnapshotsOrBuilderList() { return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -115,8 +89,6 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -128,8 +100,6 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -137,17 +107,15 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { return snapshots_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -155,7 +123,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -164,15 +131,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -180,15 +146,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -197,7 +164,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } @@ -226,7 +193,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < snapshots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, snapshots_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, snapshots_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -239,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsResponse other = - (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; + com.google.bigtable.admin.v2.ListSnapshotsResponse other = (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; - if (!getSnapshotsList().equals(other.getSnapshotsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSnapshotsList() + .equals(other.getSnapshotsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,103 +241,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -381,32 +345,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
       com.google.bigtable.admin.v2.ListSnapshotsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -444,18 +409,14 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsResponse result =
-          new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
+      com.google.bigtable.admin.v2.ListSnapshotsResponse result = new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
@@ -478,39 +439,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsResponse re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -518,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()) return this;
       if (snapshotsBuilder_ == null) {
         if (!other.snapshots_.isEmpty()) {
           if (snapshots_.isEmpty()) {
@@ -538,10 +497,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse othe
             snapshotsBuilder_ = null;
             snapshots_ = other.snapshots_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            snapshotsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSnapshotsFieldBuilder()
-                    : null;
+            snapshotsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSnapshotsFieldBuilder() : null;
           } else {
             snapshotsBuilder_.addAllMessages(other.snapshots_);
           }
@@ -578,32 +536,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Snapshot m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Snapshot.parser(), extensionRegistry);
-                if (snapshotsBuilder_ == null) {
-                  ensureSnapshotsIsMutable();
-                  snapshots_.add(m);
-                } else {
-                  snapshotsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Snapshot m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Snapshot.parser(),
+                      extensionRegistry);
+              if (snapshotsBuilder_ == null) {
+                ensureSnapshotsIsMutable();
+                snapshots_.add(m);
+              } else {
+                snapshotsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -613,28 +569,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List snapshots_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSnapshotsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         snapshots_ = new java.util.ArrayList(snapshots_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Snapshot,
-            com.google.bigtable.admin.v2.Snapshot.Builder,
-            com.google.bigtable.admin.v2.SnapshotOrBuilder>
-        snapshotsBuilder_;
+        com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> snapshotsBuilder_;
 
     /**
-     *
-     *
      * 
      * The snapshots present in the requested cluster.
      * 
@@ -649,8 +598,6 @@ public java.util.List getSnapshotsList() } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -665,8 +612,6 @@ public int getSnapshotsCount() { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -681,15 +626,14 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder setSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -703,8 +647,6 @@ public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -723,8 +665,6 @@ public Builder setSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -745,15 +685,14 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot value) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder addSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,15 +706,14 @@ public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { + public Builder addSnapshots( + com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.add(builderForValue.build()); @@ -786,8 +724,6 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builde return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -806,8 +742,6 @@ public Builder addSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -818,7 +752,8 @@ public Builder addAllSnapshots( java.lang.Iterable values) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, snapshots_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, snapshots_); onChanged(); } else { snapshotsBuilder_.addAllMessages(values); @@ -826,8 +761,6 @@ public Builder addAllSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -845,8 +778,6 @@ public Builder clearSnapshots() { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -864,44 +795,39 @@ public Builder removeSnapshots(int index) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder(int index) { + public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder( + int index) { return getSnapshotsFieldBuilder().getBuilder(index); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { if (snapshotsBuilder_ == null) { - return snapshots_.get(index); - } else { + return snapshots_.get(index); } else { return snapshotsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List - getSnapshotsOrBuilderList() { + public java.util.List + getSnapshotsOrBuilderList() { if (snapshotsBuilder_ != null) { return snapshotsBuilder_.getMessageOrBuilderList(); } else { @@ -909,8 +835,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -918,47 +842,42 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder() { - return getSnapshotsFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + return getSnapshotsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder(int index) { - return getSnapshotsFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder( + int index) { + return getSnapshotsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List getSnapshotsBuilderList() { + public java.util.List + getSnapshotsBuilderList() { return getSnapshotsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder> + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> getSnapshotsFieldBuilder() { if (snapshotsBuilder_ == null) { - snapshotsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder>( - snapshots_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder>( + snapshots_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); snapshots_ = null; } return snapshotsBuilder_; @@ -966,8 +885,6 @@ public java.util.List getSnapshot private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -975,13 +892,13 @@ public java.util.List getSnapshot
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -990,8 +907,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -999,14 +914,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1014,8 +930,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1023,22 +937,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1046,7 +956,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1056,8 +965,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1065,23 +972,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1091,12 +996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsResponse) private static final com.google.bigtable.admin.v2.ListSnapshotsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsResponse(); } @@ -1105,27 +1010,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,4 +1045,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java index dbc35e4c79..c8fd1cd1d0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListSnapshotsResponseOrBuilder - extends +public interface ListSnapshotsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListSnapshotsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - java.util.List getSnapshotsList(); + java.util.List + getSnapshotsList(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -45,8 +26,6 @@ public interface ListSnapshotsResponseOrBuilder */ com.google.bigtable.admin.v2.Snapshot getSnapshots(int index); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -55,30 +34,25 @@ public interface ListSnapshotsResponseOrBuilder */ int getSnapshotsCount(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - java.util.List + java.util.List getSnapshotsOrBuilderList(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index); + com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index); /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -86,13 +60,10 @@ public interface ListSnapshotsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -100,8 +71,8 @@ public interface ListSnapshotsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index 45c72afff6..ffe43226a9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListTablesRequest}
  */
-public final class ListTablesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTablesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListTablesRequest)
     ListTablesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTablesRequest.newBuilder() to construct.
   private ListTablesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTablesRequest() {
     parent_ = "";
     view_ = 0;
@@ -47,41 +29,34 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesRequest.class,
-            com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance for which tables should be
    * listed. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which tables should be
    * listed. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,45 +99,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -178,7 +140,6 @@ public com.google.bigtable.admin.v2.Table.View getView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -187,18 +148,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -207,29 +164,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -238,7 +195,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -276,13 +233,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,18 +251,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesRequest other = - (com.google.bigtable.admin.v2.ListTablesRequest) obj; + com.google.bigtable.admin.v2.ListTablesRequest other = (com.google.bigtable.admin.v2.ListTablesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,104 +289,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -433,32 +389,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesRequest)
       com.google.bigtable.admin.v2.ListTablesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesRequest.class,
-              com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -471,9 +428,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -492,11 +449,8 @@ public com.google.bigtable.admin.v2.ListTablesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesRequest result =
-          new com.google.bigtable.admin.v2.ListTablesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListTablesRequest result = new com.google.bigtable.admin.v2.ListTablesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -521,39 +475,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesRequest result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,37 +557,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -644,28 +592,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance for which tables should be
      * listed. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -674,24 +617,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which tables should be
      * listed. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -699,41 +639,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which tables should be
      * listed. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which tables should be
      * listed. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -743,24 +672,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which tables should be
      * listed. Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -770,31 +693,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .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. */ @@ -805,33 +721,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -845,15 +754,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -863,10 +769,8 @@ public Builder clearView() { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -880,7 +784,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -888,8 +791,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -903,7 +804,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -915,8 +815,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -930,7 +828,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -942,20 +839,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -964,21 +859,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -986,35 +880,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1024,30 +911,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1057,12 +940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesRequest) private static final com.google.bigtable.admin.v2.ListTablesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesRequest(); } @@ -1071,27 +954,27 @@ public static com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1106,4 +989,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java index ddc0abfb94..95a706ebc5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java @@ -1,90 +1,57 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListTablesRequestOrBuilder - extends +public interface ListTablesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListTablesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which tables should be
    * listed. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which tables should be
    * listed. Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ com.google.bigtable.admin.v2.Table.View getView(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -98,33 +65,27 @@ public interface ListTablesRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java index 0280155348..82a8c979f4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
  */
-public final class ListTablesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTablesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListTablesResponse)
     ListTablesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTablesResponse.newBuilder() to construct.
   private ListTablesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTablesResponse() {
     tables_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListTablesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesResponse.class,
-            com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
   }
 
   public static final int TABLES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tables_;
   /**
-   *
-   *
    * 
    * The tables present in the requested instance.
    * 
@@ -83,8 +61,6 @@ public java.util.List getTablesList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -92,13 +68,11 @@ public java.util.List getTablesList() { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTablesOrBuilderList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -110,8 +84,6 @@ public int getTablesCount() { return tables_.size(); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -123,8 +95,6 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -132,17 +102,15 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { return tables_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -150,7 +118,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -175,15 +141,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +159,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tables_.size(); i++) { output.writeMessage(1, tables_.get(i)); } @@ -221,7 +188,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tables_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -234,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesResponse other = - (com.google.bigtable.admin.v2.ListTablesResponse) obj; + com.google.bigtable.admin.v2.ListTablesResponse other = (com.google.bigtable.admin.v2.ListTablesResponse) obj; - if (!getTablesList().equals(other.getTablesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,104 +235,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -371,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesResponse)
       com.google.bigtable.admin.v2.ListTablesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesResponse.class,
-              com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -434,18 +399,14 @@ public com.google.bigtable.admin.v2.ListTablesResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesResponse result =
-          new com.google.bigtable.admin.v2.ListTablesResponse(this);
+      com.google.bigtable.admin.v2.ListTablesResponse result = new com.google.bigtable.admin.v2.ListTablesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListTablesResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListTablesResponse result) {
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tables_ = java.util.Collections.unmodifiableList(tables_);
@@ -468,39 +429,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesResponse resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()) return this;
       if (tablesBuilder_ == null) {
         if (!other.tables_.isEmpty()) {
           if (tables_.isEmpty()) {
@@ -528,10 +487,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other)
             tablesBuilder_ = null;
             tables_ = other.tables_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tablesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTablesFieldBuilder()
-                    : null;
+            tablesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTablesFieldBuilder() : null;
           } else {
             tablesBuilder_.addAllMessages(other.tables_);
           }
@@ -568,32 +526,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Table m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Table.parser(), extensionRegistry);
-                if (tablesBuilder_ == null) {
-                  ensureTablesIsMutable();
-                  tables_.add(m);
-                } else {
-                  tablesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Table m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Table.parser(),
+                      extensionRegistry);
+              if (tablesBuilder_ == null) {
+                ensureTablesIsMutable();
+                tables_.add(m);
+              } else {
+                tablesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -603,28 +559,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tables_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTablesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tables_ = new java.util.ArrayList(tables_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tablesBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tablesBuilder_;
 
     /**
-     *
-     *
      * 
      * The tables present in the requested instance.
      * 
@@ -639,8 +588,6 @@ public java.util.List getTablesList() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -655,8 +602,6 @@ public int getTablesCount() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -671,15 +616,14 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder setTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +637,6 @@ public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -713,8 +655,6 @@ public Builder setTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -735,15 +675,14 @@ public Builder addTables(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder addTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,15 +696,14 @@ public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder addTables( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); @@ -776,8 +714,6 @@ public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForVa return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -796,8 +732,6 @@ public Builder addTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -808,7 +742,8 @@ public Builder addAllTables( java.lang.Iterable values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); @@ -816,8 +751,6 @@ public Builder addAllTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -835,8 +768,6 @@ public Builder clearTables() { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -854,44 +785,39 @@ public Builder removeTables(int index) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder(int index) { + public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder( + int index) { return getTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { if (tablesBuilder_ == null) { - return tables_.get(index); - } else { + return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List - getTablesOrBuilderList() { + public java.util.List + getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +825,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -908,47 +832,42 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) * repeated .google.bigtable.admin.v2.Table tables = 1; */ public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder() { - return getTablesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Table.getDefaultInstance()); + return getTablesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder(int index) { - return getTablesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); + public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder( + int index) { + return getTablesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List getTablesBuilderList() { + public java.util.List + getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { - tablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - tables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + tables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tables_ = null; } return tablesBuilder_; @@ -956,8 +875,6 @@ public java.util.List getTablesBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -965,13 +882,13 @@ public java.util.List getTablesBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -980,8 +897,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -989,14 +904,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1004,8 +920,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1013,22 +927,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1036,7 +946,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1046,8 +955,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1055,23 +962,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesResponse) private static final com.google.bigtable.admin.v2.ListTablesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesResponse(); } @@ -1095,27 +1000,27 @@ public static com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1130,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java index d3a65e2110..bba3a0d38d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ListTablesResponseOrBuilder - extends +public interface ListTablesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListTablesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - java.util.List getTablesList(); + java.util.List + getTablesList(); /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -45,8 +26,6 @@ public interface ListTablesResponseOrBuilder */ com.google.bigtable.admin.v2.Table getTables(int index); /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -55,29 +34,25 @@ public interface ListTablesResponseOrBuilder */ int getTablesCount(); /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - java.util.List getTablesOrBuilderList(); + java.util.List + getTablesOrBuilderList(); /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index); + com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index); /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -85,13 +60,10 @@ public interface ListTablesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -99,8 +71,8 @@ public interface ListTablesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java index 9fcb7d2f71..7bb8a9d141 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java index 8681eb8b2c..8e2c4ffc0e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest}
  */
-public final class ModifyColumnFamiliesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ModifyColumnFamiliesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest)
     ModifyColumnFamiliesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ModifyColumnFamiliesRequest.newBuilder() to construct.
   private ModifyColumnFamiliesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ModifyColumnFamiliesRequest() {
     name_ = "";
     modifications_ = java.util.Collections.emptyList();
@@ -46,84 +28,69 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
   }
 
-  public interface ModificationOrBuilder
-      extends
+  public interface ModificationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ boolean hasCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ com.google.bigtable.admin.v2.ColumnFamily getCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -134,34 +101,26 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ com.google.bigtable.admin.v2.ColumnFamily getUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -172,28 +131,22 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ boolean hasDrop(); /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ boolean getDrop(); @@ -201,64 +154,56 @@ public interface ModificationOrBuilder com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase getModCase(); } /** - * - * *
    * A create, update, or delete of a particular column family.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Modification extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Modification extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) ModificationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Modification.newBuilder() to construct. private Modification(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Modification() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Modification(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } private int modCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mod_; - public enum ModCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE(2), UPDATE(3), DROP(4), MOD_NOT_SET(0); private final int value; - private ModCase(int value) { this.value = value; } @@ -274,41 +219,33 @@ public static ModCase valueOf(int value) { public static ModCase forNumber(int value) { switch (value) { - case 2: - return CREATE; - case 3: - return UPDATE; - case 4: - return DROP; - case 0: - return MOD_NOT_SET; - default: - return null; + case 2: return CREATE; + case 3: return UPDATE; + case 4: return DROP; + case 0: return MOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -317,29 +254,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -349,15 +286,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CREATE_FIELD_NUMBER = 2; /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -365,27 +299,22 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getCreate() { if (modCase_ == 2) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -396,22 +325,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       if (modCase_ == 2) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int UPDATE_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -419,27 +345,22 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { if (modCase_ == 3) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -450,22 +371,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       if (modCase_ == 3) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int DROP_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -473,15 +391,12 @@ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ @java.lang.Override @@ -493,7 +408,6 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -505,7 +419,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -516,7 +431,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) mod_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) mod_)); } getUnknownFields().writeTo(output); } @@ -531,19 +447,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (modCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) mod_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) mod_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -553,25 +467,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getModCase().equals(other.getModCase())) return false; switch (modCase_) { case 2: - if (!getCreate().equals(other.getCreate())) return false; + if (!getCreate() + .equals(other.getCreate())) return false; break; case 3: - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; break; case 4: - if (getDrop() != other.getDrop()) return false; + if (getDrop() + != other.getDrop()) return false; break; case 0: default: @@ -600,7 +517,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDrop()); break; case 0: default: @@ -611,95 +529,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -709,43 +621,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A create, update, or delete of a particular column family.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - .class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -763,22 +671,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance(); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance(); } @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification build() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - buildPartial(); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -787,32 +692,29 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification buildPartial() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } } - private void buildPartialOneofs( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartialOneofs(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { result.modCase_ = modCase_; result.mod_ = this.mod_; - if (modCase_ == 2 && createBuilder_ != null) { + if (modCase_ == 2 && + createBuilder_ != null) { result.mod_ = createBuilder_.build(); } - if (modCase_ == 3 && updateBuilder_ != null) { + if (modCase_ == 3 && + updateBuilder_ != null) { result.mod_ = updateBuilder_.build(); } } @@ -821,79 +723,67 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { - return mergeFrom( - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) other); + if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { + return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { - if (other - == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { + if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getModCase()) { - case CREATE: - { - mergeCreate(other.getCreate()); - break; - } - case UPDATE: - { - mergeUpdate(other.getUpdate()); - break; - } - case DROP: - { - setDrop(other.getDrop()); - break; - } - case MOD_NOT_SET: - { - break; - } + case CREATE: { + mergeCreate(other.getCreate()); + break; + } + case UPDATE: { + mergeUpdate(other.getUpdate()); + break; + } + case DROP: { + setDrop(other.getDrop()); + break; + } + case MOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -921,37 +811,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 3; - break; - } // case 26 - case 32: - { - mod_ = input.readBool(); - modCase_ = 4; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 3; + break; + } // case 26 + case 32: { + mod_ = input.readBool(); + modCase_ = 4; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -961,12 +850,12 @@ public Builder mergeFrom( } // finally return this; } - private int modCase_ = 0; private java.lang.Object mod_; - - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public Builder clearMod() { @@ -980,20 +869,18 @@ public Builder clearMod() { private java.lang.Object id_ = ""; /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1002,21 +889,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1024,35 +910,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1062,21 +941,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1085,20 +960,14 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> - createBuilder_; + com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> createBuilder_; /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -1106,15 +975,12 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override @@ -1132,8 +998,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() { } } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1155,8 +1019,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1164,7 +1026,8 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
-      public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setCreate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (createBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1175,8 +1038,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1186,13 +1047,10 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (createBuilder_ == null) {
-          if (modCase_ == 2
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 2 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1208,8 +1066,6 @@ public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1234,8 +1090,6 @@ public Builder clearCreate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1247,8 +1101,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getCreateBuilder() {
         return getCreateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1268,8 +1120,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1278,19 +1128,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getCreateFieldBuilder() {
         if (createBuilder_ == null) {
           if (!(modCase_ == 2)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          createBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          createBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1302,20 +1147,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
-          updateBuilder_;
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> updateBuilder_;
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1323,15 +1162,12 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override @@ -1349,8 +1185,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { } } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1372,8 +1206,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1381,7 +1213,8 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
-      public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setUpdate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (updateBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1392,8 +1225,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1403,13 +1234,10 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (updateBuilder_ == null) {
-          if (modCase_ == 3
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 3 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1425,8 +1253,6 @@ public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1451,8 +1277,6 @@ public Builder clearUpdate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1464,8 +1288,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getUpdateBuilder() {
         return getUpdateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1485,8 +1307,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1495,19 +1315,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getUpdateFieldBuilder() {
         if (updateBuilder_ == null) {
           if (!(modCase_ == 3)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          updateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1519,30 +1334,24 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       }
 
       /**
-       *
-       *
        * 
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return The drop. */ public boolean getDrop() { @@ -1552,15 +1361,12 @@ public boolean getDrop() { return false; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @param value The drop to set. * @return This builder for chaining. */ @@ -1572,15 +1378,12 @@ public Builder setDrop(boolean value) { return this; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return This builder for chaining. */ public Builder clearDrop() { @@ -1591,7 +1394,6 @@ public Builder clearDrop() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1604,45 +1406,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) - private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); + DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstance() { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Modification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Modification parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1654,29 +1452,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1685,33 +1477,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1720,13 +1510,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - modifications_; + private java.util.List modifications_; /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1734,18 +1520,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getModificationsList() { + public java.util.List getModificationsList() { return modifications_; } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1753,19 +1534,14 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + public java.util.List getModificationsOrBuilderList() { return modifications_; } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1773,17 +1549,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getModificationsCount() { return modifications_.size(); } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1791,18 +1563,13 @@ public int getModificationsCount() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( - int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index) { return modifications_.get(index); } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1810,27 +1577,22 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index) { return modifications_.get(index); } public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_ = false; /** - * - * *
    * Optional. If true, ignore safety checks when modifying the column families.
    * 
* * bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1839,7 +1601,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1851,7 +1612,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1874,10 +1636,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < modifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, modifications_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, modifications_.get(i)); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1887,17 +1651,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getModificationsList().equals(other.getModificationsList())) return false; - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getModificationsList() + .equals(other.getModificationsList())) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1916,111 +1682,106 @@ public int hashCode() { hash = (53 * hash) + getModificationsList().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
@@ -2028,32 +1789,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest)
       com.google.bigtable.admin.v2.ModifyColumnFamiliesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2071,9 +1833,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2092,18 +1854,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result =
-          new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
+      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
       if (modificationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           modifications_ = java.util.Collections.unmodifiableList(modifications_);
@@ -2129,39 +1887,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2169,8 +1926,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other) {
-      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -2194,10 +1950,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            modificationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getModificationsFieldBuilder()
-                    : null;
+            modificationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getModificationsFieldBuilder() : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -2232,40 +1987,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
-                            .parser(),
-                        extensionRegistry);
-                if (modificationsBuilder_ == null) {
-                  ensureModificationsIsMutable();
-                  modifications_.add(m);
-                } else {
-                  modificationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                ignoreWarnings_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.parser(),
+                      extensionRegistry);
+              if (modificationsBuilder_ == null) {
+                ensureModificationsIsMutable();
+                modifications_.add(m);
+              } else {
+                modificationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              ignoreWarnings_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2275,29 +2025,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2306,25 +2051,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2332,43 +2074,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -2378,25 +2109,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2404,28 +2129,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - modifications_ = java.util.Collections.emptyList(); - + private java.util.List modifications_ = + java.util.Collections.emptyList(); private void ensureModificationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - modifications_ = - new java.util.ArrayList< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( - modifications_); + modifications_ = new java.util.ArrayList(modifications_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> - modificationsBuilder_; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> modificationsBuilder_; /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2433,12 +2149,9 @@ private void ensureModificationsIsMutable() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getModificationsList() { + public java.util.List getModificationsList() { if (modificationsBuilder_ == null) { return java.util.Collections.unmodifiableList(modifications_); } else { @@ -2446,8 +2159,6 @@ private void ensureModificationsIsMutable() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2455,9 +2166,7 @@ private void ensureModificationsIsMutable() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getModificationsCount() { if (modificationsBuilder_ == null) { @@ -2467,8 +2176,6 @@ public int getModificationsCount() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2476,12 +2183,9 @@ public int getModificationsCount() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( - int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index) { if (modificationsBuilder_ == null) { return modifications_.get(index); } else { @@ -2489,8 +2193,6 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2498,9 +2200,7 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { @@ -2517,8 +2217,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2526,14 +2224,10 @@ public Builder setModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setModifications( - int index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.set(index, builderForValue.build()); @@ -2544,8 +2238,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2553,12 +2245,9 @@ public Builder setModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addModifications( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { + public Builder addModifications(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { if (modificationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2572,8 +2261,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2581,9 +2268,7 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { @@ -2600,8 +2285,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2609,13 +2292,10 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(builderForValue.build()); @@ -2626,8 +2306,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2635,14 +2313,10 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( - int index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(index, builderForValue.build()); @@ -2653,8 +2327,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2662,17 +2334,14 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllModifications( - java.lang.Iterable< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification> - values) { + java.lang.Iterable values) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, modifications_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, modifications_); onChanged(); } else { modificationsBuilder_.addAllMessages(values); @@ -2680,8 +2349,6 @@ public Builder addAllModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2689,9 +2356,7 @@ public Builder addAllModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearModifications() { if (modificationsBuilder_ == null) { @@ -2704,8 +2369,6 @@ public Builder clearModifications() { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2713,9 +2376,7 @@ public Builder clearModifications() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeModifications(int index) { if (modificationsBuilder_ == null) { @@ -2728,8 +2389,6 @@ public Builder removeModifications(int index) { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2737,17 +2396,13 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - getModificationsBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder getModificationsBuilder( + int index) { return getModificationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2755,21 +2410,16 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index) { if (modificationsBuilder_ == null) { - return modifications_.get(index); - } else { + return modifications_.get(index); } else { return modificationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2777,14 +2427,10 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> - getModificationsOrBuilderList() { + public java.util.List + getModificationsOrBuilderList() { if (modificationsBuilder_ != null) { return modificationsBuilder_.getMessageOrBuilderList(); } else { @@ -2792,8 +2438,6 @@ public Builder removeModifications(int index) { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2801,20 +2445,13 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - addModificationsBuilder() { - return getModificationsFieldBuilder() - .addBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder addModificationsBuilder() { + return getModificationsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2822,21 +2459,14 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - addModificationsBuilder(int index) { - return getModificationsFieldBuilder() - .addBuilder( - index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder addModificationsBuilder( + int index) { + return getModificationsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2844,27 +2474,18 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder> - getModificationsBuilderList() { + public java.util.List + getModificationsBuilderList() { return getModificationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> getModificationsFieldBuilder() { if (modificationsBuilder_ == null) { - modificationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>( + modificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>( modifications_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2874,16 +2495,13 @@ public Builder removeModifications(int index) { return modificationsBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * Optional. If true, ignore safety checks when modifying the column families.
      * 
* * bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -2891,14 +2509,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * Optional. If true, ignore safety checks when modifying the column families.
      * 
* * bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -2910,14 +2525,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * Optional. If true, ignore safety checks when modifying the column families.
      * 
* * bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -2926,9 +2538,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2938,12 +2550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(); } @@ -2952,27 +2564,27 @@ public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyColumnFamiliesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyColumnFamiliesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2987,4 +2599,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java index ed54bd1891..29761a6377 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java @@ -1,65 +1,38 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface ModifyColumnFamiliesRequestOrBuilder - extends +public interface ModifyColumnFamiliesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -67,15 +40,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getModificationsList(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -83,14 +52,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -98,14 +63,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getModificationsCount(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -113,16 +74,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + java.util.List getModificationsOrBuilderList(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -130,22 +86,17 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index); /** - * - * *
    * Optional. If true, ignore safety checks when modifying the column families.
    * 
* * bool ignore_warnings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The ignoreWarnings. */ boolean getIgnoreWarnings(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java index 0683215998..58b6ed1632 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/common.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Encapsulates progress related information for a Cloud Bigtable long
  * running operation.
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
  */
-public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OperationProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OperationProgress.class,
-            com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+            com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -85,14 +64,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -100,14 +76,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -115,8 +88,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -131,15 +102,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -147,15 +115,12 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -163,8 +128,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -178,7 +141,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +152,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -210,13 +173,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -226,22 +192,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.OperationProgress other =
-        (com.google.bigtable.admin.v2.OperationProgress) obj;
+    com.google.bigtable.admin.v2.OperationProgress other = (com.google.bigtable.admin.v2.OperationProgress) obj;
 
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -269,104 +237,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.OperationProgress prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Encapsulates progress related information for a Cloud Bigtable long
    * running operation.
@@ -374,23 +337,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OperationProgress)
       com.google.bigtable.admin.v2.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OperationProgress.class,
-              com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+              com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OperationProgress.newBuilder()
@@ -398,18 +359,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -429,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -450,11 +411,8 @@ public com.google.bigtable.admin.v2.OperationProgress build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OperationProgress buildPartial() {
-      com.google.bigtable.admin.v2.OperationProgress result =
-          new com.google.bigtable.admin.v2.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OperationProgress result = new com.google.bigtable.admin.v2.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -466,11 +424,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -480,39 +442,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OperationProgress) {
-        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,31 +517,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              progressPercent_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -590,20 +551,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -611,15 +568,12 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ @@ -631,15 +585,12 @@ public Builder setProgressPercent(int value) { return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -651,33 +602,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -688,8 +630,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -710,15 +650,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -729,8 +668,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -739,9 +676,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -756,8 +693,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -775,8 +710,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -789,8 +722,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -801,12 +732,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -814,17 +744,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -832,35 +759,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -871,8 +789,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -894,8 +810,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -903,7 +817,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -914,8 +829,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -925,9 +838,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -942,8 +855,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -962,8 +873,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -977,8 +886,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -990,12 +897,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -1004,24 +910,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1031,12 +934,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OperationProgress)
   private static final com.google.bigtable.admin.v2.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OperationProgress();
   }
@@ -1045,27 +948,27 @@ public static com.google.bigtable.admin.v2.OperationProgress getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationProgress parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationProgress parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1080,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
index 72aa285af0..dc27a0d4bf 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
@@ -1,70 +1,43 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/common.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.OperationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time the request was received.
    * 
@@ -74,34 +47,26 @@ public interface OperationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
similarity index 68%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
index 895a06b7e9..c8f076c2a6 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Metadata type for the long-running operation used to track the progress
  * of optimizations performed on a newly restored table. This long-running
@@ -31,55 +14,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
  */
-public final class OptimizeRestoredTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OptimizeRestoredTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
     OptimizeRestoredTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredTableMetadata.newBuilder() to construct.
   private OptimizeRestoredTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OptimizeRestoredTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OptimizeRestoredTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -136,25 +110,18 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgress getProgress() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
@@ -163,13 +130,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() { */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +145,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,7 +166,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,18 +177,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = - (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; + com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,104 +214,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the long-running operation used to track the progress
    * of optimizations performed on a newly restored table. This long-running
@@ -354,23 +315,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
       com.google.bigtable.admin.v2.OptimizeRestoredTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.newBuilder()
@@ -378,17 +337,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -403,9 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -424,11 +383,8 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result =
-          new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -440,7 +396,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -450,39 +408,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,8 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -526,25 +482,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -554,25 +509,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -581,21 +533,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -603,35 +554,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -641,21 +585,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -665,47 +605,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - progressBuilder_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ public com.google.bigtable.admin.v2.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -726,8 +653,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -746,8 +671,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -756,9 +679,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progress_ != null - && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progress_ != null && + progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -773,8 +696,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -792,8 +713,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -806,8 +725,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -818,14 +735,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -833,24 +747,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil * .google.bigtable.admin.v2.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder>( + getProgress(), + getParentForChildren(), + isClean()); progress_ = null; } return progressBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) private static final com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(); } @@ -874,27 +785,27 @@ public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +820,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java index aa088556e4..e6dcf73949 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface OptimizeRestoredTableMetadataOrBuilder - extends +public interface OptimizeRestoredTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ com.google.bigtable.admin.v2.OperationProgress getProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java index ea05774473..5bbf16e5fd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,59 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ -public final class PartialUpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) PartialUpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterMetadata.newBuilder() to construct. private PartialUpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterMetadata() {} + private PartialUpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } private int bitField0_; public static final int REQUEST_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ @java.lang.Override @@ -95,8 +71,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -111,14 +85,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -126,14 +97,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ @java.lang.Override @@ -141,8 +109,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -157,14 +123,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -172,25 +135,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
@@ -198,15 +154,11 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalReque * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getRequestTime()); } @@ -238,13 +191,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequestTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFinishTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOriginalRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,25 +210,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = - (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -303,127 +261,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) com.google.bigtable.admin.v2.PartialUpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.newBuilder() @@ -431,19 +381,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRequestTimeFieldBuilder(); getFinishTimeFieldBuilder(); getOriginalRequestFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override @@ -488,11 +438,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = - new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -501,17 +448,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMeta int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -521,39 +472,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMeta public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -561,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasRequestTime()) { mergeRequestTime(other.getRequestTime()); } @@ -598,31 +547,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,52 +583,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -698,15 +635,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -717,8 +653,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -727,9 +661,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -744,8 +678,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -763,8 +695,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -777,8 +707,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -789,14 +717,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -804,17 +729,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -822,47 +744,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -883,15 +792,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -902,8 +810,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -912,9 +818,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -929,8 +835,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -948,8 +852,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -962,8 +864,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -974,14 +874,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -989,17 +886,14 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; @@ -1007,55 +901,41 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1069,8 +949,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1089,21 +967,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1118,8 +992,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1137,42 +1009,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1180,24 +1043,21 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1207,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) private static final com.google.bigtable.admin.v2.PartialUpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(); } @@ -1221,27 +1081,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java index 79e9c4ae36..c31e1495db 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface PartialUpdateClusterMetadataOrBuilder - extends +public interface PartialUpdateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -60,32 +36,24 @@ public interface PartialUpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -95,32 +63,24 @@ public interface PartialUpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java index b9ec9d35ee..e5d63e101a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,61 +5,54 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ -public final class PartialUpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) PartialUpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterRequest.newBuilder() to construct. private PartialUpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterRequest() {} + private PartialUpdateClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } private int bitField0_; public static final int CLUSTER_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -82,16 +60,12 @@ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -99,15 +73,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -117,15 +88,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,15 +100,11 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -149,14 +112,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -164,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCluster()); } @@ -193,10 +153,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCluster()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -206,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = - (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -247,127 +210,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder() @@ -375,18 +330,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getClusterFieldBuilder(); getUpdateMaskFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override @@ -426,11 +381,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = - new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -439,11 +391,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequ int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -453,39 +409,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -493,8 +448,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) return this; if (other.hasCluster()) { mergeCluster(other.getCluster()); } @@ -527,25 +481,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,66 +510,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -630,18 +565,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -652,22 +584,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -682,16 +610,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -704,16 +628,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000001; @@ -721,50 +641,38 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied,
      * subject to the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -772,55 +680,39 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -836,16 +728,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -856,20 +746,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -884,14 +771,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -904,14 +788,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -919,53 +800,43 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -975,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) private static final com.google.bigtable.admin.v2.PartialUpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(); } @@ -989,27 +860,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1024,4 +895,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java index ff9f80571b..8c865e616a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java @@ -1,105 +1,67 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface PartialUpdateClusterRequestOrBuilder - extends +public interface PartialUpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.bigtable.admin.v2.Cluster getCluster(); /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied,
    * subject to the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java index 5bdba73c08..b79af37483 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,61 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ -public final class PartialUpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) PartialUpdateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateInstanceRequest.newBuilder() to construct. private PartialUpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateInstanceRequest() {} + private PartialUpdateInstanceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -82,55 +59,38 @@ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,16 +98,12 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -155,15 +111,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getInstance()); } @@ -200,10 +153,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = - (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -254,127 +210,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder() @@ -382,18 +330,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInstanceFieldBuilder(); getUpdateMaskFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override @@ -433,11 +381,8 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = - new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -446,11 +391,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceReq int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -460,39 +409,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -500,8 +448,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasInstance()) { mergeInstance(other.getInstance()); } @@ -534,25 +481,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -562,63 +510,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -634,17 +562,14 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -655,21 +580,17 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -684,15 +605,11 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -705,15 +622,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -721,48 +634,36 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -770,58 +671,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -837,17 +722,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -858,21 +741,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -887,15 +767,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -908,15 +785,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -924,55 +798,45 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -982,12 +846,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) private static final com.google.bigtable.admin.v2.PartialUpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(); } @@ -996,27 +860,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1031,4 +895,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java index 58dfd75123..7314bb483f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java @@ -1,108 +1,67 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface PartialUpdateInstanceRequestOrBuilder - extends +public interface PartialUpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.bigtable.admin.v2.Instance getInstance(); /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java index ad618981f2..b4f47f5bd9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java index 7f3827760d..8d77a82452 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,62 +5,54 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Information about a table restore.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ -public final class RestoreInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreInfo) RestoreInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object sourceInfo_; - public enum SourceInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; - private SourceInfoCase(int value) { this.value = value; } @@ -91,70 +68,56 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: - return BACKUP_INFO; - case 0: - return SOURCEINFO_NOT_SET; - default: - return null; + case 2: return BACKUP_INFO; + case 0: return SOURCEINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -162,27 +125,22 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
@@ -193,13 +151,12 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-      return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
+       return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
     }
     return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -211,10 +168,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -229,15 +185,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,7 +201,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.RestoreInfo)) {
       return super.equals(obj);
@@ -258,7 +212,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 2:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -289,136 +244,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreInfo prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Information about a table restore.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreInfo) com.google.bigtable.admin.v2.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.RestoreInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override @@ -454,11 +405,8 @@ public com.google.bigtable.admin.v2.RestoreInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo buildPartial() { - com.google.bigtable.admin.v2.RestoreInfo result = - new com.google.bigtable.admin.v2.RestoreInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.RestoreInfo result = new com.google.bigtable.admin.v2.RestoreInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -474,7 +422,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreInfo result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && + backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -483,39 +432,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.RestoreInfo) { - return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo)other); } else { super.mergeFrom(other); return this; @@ -528,15 +476,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreInfo other) { setSourceTypeValue(other.getSourceTypeValue()); } switch (other.getSourceInfoCase()) { - case BACKUP_INFO: - { - mergeBackupInfo(other.getBackupInfo()); - break; - } - case SOURCEINFO_NOT_SET: - { - break; - } + case BACKUP_INFO: { + mergeBackupInfo(other.getBackupInfo()); + break; + } + case SOURCEINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -564,25 +510,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getBackupInfoFieldBuilder().getBuilder(), + extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -592,12 +537,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public Builder clearSourceInfo() { @@ -611,29 +556,22 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -644,31 +582,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -682,14 +613,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -700,20 +628,14 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -721,15 +643,12 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override @@ -747,8 +666,6 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -770,8 +687,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -779,7 +694,8 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
      *
      * .google.bigtable.admin.v2.BackupInfo backup_info = 2;
      */
-    public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
+    public Builder setBackupInfo(
+        com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
       if (backupInfoBuilder_ == null) {
         sourceInfo_ = builderForValue.build();
         onChanged();
@@ -790,8 +706,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -801,13 +715,10 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
      */
     public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2
-            && sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ =
-              com.google.bigtable.admin.v2.BackupInfo.newBuilder(
-                      (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceInfoCase_ == 2 &&
+            sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.newBuilder((com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -823,8 +734,6 @@ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -849,8 +758,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -862,8 +769,6 @@ public com.google.bigtable.admin.v2.BackupInfo.Builder getBackupInfoBuilder() {
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -883,8 +788,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -893,19 +796,14 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
      * .google.bigtable.admin.v2.BackupInfo backup_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.BackupInfo,
-            com.google.bigtable.admin.v2.BackupInfo.Builder,
-            com.google.bigtable.admin.v2.BackupInfoOrBuilder>
+        com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> 
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.BackupInfo,
-                com.google.bigtable.admin.v2.BackupInfo.Builder,
-                com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
+        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
                 (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -915,9 +813,9 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       onChanged();
       return backupInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -927,12 +825,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreInfo)
   private static final com.google.bigtable.admin.v2.RestoreInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreInfo();
   }
@@ -941,27 +839,27 @@ public static com.google.bigtable.admin.v2.RestoreInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreInfo parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreInfo parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -976,4 +874,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
index c5b64569c0..a6a6effadd 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
@@ -1,83 +1,53 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface RestoreInfoOrBuilder
-    extends
+public interface RestoreInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ com.google.bigtable.admin.v2.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ com.google.bigtable.admin.v2.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
index c3ac45e302..b60d01ab5d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
@@ -20,18 +5,15 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Indicates the type of the restore source.
  * 
* * Protobuf enum {@code google.bigtable.admin.v2.RestoreSourceType} */ -public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum RestoreSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No restore associated.
    * 
@@ -40,8 +22,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ RESTORE_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -53,8 +33,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * No restore associated.
    * 
@@ -63,8 +41,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int RESTORE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -73,6 +49,7 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BACKUP_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -97,40 +74,38 @@ public static RestoreSourceType valueOf(int value) { */ public static RestoreSourceType forNumber(int value) { switch (value) { - case 0: - return RESTORE_SOURCE_TYPE_UNSPECIFIED; - case 1: - return BACKUP; - default: - return null; + case 0: return RESTORE_SOURCE_TYPE_UNSPECIFIED; + case 1: return BACKUP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestoreSourceType findValueByNumber(int number) { - return RestoreSourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + RestoreSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestoreSourceType findValueByNumber(int number) { + return RestoreSourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.TableProto.getDescriptor().getEnumTypes().get(0); } @@ -139,7 +114,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RestoreSourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -155,3 +131,4 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.RestoreSourceType) } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java index 5d9ef45f63..e9a41a2eb5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the long-running operation returned by
  * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.RestoreTableMetadata}
  */
-public final class RestoreTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreTableMetadata)
     RestoreTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreTableMetadata.newBuilder() to construct.
   private RestoreTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreTableMetadata() {
     name_ = "";
     sourceType_ = 0;
@@ -47,39 +29,34 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableMetadata.class,
-            com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
   }
 
   private int bitField0_;
   private int sourceInfoCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object sourceInfo_;
-
   public enum SourceInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
-
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -95,37 +72,31 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP_INFO;
-        case 0:
-          return SOURCEINFO_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP_INFO;
+        case 0: return SOURCEINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase getSourceInfoCase() {
-    return SourceInfoCase.forNumber(sourceInfoCase_);
+  public SourceInfoCase
+  getSourceInfoCase() {
+    return SourceInfoCase.forNumber(
+        sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -134,29 +105,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,42 +138,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -211,32 +172,30 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -250,7 +209,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -259,15 +217,14 @@ public java.lang.String getOptimizeTableOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeTableOperationName_ = s; return s; } } /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -281,15 +238,16 @@ public java.lang.String getOptimizeTableOperationName() {
    * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes() { java.lang.Object ref = optimizeTableOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeTableOperationName_ = b; return b; } else { @@ -300,8 +258,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 5; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -309,7 +265,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() {
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -317,8 +272,6 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -326,18 +279,13 @@ public boolean hasProgress() {
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return The progress. */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgress getProgress() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -348,13 +296,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -366,13 +311,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, sourceType_);
     }
     if (sourceInfoCase_ == 3) {
@@ -396,22 +340,20 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_);
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, sourceType_);
     }
     if (sourceInfoCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeTableOperationName_)) {
-      size +=
-          com.google.protobuf.GeneratedMessageV3.computeStringSize(4, optimizeTableOperationName_);
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, optimizeTableOperationName_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getProgress());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -421,26 +363,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.RestoreTableMetadata)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.RestoreTableMetadata other =
-        (com.google.bigtable.admin.v2.RestoreTableMetadata) obj;
+    com.google.bigtable.admin.v2.RestoreTableMetadata other = (com.google.bigtable.admin.v2.RestoreTableMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (sourceType_ != other.sourceType_) return false;
-    if (!getOptimizeTableOperationName().equals(other.getOptimizeTableOperationName()))
-      return false;
+    if (!getOptimizeTableOperationName()
+        .equals(other.getOptimizeTableOperationName())) return false;
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 3:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -480,103 +424,98 @@ public int hashCode() {
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the long-running operation returned by
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -584,23 +523,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.RestoreTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreTableMetadata)
       com.google.bigtable.admin.v2.RestoreTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.RestoreTableMetadata.class,
-              com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.RestoreTableMetadata.newBuilder()
@@ -608,17 +545,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getProgressFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -640,9 +577,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -661,11 +598,8 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableMetadata result =
-          new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableMetadata result = new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -684,7 +618,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreTableMetadata res
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -693,7 +629,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreTableMetadata res
     private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 &&
+          backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -702,39 +639,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadat
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -742,8 +678,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -761,15 +696,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableMetadata other
         mergeProgress(other.getProgress());
       }
       switch (other.getSourceInfoCase()) {
-        case BACKUP_INFO:
-          {
-            mergeBackupInfo(other.getBackupInfo());
-            break;
-          }
-        case SOURCEINFO_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_INFO: {
+          mergeBackupInfo(other.getBackupInfo());
+          break;
+        }
+        case SOURCEINFO_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -797,43 +730,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                optimizeTableOperationName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              optimizeTableOperationName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -843,12 +774,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceInfoCase_ = 0;
     private java.lang.Object sourceInfo_;
-
-    public SourceInfoCase getSourceInfoCase() {
-      return SourceInfoCase.forNumber(sourceInfoCase_);
+    public SourceInfoCase
+        getSourceInfoCase() {
+      return SourceInfoCase.forNumber(
+          sourceInfoCase_);
     }
 
     public Builder clearSourceInfo() {
@@ -862,20 +793,18 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -884,21 +813,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -906,35 +834,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -944,21 +865,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -968,29 +885,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1001,31 +911,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1039,14 +942,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1057,13 +957,9 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1072,7 +968,6 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1089,7 +984,9 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (backupInfoBuilder_ == null) { if (value == null) { @@ -1103,8 +1000,11 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ - public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) { + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ + public Builder setBackupInfo( + com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) { if (backupInfoBuilder_ == null) { sourceInfo_ = builderForValue.build(); onChanged(); @@ -1114,16 +1014,15 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (backupInfoBuilder_ == null) { - if (sourceInfoCase_ == 3 - && sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { - sourceInfo_ = - com.google.bigtable.admin.v2.BackupInfo.newBuilder( - (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_) - .mergeFrom(value) - .buildPartial(); + if (sourceInfoCase_ == 3 && + sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { + sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.newBuilder((com.google.bigtable.admin.v2.BackupInfo) sourceInfo_) + .mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } @@ -1138,7 +1037,9 @@ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder clearBackupInfo() { if (backupInfoBuilder_ == null) { if (sourceInfoCase_ == 3) { @@ -1155,11 +1056,15 @@ public Builder clearBackupInfo() { } return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public com.google.bigtable.admin.v2.BackupInfo.Builder getBackupInfoBuilder() { return getBackupInfoFieldBuilder().getBuilder(); } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if ((sourceInfoCase_ == 3) && (backupInfoBuilder_ != null)) { @@ -1171,21 +1076,18 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder>( + backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>( (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1198,8 +1100,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() private java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1213,13 +1113,13 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
      * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ public java.lang.String getOptimizeTableOperationName() { java.lang.Object ref = optimizeTableOperationName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeTableOperationName_ = s; return s; @@ -1228,8 +1128,6 @@ public java.lang.String getOptimizeTableOperationName() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1243,14 +1141,15 @@ public java.lang.String getOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ - public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes() { java.lang.Object ref = optimizeTableOperationName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeTableOperationName_ = b; return b; } else { @@ -1258,8 +1157,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1273,22 +1170,18 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1302,7 +1195,6 @@ public Builder setOptimizeTableOperationName(java.lang.String value) {
      * 
* * string optimize_table_operation_name = 4; - * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { @@ -1312,8 +1204,6 @@ public Builder clearOptimizeTableOperationName() { return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1327,14 +1217,12 @@ public Builder clearOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The bytes for optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; @@ -1344,13 +1232,8 @@ public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString private com.google.bigtable.admin.v2.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - progressBuilder_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1358,15 +1241,12 @@ public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1374,21 +1254,16 @@ public boolean hasProgress() {
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return The progress. */ public com.google.bigtable.admin.v2.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1411,8 +1286,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1433,8 +1306,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1445,9 +1316,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && progress_ != null
-            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1462,8 +1333,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1483,8 +1352,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1499,8 +1366,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1513,14 +1378,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1530,24 +1392,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
      * .google.bigtable.admin.v2.OperationProgress progress = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.OperationProgress,
-            com.google.bigtable.admin.v2.OperationProgress.Builder,
-            com.google.bigtable.admin.v2.OperationProgressOrBuilder>
+        com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> 
         getProgressFieldBuilder() {
       if (progressBuilder_ == null) {
-        progressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.OperationProgress,
-                com.google.bigtable.admin.v2.OperationProgress.Builder,
-                com.google.bigtable.admin.v2.OperationProgressOrBuilder>(
-                getProgress(), getParentForChildren(), isClean());
+        progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder>(
+                getProgress(),
+                getParentForChildren(),
+                isClean());
         progress_ = null;
       }
       return progressBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1557,12 +1416,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreTableMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreTableMetadata)
   private static final com.google.bigtable.admin.v2.RestoreTableMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreTableMetadata();
   }
@@ -1571,27 +1430,27 @@ public static com.google.bigtable.admin.v2.RestoreTableMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreTableMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreTableMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1606,4 +1465,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreTableMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
similarity index 80%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
index 1061d471a1..30b845d842 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
@@ -1,97 +1,68 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.admin.v2;
 
-public interface RestoreTableMetadataOrBuilder
-    extends
+public interface RestoreTableMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreTableMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ com.google.bigtable.admin.v2.RestoreSourceType getSourceType(); /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ com.google.bigtable.admin.v2.BackupInfo getBackupInfo(); - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder(); /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -105,13 +76,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ java.lang.String getOptimizeTableOperationName(); /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -125,14 +93,12 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ - com.google.protobuf.ByteString getOptimizeTableOperationNameBytes(); + com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -140,13 +106,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -154,13 +117,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return The progress. */ com.google.bigtable.admin.v2.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
similarity index 70%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
index 01329ea8d0..f9726c8bf5 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * The request for
  * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.RestoreTableRequest}
  */
-public final class RestoreTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreTableRequest)
     RestoreTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreTableRequest.newBuilder() to construct.
   private RestoreTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreTableRequest() {
     parent_ = "";
     tableId_ = "";
@@ -46,38 +28,33 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableRequest.class,
-            com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -93,40 +70,32 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -135,32 +104,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -169,12 +136,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -183,7 +147,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -192,15 +155,14 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -209,15 +171,16 @@ public java.lang.String getTableId() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -227,30 +190,24 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ public java.lang.String getBackup() { @@ -261,7 +218,8 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -270,25 +228,24 @@ public java.lang.String getBackup() { } } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -299,7 +256,6 @@ public com.google.protobuf.ByteString getBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -347,20 +304,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.RestoreTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.RestoreTableRequest other = - (com.google.bigtable.admin.v2.RestoreTableRequest) obj; + com.google.bigtable.admin.v2.RestoreTableRequest other = (com.google.bigtable.admin.v2.RestoreTableRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTableId().equals(other.getTableId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 3: - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; break; case 0: default: @@ -393,104 +352,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -498,32 +452,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.RestoreTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreTableRequest)
       com.google.bigtable.admin.v2.RestoreTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.RestoreTableRequest.class,
-              com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.RestoreTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -536,9 +491,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -557,11 +512,8 @@ public com.google.bigtable.admin.v2.RestoreTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableRequest result =
-          new com.google.bigtable.admin.v2.RestoreTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableRequest result = new com.google.bigtable.admin.v2.RestoreTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -586,39 +538,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -626,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -639,17 +589,15 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableRequest other)
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case BACKUP:
-          {
-            sourceCase_ = 3;
-            source_ = other.source_;
-            onChanged();
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP: {
+          sourceCase_ = 3;
+          source_ = other.source_;
+          onChanged();
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -677,32 +625,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 3;
-                source_ = s;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 3;
+              source_ = s;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -712,12 +656,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-
-    public SourceCase getSourceCase() {
-      return SourceCase.forNumber(sourceCase_);
+    public SourceCase
+        getSourceCase() {
+      return SourceCase.forNumber(
+          sourceCase_);
     }
 
     public Builder clearSource() {
@@ -731,23 +675,19 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -756,24 +696,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -781,41 +718,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -825,24 +751,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -852,8 +772,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -862,13 +780,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -877,8 +795,6 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -887,14 +803,15 @@ public java.lang.String getTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -902,8 +819,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -912,22 +827,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -936,7 +847,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -946,8 +856,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -956,14 +864,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -972,15 +878,12 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ @java.lang.Override @@ -988,15 +891,12 @@ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -1006,7 +906,8 @@ public java.lang.String getBackup() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -1017,26 +918,25 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -1046,37 +946,30 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1088,31 +981,27 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreTableRequest) private static final com.google.bigtable.admin.v2.RestoreTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreTableRequest(); } @@ -1136,27 +1025,27 @@ public static com.google.bigtable.admin.v2.RestoreTableRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1171,4 +1060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.RestoreTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java index 1e609ebf58..6cfd765d41 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface RestoreTableRequestOrBuilder - extends +public interface RestoreTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -66,13 +39,10 @@ public interface RestoreTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -81,50 +51,42 @@ public interface RestoreTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); com.google.bigtable.admin.v2.RestoreTableRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java index d35f934040..c68a381745 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A snapshot of a table at a particular time. A snapshot can be used as a
  * checkpoint for data restoration or a data source for a new table.
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Snapshot}
  */
-public final class Snapshot extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Snapshot extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Snapshot)
     SnapshotOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Snapshot.newBuilder() to construct.
   private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Snapshot() {
     name_ = "";
     state_ = 0;
@@ -52,38 +34,34 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Snapshot.class,
-            com.google.bigtable.admin.v2.Snapshot.Builder.class);
+            com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a snapshot.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Snapshot.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the snapshot could not be determined.
      * 
@@ -92,8 +70,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -102,8 +78,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -117,8 +91,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -127,8 +99,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -137,8 +107,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -149,6 +117,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -173,49 +142,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Snapshot.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -234,12 +203,9 @@ private State(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the snapshot.
    * Values are of the form
@@ -247,7 +213,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -256,15 +221,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -272,15 +236,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -291,16 +256,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.Table sourceTable_; /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -308,47 +268,32 @@ public boolean hasSourceTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ @java.lang.Override public com.google.bigtable.admin.v2.Table getSourceTable() { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; private long dataSizeBytes_ = 0L; /** - * - * *
    * Output only. The size of the data in the source table at the time the
    * snapshot was taken. In some cases, this value may be computed
@@ -357,7 +302,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -368,15 +312,11 @@ public long getDataSizeBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -384,15 +324,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -400,14 +336,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -417,8 +350,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -426,7 +357,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -434,8 +364,6 @@ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -443,7 +371,6 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ @java.lang.Override @@ -451,8 +378,6 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -469,55 +394,38 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Snapshot.State getState() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ @java.lang.Override @@ -526,29 +434,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -557,7 +465,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -569,7 +476,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -604,19 +512,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSourceTable()); } if (dataSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, dataSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, dataSizeBytes_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDeleteTime()); } if (state_ != com.google.bigtable.admin.v2.Snapshot.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); @@ -629,29 +542,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Snapshot)) { return super.equals(obj); } com.google.bigtable.admin.v2.Snapshot other = (com.google.bigtable.admin.v2.Snapshot) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSourceTable() != other.hasSourceTable()) return false; if (hasSourceTable()) { - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; } - if (getDataSizeBytes() != other.getDataSizeBytes()) return false; + if (getDataSizeBytes() + != other.getDataSizeBytes()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (state_ != other.state_) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -670,7 +589,8 @@ public int hashCode() { hash = (53 * hash) + getSourceTable().hashCode(); } hash = (37 * hash) + DATA_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataSizeBytes()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -688,103 +608,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Snapshot parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Snapshot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A snapshot of a table at a particular time. A snapshot can be used as a
    * checkpoint for data restoration or a data source for a new table.
@@ -797,23 +713,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Snapshot}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Snapshot)
       com.google.bigtable.admin.v2.SnapshotOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Snapshot.class,
-              com.google.bigtable.admin.v2.Snapshot.Builder.class);
+              com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Snapshot.newBuilder()
@@ -821,19 +735,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getSourceTableFieldBuilder();
         getCreateTimeFieldBuilder();
         getDeleteTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -861,9 +775,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
     }
 
     @java.lang.Override
@@ -882,11 +796,8 @@ public com.google.bigtable.admin.v2.Snapshot build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Snapshot buildPartial() {
-      com.google.bigtable.admin.v2.Snapshot result =
-          new com.google.bigtable.admin.v2.Snapshot(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Snapshot result = new com.google.bigtable.admin.v2.Snapshot(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -898,19 +809,24 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceTable_ =
-            sourceTableBuilder_ == null ? sourceTable_ : sourceTableBuilder_.build();
+        result.sourceTable_ = sourceTableBuilder_ == null
+            ? sourceTable_
+            : sourceTableBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.dataSizeBytes_ = dataSizeBytes_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
@@ -926,39 +842,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Snapshot) {
-        return mergeFrom((com.google.bigtable.admin.v2.Snapshot) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Snapshot)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1018,55 +933,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                dataSizeBytes_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              dataSizeBytes_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1076,13 +989,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the snapshot.
      * Values are of the form
@@ -1090,13 +1000,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1105,8 +1015,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1114,14 +1022,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1129,8 +1038,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1138,22 +1045,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1161,7 +1064,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1171,8 +1073,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1180,14 +1080,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1197,58 +1095,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Table sourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> - sourceTableBuilder_; + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> sourceTableBuilder_; /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ public com.google.bigtable.admin.v2.Table getSourceTable() { if (sourceTableBuilder_ == null) { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } else { return sourceTableBuilder_.getMessage(); } } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { @@ -1264,17 +1143,14 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setSourceTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (sourceTableBuilder_ == null) { sourceTable_ = builderForValue.build(); } else { @@ -1285,21 +1161,17 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builder return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sourceTable_ != null - && sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sourceTable_ != null && + sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getSourceTableBuilder().mergeFrom(value); } else { sourceTable_ = value; @@ -1314,15 +1186,11 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSourceTable() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1335,15 +1203,11 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { bitField0_ |= 0x00000002; @@ -1351,57 +1215,43 @@ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { return getSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { if (sourceTableBuilder_ != null) { return sourceTableBuilder_.getMessageOrBuilder(); } else { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getSourceTableFieldBuilder() { if (sourceTableBuilder_ == null) { - sourceTableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getSourceTable(), getParentForChildren(), isClean()); + sourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getSourceTable(), + getParentForChildren(), + isClean()); sourceTable_ = null; } return sourceTableBuilder_; } - private long dataSizeBytes_; + private long dataSizeBytes_ ; /** - * - * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1410,7 +1260,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -1418,8 +1267,6 @@ public long getDataSizeBytes() { return dataSizeBytes_; } /** - * - * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1428,7 +1275,6 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ @@ -1440,8 +1286,6 @@ public Builder setDataSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1450,7 +1294,6 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { @@ -1462,58 +1305,39 @@ public Builder clearDataSizeBytes() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1529,17 +1353,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1550,21 +1371,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1579,15 +1396,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1600,15 +1413,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1616,48 +1425,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1665,13 +1462,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1679,15 +1471,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1695,21 +1484,16 @@ public boolean hasDeleteTime() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1732,8 +1516,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1742,7 +1524,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp delete_time = 5;
      */
-    public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDeleteTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (deleteTimeBuilder_ == null) {
         deleteTime_ = builderForValue.build();
       } else {
@@ -1753,8 +1536,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1765,9 +1546,9 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && deleteTime_ != null
-            && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          deleteTime_ != null &&
+          deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getDeleteTimeBuilder().mergeFrom(value);
         } else {
           deleteTime_ = value;
@@ -1782,8 +1563,6 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1803,8 +1582,6 @@ public Builder clearDeleteTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1819,8 +1596,6 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
       return getDeleteTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1833,14 +1608,11 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
       if (deleteTimeBuilder_ != null) {
         return deleteTimeBuilder_.getMessageOrBuilder();
       } else {
-        return deleteTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : deleteTime_;
+        return deleteTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the snapshot will be deleted. The maximum amount of time a
      * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1850,17 +1622,14 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
      * .google.protobuf.Timestamp delete_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getDeleteTimeFieldBuilder() {
       if (deleteTimeBuilder_ == null) {
-        deleteTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDeleteTime(), getParentForChildren(), isClean());
+        deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDeleteTime(),
+                getParentForChildren(),
+                isClean());
         deleteTime_ = null;
       }
       return deleteTimeBuilder_;
@@ -1868,33 +1637,22 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1905,35 +1663,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1947,16 +1694,11 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1968,20 +1710,18 @@ public Builder clearState() { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1990,21 +1730,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2012,35 +1751,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2050,30 +1782,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2083,12 +1811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Snapshot) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Snapshot) private static final com.google.bigtable.admin.v2.Snapshot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Snapshot(); } @@ -2097,27 +1825,27 @@ public static com.google.bigtable.admin.v2.Snapshot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Snapshot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Snapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2132,4 +1860,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Snapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java index add6051719..881075fe8c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java index 2090c6c2fb..72c14d74a7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface SnapshotOrBuilder - extends +public interface SnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Snapshot) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -34,13 +16,10 @@ public interface SnapshotOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -48,55 +27,39 @@ public interface SnapshotOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ boolean hasSourceTable(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ com.google.bigtable.admin.v2.Table getSourceTable(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder(); /** - * - * *
    * Output only. The size of the data in the source table at the time the
    * snapshot was taken. In some cases, this value may be computed
@@ -105,52 +68,38 @@ public interface SnapshotOrBuilder
    * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ long getDataSizeBytes(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -158,13 +107,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -172,13 +118,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * The time when the snapshot will be deleted. The maximum amount of time a
    * snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -190,56 +133,41 @@ public interface SnapshotOrBuilder
   com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Snapshot.State getState(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java index 70c3ce3830..91be54fcf5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by SnapshotTable.
  *
@@ -33,51 +16,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
  */
-public final class SnapshotTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
     SnapshotTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableMetadata.newBuilder() to construct.
   private SnapshotTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private SnapshotTableMetadata() {}
+  private SnapshotTableMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -85,25 +64,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
@@ -112,22 +84,17 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -135,14 +102,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -150,8 +114,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -166,14 +128,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -181,14 +140,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -196,8 +152,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -210,7 +164,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -242,13 +196,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,25 +215,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableMetadata other = - (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; + com.google.bigtable.admin.v2.SnapshotTableMetadata other = (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -307,103 +266,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by SnapshotTable.
    *
@@ -415,23 +369,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
       com.google.bigtable.admin.v2.SnapshotTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableMetadata.newBuilder()
@@ -439,19 +391,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getOriginalRequestFieldBuilder();
         getRequestTimeFieldBuilder();
         getFinishTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -475,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -496,11 +448,8 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableMetadata result =
-          new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result = new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -509,17 +458,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata re
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -529,39 +482,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +521,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -606,31 +557,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -640,52 +593,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.SnapshotTableRequest,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder,
-            com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -706,8 +645,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -726,8 +663,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -736,10 +671,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -754,8 +688,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -773,8 +705,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -787,27 +717,21 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ - public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -815,17 +739,14 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -833,47 +754,34 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -894,15 +802,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -913,8 +820,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -923,9 +828,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -940,8 +845,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -959,8 +862,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -973,8 +874,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -985,14 +884,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -1000,17 +896,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1018,47 +911,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1079,15 +959,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1098,8 +977,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1108,9 +985,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1125,8 +1002,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1144,8 +1019,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1158,8 +1031,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1170,14 +1041,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1185,24 +1053,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1212,12 +1077,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableMetadata) private static final com.google.bigtable.admin.v2.SnapshotTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableMetadata(); } @@ -1226,27 +1091,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java index 8f97ebc413..e34c306293 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface SnapshotTableMetadataOrBuilder - extends +public interface SnapshotTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.SnapshotTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
@@ -60,32 +36,24 @@ public interface SnapshotTableMetadataOrBuilder com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -95,32 +63,24 @@ public interface SnapshotTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java index b74ca5b40e..c042659320 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
  */
-public final class SnapshotTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableRequest)
     SnapshotTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableRequest.newBuilder() to construct.
   private SnapshotTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SnapshotTableRequest() {
     name_ = "";
     cluster_ = "";
@@ -53,43 +35,36 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -98,33 +73,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -133,22 +106,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ @java.lang.Override @@ -157,33 +124,31 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -192,12 +157,9 @@ public com.google.protobuf.ByteString getClusterBytes() { } public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object snapshotId_ = ""; /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -206,7 +168,6 @@ public com.google.protobuf.ByteString getClusterBytes() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ @java.lang.Override @@ -215,15 +176,14 @@ public java.lang.String getSnapshotId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; } } /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -232,15 +192,16 @@ public java.lang.String getSnapshotId() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ @java.lang.Override - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -251,8 +212,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { public static final int TTL_FIELD_NUMBER = 4; private com.google.protobuf.Duration ttl_; /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -261,7 +220,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -269,8 +227,6 @@ public boolean hasTtl() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -279,7 +235,6 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ @java.lang.Override @@ -287,8 +242,6 @@ public com.google.protobuf.Duration getTtl() { return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -304,18 +257,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -324,29 +273,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -355,7 +304,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,7 +315,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -402,7 +351,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, snapshotId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTtl()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -415,22 +365,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableRequest other = - (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; + com.google.bigtable.admin.v2.SnapshotTableRequest other = (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getCluster().equals(other.getCluster())) return false; - if (!getSnapshotId().equals(other.getSnapshotId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + if (!getSnapshotId() + .equals(other.getSnapshotId())) return false; if (hasTtl() != other.hasTtl()) return false; if (hasTtl()) { - if (!getTtl().equals(other.getTtl())) return false; + if (!getTtl() + .equals(other.getTtl())) return false; } - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,103 +414,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
@@ -569,23 +518,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableRequest)
       com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-              com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder()
@@ -593,17 +540,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTtlFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -621,9 +568,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -642,11 +589,8 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableRequest result =
-          new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableRequest result = new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -664,7 +608,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.ttl_ = ttlBuilder_ == null ? ttl_ : ttlBuilder_.build();
+        result.ttl_ = ttlBuilder_ == null
+            ? ttl_
+            : ttlBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
@@ -677,39 +623,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -717,8 +662,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -768,43 +712,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                cluster_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                snapshotId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              cluster_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              snapshotId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTtlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -814,29 +754,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -845,25 +780,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -871,43 +803,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -917,25 +838,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -945,24 +860,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -971,25 +882,22 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -997,43 +905,32 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCluster() { @@ -1043,25 +940,19 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000002; @@ -1071,8 +962,6 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object snapshotId_ = ""; /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1081,13 +970,13 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ public java.lang.String getSnapshotId() { java.lang.Object ref = snapshotId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; @@ -1096,8 +985,6 @@ public java.lang.String getSnapshotId() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1106,14 +993,15 @@ public java.lang.String getSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -1121,8 +1009,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1131,22 +1017,18 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } snapshotId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1155,7 +1037,6 @@ public Builder setSnapshotId(java.lang.String value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSnapshotId() { @@ -1165,8 +1046,6 @@ public Builder clearSnapshotId() { return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1175,14 +1054,12 @@ public Builder clearSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshotId_ = value; bitField0_ |= 0x00000004; @@ -1192,13 +1069,8 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration ttl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - ttlBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_; /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1207,15 +1079,12 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1224,7 +1093,6 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1235,8 +1103,6 @@ public com.google.protobuf.Duration getTtl() { } } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1260,8 +1126,6 @@ public Builder setTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1271,7 +1135,8 @@ public Builder setTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration ttl = 4;
      */
-    public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (ttlBuilder_ == null) {
         ttl_ = builderForValue.build();
       } else {
@@ -1282,8 +1147,6 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1295,9 +1158,9 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && ttl_ != null
-            && ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          ttl_ != null &&
+          ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTtlBuilder().mergeFrom(value);
         } else {
           ttl_ = value;
@@ -1312,8 +1175,6 @@ public Builder mergeTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1334,8 +1195,6 @@ public Builder clearTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1351,8 +1210,6 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1366,12 +1223,11 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
       if (ttlBuilder_ != null) {
         return ttlBuilder_.getMessageOrBuilder();
       } else {
-        return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_;
+        return ttl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : ttl_;
       }
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1382,16 +1238,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * .google.protobuf.Duration ttl = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getTtlFieldBuilder() {
       if (ttlBuilder_ == null) {
-        ttlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(getTtl(), getParentForChildren(), isClean());
+        ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTtl(),
+                getParentForChildren(),
+                isClean());
         ttl_ = null;
       }
       return ttlBuilder_;
@@ -1399,20 +1253,18 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1421,21 +1273,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1443,35 +1294,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1481,30 +1325,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1514,12 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableRequest) private static final com.google.bigtable.admin.v2.SnapshotTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableRequest(); } @@ -1528,27 +1368,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1563,4 +1403,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java index b21028a5aa..bfd67feb1f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java @@ -1,98 +1,62 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface SnapshotTableRequestOrBuilder - extends +public interface SnapshotTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.SnapshotTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ java.lang.String getCluster(); /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ - com.google.protobuf.ByteString getClusterBytes(); + com.google.protobuf.ByteString + getClusterBytes(); /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -101,13 +65,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ java.lang.String getSnapshotId(); /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -116,14 +77,12 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ - com.google.protobuf.ByteString getSnapshotIdBytes(); + com.google.protobuf.ByteString + getSnapshotIdBytes(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -132,13 +91,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ boolean hasTtl(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -147,13 +103,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ com.google.protobuf.Duration getTtl(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -166,27 +119,22 @@ public interface SnapshotTableRequestOrBuilder
   com.google.protobuf.DurationOrBuilder getTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java index 5a0bad800b..1068d65eca 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/common.proto @@ -20,18 +5,15 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Storage media types for persisting Bigtable data.
  * 
* * Protobuf enum {@code google.bigtable.admin.v2.StorageType} */ -public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { +public enum StorageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The user did not specify a storage type.
    * 
@@ -40,8 +22,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Flash (SSD) storage should be used.
    * 
@@ -50,8 +30,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ SSD(1), /** - * - * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -63,8 +41,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The user did not specify a storage type.
    * 
@@ -73,8 +49,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Flash (SSD) storage should be used.
    * 
@@ -83,8 +57,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SSD_VALUE = 1; /** - * - * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -93,6 +65,7 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HDD_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,49 +90,49 @@ public static StorageType valueOf(int value) { */ public static StorageType forNumber(int value) { switch (value) { - case 0: - return STORAGE_TYPE_UNSPECIFIED; - case 1: - return SSD; - case 2: - return HDD; - default: - return null; + case 0: return STORAGE_TYPE_UNSPECIFIED; + case 1: return SSD; + case 2: return HDD; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageType findValueByNumber(int number) { - return StorageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + StorageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageType findValueByNumber(int number) { + return StorageType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final StorageType[] VALUES = values(); - public static StorageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -175,3 +148,4 @@ private StorageType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.StorageType) } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java index 9d29919547..030ee5c381 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * A collection of user data indexed by row, column, and timestamp.
  * Each table is served using the resources of its parent cluster.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Table}
  */
-public final class Table extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Table extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Table)
     TableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Table.newBuilder() to construct.
   private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Table() {
     name_ = "";
     granularity_ = 0;
@@ -46,13 +28,14 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Table();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -65,23 +48,19 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 3:
         return internalGetColumnFamilies();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Table.class,
-            com.google.bigtable.admin.v2.Table.Builder.class);
+            com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible timestamp granularities to use when keeping multiple versions
    * of data in a table.
@@ -89,10 +68,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
    *
    * Protobuf enum {@code google.bigtable.admin.v2.Table.TimestampGranularity}
    */
-  public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum TimestampGranularity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -102,8 +80,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -115,8 +91,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -126,8 +100,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -136,6 +108,7 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE */ public static final int MILLIS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -160,12 +133,9 @@ public static TimestampGranularity valueOf(int value) { */ public static TimestampGranularity forNumber(int value) { switch (value) { - case 0: - return TIMESTAMP_GRANULARITY_UNSPECIFIED; - case 1: - return MILLIS; - default: - return null; + case 0: return TIMESTAMP_GRANULARITY_UNSPECIFIED; + case 1: return MILLIS; + default: return null; } } @@ -173,28 +143,28 @@ public static TimestampGranularity forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TimestampGranularity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimestampGranularity findValueByNumber(int number) { + return TimestampGranularity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimestampGranularity findValueByNumber(int number) { - return TimestampGranularity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(0); } @@ -203,7 +173,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TimestampGranularity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -221,18 +192,15 @@ private TimestampGranularity(int value) { } /** - * - * *
    * Defines a view over a table's fields.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.View} */ - public enum View implements com.google.protobuf.ProtocolMessageEnum { + public enum View + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -241,8 +209,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * Only populates `name`.
      * 
@@ -251,8 +217,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ NAME_ONLY(1), /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -261,8 +225,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA_VIEW(2), /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -272,8 +234,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     REPLICATION_VIEW(3),
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -282,8 +242,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_VIEW(5), /** - * - * *
      * Populates all fields.
      * 
@@ -295,8 +253,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -305,8 +261,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only populates `name`.
      * 
@@ -315,8 +269,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAME_ONLY_VALUE = 1; /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -325,8 +277,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_VIEW_VALUE = 2; /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -336,8 +286,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REPLICATION_VIEW_VALUE = 3;
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -346,8 +294,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** - * - * *
      * Populates all fields.
      * 
@@ -356,6 +302,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -380,55 +327,52 @@ public static View valueOf(int value) { */ public static View forNumber(int value) { switch (value) { - case 0: - return VIEW_UNSPECIFIED; - case 1: - return NAME_ONLY; - case 2: - return SCHEMA_VIEW; - case 3: - return REPLICATION_VIEW; - case 5: - return ENCRYPTION_VIEW; - case 4: - return FULL; - default: - return null; + case 0: return VIEW_UNSPECIFIED; + case 1: return NAME_ONLY; + case 2: return SCHEMA_VIEW; + case 3: return REPLICATION_VIEW; + case 5: return ENCRYPTION_VIEW; + case 4: return FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + View> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public View findValueByNumber(int number) { + return View.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public View findValueByNumber(int number) { - return View.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(1); } private static final View[] VALUES = values(); - public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static View valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -445,43 +389,30 @@ private View(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Table.View) } - public interface ClusterStateOrBuilder - extends + public interface ClusterStateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Table.ClusterState) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ int getReplicationStateValue(); /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -490,14 +421,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getEncryptionInfoList(); + java.util.List + getEncryptionInfoList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -506,14 +434,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -522,14 +446,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getEncryptionInfoCount(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -538,15 +458,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -555,31 +471,27 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(int index); + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( + int index); } /** - * - * *
    * The state of a table's data in a particular cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class ClusterState extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterState extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Table.ClusterState) ClusterStateOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterState.newBuilder() to construct. private ClusterState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterState() { replicationState_ = 0; encryptionInfo_ = java.util.Collections.emptyList(); @@ -587,38 +499,34 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterState(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } /** - * - * *
      * Table replication states.
      * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.ClusterState.ReplicationState} */ - public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum { + public enum ReplicationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The replication state of the table is unknown in this cluster.
        * 
@@ -627,8 +535,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ STATE_NOT_KNOWN(0), /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -639,8 +545,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       INITIALIZING(1),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -650,8 +554,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       PLANNED_MAINTENANCE(2),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -661,8 +563,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       UNPLANNED_MAINTENANCE(3),
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -673,8 +573,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       READY(4),
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -688,8 +586,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
       ;
 
       /**
-       *
-       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -698,8 +594,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -710,8 +604,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int INITIALIZING_VALUE = 1;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -721,8 +613,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int PLANNED_MAINTENANCE_VALUE = 2;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -732,8 +622,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int UNPLANNED_MAINTENANCE_VALUE = 3;
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -744,8 +632,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_VALUE = 4;
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -756,6 +642,7 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_OPTIMIZING_VALUE = 5;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -780,20 +667,13 @@ public static ReplicationState valueOf(int value) {
        */
       public static ReplicationState forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_NOT_KNOWN;
-          case 1:
-            return INITIALIZING;
-          case 2:
-            return PLANNED_MAINTENANCE;
-          case 3:
-            return UNPLANNED_MAINTENANCE;
-          case 4:
-            return READY;
-          case 5:
-            return READY_OPTIMIZING;
-          default:
-            return null;
+          case 0: return STATE_NOT_KNOWN;
+          case 1: return INITIALIZING;
+          case 2: return PLANNED_MAINTENANCE;
+          case 3: return UNPLANNED_MAINTENANCE;
+          case 4: return READY;
+          case 5: return READY_OPTIMIZING;
+          default: return null;
         }
       }
 
@@ -801,31 +681,29 @@ public static ReplicationState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ReplicationState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReplicationState findValueByNumber(int number) {
+                return ReplicationState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ReplicationState findValueByNumber(int number) {
-                  return ReplicationState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ReplicationState[] VALUES = values();
@@ -833,7 +711,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ReplicationState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -853,52 +732,33 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int replicationState_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -907,17 +767,13 @@ public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getRepli
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getEncryptionInfoList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -926,18 +782,14 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -946,17 +798,13 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -965,17 +813,13 @@ public int getEncryptionInfoCount() {
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -984,9 +828,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -995,7 +837,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1007,10 +848,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { output.writeEnum(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { @@ -1025,13 +865,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, replicationState_); + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, encryptionInfo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1041,16 +881,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table.ClusterState)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Table.ClusterState other = - (com.google.bigtable.admin.v2.Table.ClusterState) obj; + com.google.bigtable.admin.v2.Table.ClusterState other = (com.google.bigtable.admin.v2.Table.ClusterState) obj; if (replicationState_ != other.replicationState_) return false; - if (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; + if (!getEncryptionInfoList() + .equals(other.getEncryptionInfoList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1074,93 +914,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table.ClusterState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1170,41 +1006,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The state of a table's data in a particular cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Table.ClusterState) com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } // Construct using com.google.bigtable.admin.v2.Table.ClusterState.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1221,9 +1055,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override @@ -1242,18 +1076,14 @@ public com.google.bigtable.admin.v2.Table.ClusterState build() { @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState buildPartial() { - com.google.bigtable.admin.v2.Table.ClusterState result = - new com.google.bigtable.admin.v2.Table.ClusterState(this); + com.google.bigtable.admin.v2.Table.ClusterState result = new com.google.bigtable.admin.v2.Table.ClusterState(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.Table.ClusterState result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.Table.ClusterState result) { if (encryptionInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { encryptionInfo_ = java.util.Collections.unmodifiableList(encryptionInfo_); @@ -1276,41 +1106,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table.ClusterState resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Table.ClusterState) { - return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState) other); + return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState)other); } else { super.mergeFrom(other); return this; @@ -1318,8 +1145,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) { - if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) return this; if (other.replicationState_ != 0) { setReplicationStateValue(other.getReplicationStateValue()); } @@ -1341,10 +1167,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000002); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1376,32 +1201,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - replicationState_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.bigtable.admin.v2.EncryptionInfo m = - input.readMessage( - com.google.bigtable.admin.v2.EncryptionInfo.parser(), extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + replicationState_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.bigtable.admin.v2.EncryptionInfo m = + input.readMessage( + com.google.bigtable.admin.v2.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1411,38 +1234,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int replicationState_ = 0; /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for replicationState to set. * @return This builder for chaining. */ @@ -1453,44 +1264,28 @@ public Builder setReplicationStateValue(int value) { return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState - getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The replicationState to set. * @return This builder for chaining. */ - public Builder setReplicationState( - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { + public Builder setReplicationState(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } @@ -1500,16 +1295,11 @@ public Builder setReplicationState( return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearReplicationState() { @@ -1520,25 +1310,18 @@ public Builder clearReplicationState() { } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - encryptionInfo_ = - new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1547,9 +1330,7 @@ private void ensureEncryptionInfoIsMutable() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { @@ -1559,8 +1340,6 @@ public java.util.List getEncryption } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1569,9 +1348,7 @@ public java.util.List getEncryption
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -1581,8 +1358,6 @@ public int getEncryptionInfoCount() { } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1591,9 +1366,7 @@ public int getEncryptionInfoCount() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1603,8 +1376,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1613,9 +1384,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1632,8 +1401,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1642,9 +1409,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1658,8 +1423,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1668,9 +1431,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -1686,8 +1447,6 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1696,9 +1455,7 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1715,8 +1472,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1725,9 +1480,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1741,8 +1494,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1751,9 +1502,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1767,8 +1516,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1777,15 +1524,14 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllEncryptionInfo( java.lang.Iterable values) { if (encryptionInfoBuilder_ == null) { ensureEncryptionInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, encryptionInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, encryptionInfo_); onChanged(); } else { encryptionInfoBuilder_.addAllMessages(values); @@ -1793,8 +1539,6 @@ public Builder addAllEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1803,9 +1547,7 @@ public Builder addAllEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -1818,8 +1560,6 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1828,9 +1568,7 @@ public Builder clearEncryptionInfo() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1843,8 +1581,6 @@ public Builder removeEncryptionInfo(int index) { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1853,17 +1589,13 @@ public Builder removeEncryptionInfo(int index) {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1872,21 +1604,16 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); - } else { + return encryptionInfo_.get(index); } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1895,12 +1622,10 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -1908,8 +1633,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1918,17 +1641,13 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1937,18 +1656,14 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1957,26 +1672,18 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoBuilderList() { + public java.util.List + getEncryptionInfoBuilderList() { return getEncryptionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1985,7 +1692,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil } return encryptionInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1998,12 +1704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Table.ClusterState) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Table.ClusterState) private static final com.google.bigtable.admin.v2.Table.ClusterState DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Table.ClusterState(); } @@ -2012,28 +1718,27 @@ public static com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2048,16 +1753,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2065,7 +1768,6 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2074,15 +1776,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2090,15 +1791,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2107,43 +1809,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_STATES_FIELD_NUMBER = 2; - private static final class ClusterStatesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - internalGetClusterStates() { + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; + private com.google.protobuf.MapField + internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterStatesDefaultEntryHolder.defaultEntry); } return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2152,27 +1843,23 @@ public int getClusterStatesCount() {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().getMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2181,18 +1868,13 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2201,25 +1883,20 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2228,16 +1905,12 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); if (!map.containsKey(key)) { @@ -2247,40 +1920,32 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3; - private static final class ColumnFamiliesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; private com.google.protobuf.MapField - columnFamilies_; - - private com.google.protobuf.MapField - internalGetColumnFamilies() { + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2289,22 +1954,20 @@ public int getColumnFamiliesCount() {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public boolean containsColumnFamilies(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsColumnFamilies(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetColumnFamilies().getMap().containsKey(key);
   }
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getColumnFamilies() {
+  public java.util.Map getColumnFamilies() {
     return getColumnFamiliesMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2313,13 +1976,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public java.util.Map
-      getColumnFamiliesMap() {
+  public java.util.Map getColumnFamiliesMap() {
     return internalGetColumnFamilies().getMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2328,20 +1988,17 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+  public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2350,10 +2007,9 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     if (!map.containsKey(key)) {
@@ -2365,8 +2021,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_ = 0;
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -2374,19 +2028,13 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -2394,35 +2042,23 @@ public int getGranularityValue() {
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } public static final int RESTORE_INFO_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -2430,49 +2066,34 @@ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } public static final int CHANGE_STREAM_CONFIG_FIELD_NUMBER = 8; private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2480,7 +2101,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ @java.lang.Override @@ -2488,8 +2108,6 @@ public boolean hasChangeStreamConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2497,18 +2115,13 @@ public boolean hasChangeStreamConfig() {
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2519,16 +2132,12 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
-    return changeStreamConfig_ == null
-        ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-        : changeStreamConfig_;
+    return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
   }
 
   public static final int DELETION_PROTECTION_FIELD_NUMBER = 9;
   private boolean deletionProtection_ = false;
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -2541,7 +2150,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -2550,7 +2158,6 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2562,17 +2169,24 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetClusterStates(), ClusterStatesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetColumnFamilies(), ColumnFamiliesDefaultEntryHolder.defaultEntry, 3); - if (granularity_ - != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetClusterStates(), + ClusterStatesDefaultEntryHolder.defaultEntry, + 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetColumnFamilies(), + ColumnFamiliesDefaultEntryHolder.defaultEntry, + 3); + if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(4, granularity_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -2596,42 +2210,41 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry - entry : internalGetClusterStates().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates__ = - ClusterStatesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, clusterStates__); - } - for (java.util.Map.Entry entry : - internalGetColumnFamilies().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusterStates().getMap().entrySet()) { + com.google.protobuf.MapEntry + clusterStates__ = ClusterStatesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, clusterStates__); + } + for (java.util.Map.Entry entry + : internalGetColumnFamilies().getMap().entrySet()) { com.google.protobuf.MapEntry - columnFamilies__ = - ColumnFamiliesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columnFamilies__); - } - if (granularity_ - != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, granularity_); + columnFamilies__ = ColumnFamiliesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, columnFamilies__); + } + if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, granularity_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRestoreInfo()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getChangeStreamConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getChangeStreamConfig()); } if (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2641,26 +2254,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; - if (!getName().equals(other.getName())) return false; - if (!internalGetClusterStates().equals(other.internalGetClusterStates())) return false; - if (!internalGetColumnFamilies().equals(other.internalGetColumnFamilies())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!internalGetClusterStates().equals( + other.internalGetClusterStates())) return false; + if (!internalGetColumnFamilies().equals( + other.internalGetColumnFamilies())) return false; if (granularity_ != other.granularity_) return false; if (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo() + .equals(other.getRestoreInfo())) return false; } if (hasChangeStreamConfig() != other.hasChangeStreamConfig()) return false; if (hasChangeStreamConfig()) { - if (!getChangeStreamConfig().equals(other.getChangeStreamConfig())) return false; + if (!getChangeStreamConfig() + .equals(other.getChangeStreamConfig())) return false; } - if (getDeletionProtection() != other.getDeletionProtection()) return false; + if (getDeletionProtection() + != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2693,109 +2312,106 @@ public int hashCode() { hash = (53 * hash) + getChangeStreamConfig().hashCode(); } hash = (37 * hash) + DELETION_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletionProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletionProtection()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Table parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Table parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Table parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of user data indexed by row, column, and timestamp.
    * Each table is served using the resources of its parent cluster.
@@ -2803,13 +2419,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Table}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Table)
       com.google.bigtable.admin.v2.TableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -2821,10 +2437,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 3:
           return internalGetColumnFamilies();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -2834,18 +2450,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 3:
           return internalGetMutableColumnFamilies();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Table.class,
-              com.google.bigtable.admin.v2.Table.Builder.class);
+              com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Table.newBuilder()
@@ -2853,18 +2467,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getRestoreInfoFieldBuilder();
         getChangeStreamConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2888,9 +2502,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
     }
 
     @java.lang.Override
@@ -2910,9 +2524,7 @@ public com.google.bigtable.admin.v2.Table build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Table buildPartial() {
       com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2923,27 +2535,25 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.clusterStates_ =
-            internalGetClusterStates().build(ClusterStatesDefaultEntryHolder.defaultEntry);
+        result.clusterStates_ = internalGetClusterStates().build(ClusterStatesDefaultEntryHolder.defaultEntry);
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.columnFamilies_ =
-            internalGetColumnFamilies().build(ColumnFamiliesDefaultEntryHolder.defaultEntry);
+        result.columnFamilies_ = internalGetColumnFamilies().build(ColumnFamiliesDefaultEntryHolder.defaultEntry);
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.granularity_ = granularity_;
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.restoreInfo_ =
-            restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build();
+        result.restoreInfo_ = restoreInfoBuilder_ == null
+            ? restoreInfo_
+            : restoreInfoBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.changeStreamConfig_ =
-            changeStreamConfigBuilder_ == null
-                ? changeStreamConfig_
-                : changeStreamConfigBuilder_.build();
+        result.changeStreamConfig_ = changeStreamConfigBuilder_ == null
+            ? changeStreamConfig_
+            : changeStreamConfigBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -2956,39 +2566,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Table) {
-        return mergeFrom((com.google.bigtable.admin.v2.Table) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Table)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3002,9 +2611,11 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
+      internalGetMutableClusterStates().mergeFrom(
+          other.internalGetClusterStates());
       bitField0_ |= 0x00000002;
-      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
+      internalGetMutableColumnFamilies().mergeFrom(
+          other.internalGetColumnFamilies());
       bitField0_ |= 0x00000004;
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
@@ -3044,72 +2655,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState>
-                    clusterStates__ =
-                        input.readMessage(
-                            ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableClusterStates()
-                    .ensureBuilderMap()
-                    .put(clusterStates__.getKey(), clusterStates__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.ColumnFamily>
-                    columnFamilies__ =
-                        input.readMessage(
-                            ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableColumnFamilies()
-                    .ensureBuilderMap()
-                    .put(columnFamilies__.getKey(), columnFamilies__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                granularity_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 50:
-              {
-                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            case 66:
-              {
-                input.readMessage(
-                    getChangeStreamConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            case 72:
-              {
-                deletionProtection_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              clusterStates__ = input.readMessage(
+                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableClusterStates().ensureBuilderMap().put(
+                  clusterStates__.getKey(), clusterStates__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              columnFamilies__ = input.readMessage(
+                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableColumnFamilies().ensureBuilderMap().put(
+                  columnFamilies__.getKey(), columnFamilies__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              granularity_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 50: {
+              input.readMessage(
+                  getRestoreInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            case 66: {
+              input.readMessage(
+                  getChangeStreamConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            case 72: {
+              deletionProtection_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 72
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3119,13 +2717,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3133,13 +2728,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3148,8 +2743,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3157,14 +2750,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3172,8 +2766,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3181,22 +2773,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3204,7 +2792,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3214,8 +2801,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3223,14 +2808,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3238,55 +2821,30 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private static final class ClusterStatesConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder, - com.google.bigtable.admin.v2.Table.ClusterState> { + private static final class ClusterStatesConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState build( - com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder val) { - if (val instanceof com.google.bigtable.admin.v2.Table.ClusterState) { - return (com.google.bigtable.admin.v2.Table.ClusterState) val; - } + public com.google.bigtable.admin.v2.Table.ClusterState build(com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder val) { + if (val instanceof com.google.bigtable.admin.v2.Table.ClusterState) { return (com.google.bigtable.admin.v2.Table.ClusterState) val; } return ((com.google.bigtable.admin.v2.Table.ClusterState.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - defaultEntry() { + public com.google.protobuf.MapEntry defaultEntry() { return ClusterStatesDefaultEntryHolder.defaultEntry; } }; - - private static final ClusterStatesConverter clusterStatesConverter = - new ClusterStatesConverter(); - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder, - com.google.bigtable.admin.v2.Table.ClusterState, - com.google.bigtable.admin.v2.Table.ClusterState.Builder> - clusterStates_; + private static final ClusterStatesConverter clusterStatesConverter = new ClusterStatesConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder, - com.google.bigtable.admin.v2.Table.ClusterState, - com.google.bigtable.admin.v2.Table.ClusterState.Builder> + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder, com.google.bigtable.admin.v2.Table.ClusterState, com.google.bigtable.admin.v2.Table.ClusterState.Builder> clusterStates_; + private com.google.protobuf.MapFieldBuilder internalGetClusterStates() { if (clusterStates_ == null) { return new com.google.protobuf.MapFieldBuilder<>(clusterStatesConverter); } return clusterStates_; } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder, - com.google.bigtable.admin.v2.Table.ClusterState, - com.google.bigtable.admin.v2.Table.ClusterState.Builder> + private com.google.protobuf.MapFieldBuilder internalGetMutableClusterStates() { if (clusterStates_ == null) { clusterStates_ = new com.google.protobuf.MapFieldBuilder<>(clusterStatesConverter); @@ -3295,13 +2853,10 @@ public com.google.bigtable.admin.v2.Table.ClusterState build( onChanged(); return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().ensureBuilderMap().size(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3310,27 +2865,23 @@ public int getClusterStatesCount() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().ensureBuilderMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3339,18 +2890,13 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getImmutableMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3359,25 +2905,19 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetMutableClusterStates().ensureBuilderMap(); +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableClusterStates().ensureBuilderMap(); return map.containsKey(key) ? clusterStatesConverter.build(map.get(key)) : defaultValue; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3386,32 +2926,24 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetMutableClusterStates().ensureBuilderMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = internalGetMutableClusterStates().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return clusterStatesConverter.build(map.get(key)); } - public Builder clearClusterStates() { bitField0_ = (bitField0_ & ~0x00000002); internalGetMutableClusterStates().clear(); return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3420,18 +2952,18 @@ public Builder clearClusterStates() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusterStates().ensureBuilderMap().remove(key); + public Builder removeClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusterStates().ensureBuilderMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusterStates() { @@ -3439,8 +2971,6 @@ public Builder removeClusterStates(java.lang.String key) { return internalGetMutableClusterStates().ensureMessageMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3449,25 +2979,19 @@ public Builder removeClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putClusterStates( - java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusterStates().ensureBuilderMap().put(key, value); + java.lang.String key, + com.google.bigtable.admin.v2.Table.ClusterState value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusterStates().ensureBuilderMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3476,25 +3000,21 @@ public Builder putClusterStates(
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putAllClusterStates( java.util.Map values) { - for (java.util.Map.Entry - e : values.entrySet()) { + for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } - internalGetMutableClusterStates().ensureBuilderMap().putAll(values); + internalGetMutableClusterStates().ensureBuilderMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3503,14 +3023,11 @@ public Builder putAllClusterStates(
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.Table.ClusterState.Builder putClusterStatesBuilderIfAbsent( java.lang.String key) { - java.util.Map - builderMap = internalGetMutableClusterStates().ensureBuilderMap(); + java.util.Map builderMap = internalGetMutableClusterStates().ensureBuilderMap(); com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder entry = builderMap.get(key); if (entry == null) { entry = com.google.bigtable.admin.v2.Table.ClusterState.newBuilder(); @@ -3523,55 +3040,30 @@ public com.google.bigtable.admin.v2.Table.ClusterState.Builder putClusterStatesB return (com.google.bigtable.admin.v2.Table.ClusterState.Builder) entry; } - private static final class ColumnFamiliesConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder, - com.google.bigtable.admin.v2.ColumnFamily> { + private static final class ColumnFamiliesConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override - public com.google.bigtable.admin.v2.ColumnFamily build( - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder val) { - if (val instanceof com.google.bigtable.admin.v2.ColumnFamily) { - return (com.google.bigtable.admin.v2.ColumnFamily) val; - } + public com.google.bigtable.admin.v2.ColumnFamily build(com.google.bigtable.admin.v2.ColumnFamilyOrBuilder val) { + if (val instanceof com.google.bigtable.admin.v2.ColumnFamily) { return (com.google.bigtable.admin.v2.ColumnFamily) val; } return ((com.google.bigtable.admin.v2.ColumnFamily.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - defaultEntry() { + public com.google.protobuf.MapEntry defaultEntry() { return ColumnFamiliesDefaultEntryHolder.defaultEntry; } }; - - private static final ColumnFamiliesConverter columnFamiliesConverter = - new ColumnFamiliesConverter(); + private static final ColumnFamiliesConverter columnFamiliesConverter = new ColumnFamiliesConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder, - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder> - columnFamilies_; - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder, - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder> + java.lang.String, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder, com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder> columnFamilies_; + private com.google.protobuf.MapFieldBuilder internalGetColumnFamilies() { if (columnFamilies_ == null) { return new com.google.protobuf.MapFieldBuilder<>(columnFamiliesConverter); } return columnFamilies_; } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder, - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder> + private com.google.protobuf.MapFieldBuilder internalGetMutableColumnFamilies() { if (columnFamilies_ == null) { columnFamilies_ = new com.google.protobuf.MapFieldBuilder<>(columnFamiliesConverter); @@ -3580,13 +3072,10 @@ public com.google.bigtable.admin.v2.ColumnFamily build( onChanged(); return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().ensureBuilderMap().size(); } /** - * - * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3595,22 +3084,20 @@ public int getColumnFamiliesCount() {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public boolean containsColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetColumnFamilies().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getColumnFamiliesMap()} instead. */
+    /**
+     * Use {@link #getColumnFamiliesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getColumnFamilies() {
+    public java.util.Map getColumnFamilies() {
       return getColumnFamiliesMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3619,13 +3106,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public java.util.Map
-        getColumnFamiliesMap() {
+    public java.util.Map getColumnFamiliesMap() {
       return internalGetColumnFamilies().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3634,20 +3118,16 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+    public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableColumnFamilies().ensureBuilderMap();
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableColumnFamilies().ensureBuilderMap();
       return map.containsKey(key) ? columnFamiliesConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3658,25 +3138,19 @@ public boolean containsColumnFamilies(java.lang.String key) {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableColumnFamilies().ensureBuilderMap();
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableColumnFamilies().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return columnFamiliesConverter.build(map.get(key));
     }
-
     public Builder clearColumnFamilies() {
       bitField0_ = (bitField0_ & ~0x00000004);
       internalGetMutableColumnFamilies().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3684,14 +3158,16 @@ public Builder clearColumnFamilies() {
      *
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
-    public Builder removeColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableColumnFamilies().ensureBuilderMap().remove(key);
+    public Builder removeColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableColumnFamilies().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableColumnFamilies() {
@@ -3699,8 +3175,6 @@ public Builder removeColumnFamilies(java.lang.String key) {
       return internalGetMutableColumnFamilies().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3709,20 +3183,16 @@ public Builder removeColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     public Builder putColumnFamilies(
-        java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableColumnFamilies().ensureBuilderMap().put(key, value);
+        java.lang.String key,
+        com.google.bigtable.admin.v2.ColumnFamily value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableColumnFamilies().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3732,19 +3202,17 @@ public Builder putColumnFamilies(
      */
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableColumnFamilies().ensureBuilderMap().putAll(values);
+      internalGetMutableColumnFamilies().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3754,8 +3222,7 @@ public Builder putAllColumnFamilies(
      */
     public com.google.bigtable.admin.v2.ColumnFamily.Builder putColumnFamiliesBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map
-          builderMap = internalGetMutableColumnFamilies().ensureBuilderMap();
+      java.util.Map builderMap = internalGetMutableColumnFamilies().ensureBuilderMap();
       com.google.bigtable.admin.v2.ColumnFamilyOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.bigtable.admin.v2.ColumnFamily.newBuilder();
@@ -3770,8 +3237,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder putColumnFamiliesBuilde
 
     private int granularity_ = 0;
     /**
-     *
-     *
      * 
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3779,19 +3244,13 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder putColumnFamiliesBuilde
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3799,10 +3258,7 @@ public int getGranularityValue() {
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for granularity to set. * @return This builder for chaining. */ @@ -3813,8 +3269,6 @@ public Builder setGranularityValue(int value) { return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3822,23 +3276,15 @@ public Builder setGranularityValue(int value) {
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3846,10 +3292,7 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity()
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The granularity to set. * @return This builder for chaining. */ @@ -3863,8 +3306,6 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3872,10 +3313,7 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearGranularity() { @@ -3887,61 +3325,42 @@ public Builder clearGranularity() { private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> - restoreInfoBuilder_; + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> restoreInfoBuilder_; /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -3957,16 +3376,12 @@ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo( com.google.bigtable.admin.v2.RestoreInfo.Builder builderForValue) { @@ -3980,22 +3395,18 @@ public Builder setRestoreInfo( return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && restoreInfo_ != null - && restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + restoreInfo_ != null && + restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -4010,16 +3421,12 @@ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000010); @@ -4032,16 +3439,12 @@ public Builder clearRestoreInfo() { return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000010; @@ -4049,50 +3452,38 @@ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() return getRestoreInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? + com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( - getRestoreInfo(), getParentForChildren(), isClean()); + restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( + getRestoreInfo(), + getParentForChildren(), + isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -4100,13 +3491,8 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ChangeStreamConfig, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, - com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> - changeStreamConfigBuilder_; + com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> changeStreamConfigBuilder_; /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4114,15 +3500,12 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ public boolean hasChangeStreamConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4130,21 +3513,16 @@ public boolean hasChangeStreamConfig() {
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { if (changeStreamConfigBuilder_ == null) { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } else { return changeStreamConfigBuilder_.getMessage(); } } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4167,8 +3545,6 @@ public Builder setChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamCo
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4189,8 +3565,6 @@ public Builder setChangeStreamConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4201,10 +3575,9 @@ public Builder setChangeStreamConfig(
      */
     public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamConfig value) {
       if (changeStreamConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && changeStreamConfig_ != null
-            && changeStreamConfig_
-                != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          changeStreamConfig_ != null &&
+          changeStreamConfig_ != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
           getChangeStreamConfigBuilder().mergeFrom(value);
         } else {
           changeStreamConfig_ = value;
@@ -4219,8 +3592,6 @@ public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStream
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4240,8 +3611,6 @@ public Builder clearChangeStreamConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4256,8 +3625,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
       return getChangeStreamConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4266,19 +3633,15 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      *
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
-    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder
-        getChangeStreamConfigOrBuilder() {
+    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
       if (changeStreamConfigBuilder_ != null) {
         return changeStreamConfigBuilder_.getMessageOrBuilder();
       } else {
-        return changeStreamConfig_ == null
-            ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-            : changeStreamConfig_;
+        return changeStreamConfig_ == null ?
+            com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4288,26 +3651,21 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.ChangeStreamConfig,
-            com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-            com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>
+        com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> 
         getChangeStreamConfigFieldBuilder() {
       if (changeStreamConfigBuilder_ == null) {
-        changeStreamConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.ChangeStreamConfig,
-                com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-                com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
-                getChangeStreamConfig(), getParentForChildren(), isClean());
+        changeStreamConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
+                getChangeStreamConfig(),
+                getParentForChildren(),
+                isClean());
         changeStreamConfig_ = null;
       }
       return changeStreamConfigBuilder_;
     }
 
-    private boolean deletionProtection_;
+    private boolean deletionProtection_ ;
     /**
-     *
-     *
      * 
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4320,7 +3678,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -4328,8 +3685,6 @@ public boolean getDeletionProtection() { return deletionProtection_; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4342,7 +3697,6 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; - * * @param value The deletionProtection to set. * @return This builder for chaining. */ @@ -4354,8 +3708,6 @@ public Builder setDeletionProtection(boolean value) { return this; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4368,7 +3720,6 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; - * * @return This builder for chaining. */ public Builder clearDeletionProtection() { @@ -4377,9 +3728,9 @@ public Builder clearDeletionProtection() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4389,12 +3740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Table) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Table) private static final com.google.bigtable.admin.v2.Table DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Table(); } @@ -4403,27 +3754,27 @@ public static com.google.bigtable.admin.v2.Table getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Table parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Table parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -4438,4 +3789,6 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.bigtable.admin.v2.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java similarity index 99% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java index 0167ebfba8..25337b915d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java index 16d2de6c5d..d41b9490f1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface TableOrBuilder - extends +public interface TableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Table) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -34,13 +16,10 @@ public interface TableOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -48,14 +27,12 @@ public interface TableOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -64,14 +41,10 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getClusterStatesCount(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -80,18 +53,17 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsClusterStates( + java.lang.String key); + /** + * Use {@link #getClusterStatesMap()} instead. */ - boolean containsClusterStates(java.lang.String key); - /** Use {@link #getClusterStatesMap()} instead. */ @java.lang.Deprecated java.util.Map - getClusterStates(); + getClusterStates(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -100,15 +72,11 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getClusterStatesMap(); + getClusterStatesMap(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -117,18 +85,14 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue); +com.google.bigtable.admin.v2.Table.ClusterState defaultValue); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -137,15 +101,12 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( + java.lang.String key); /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -155,8 +116,6 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    */
   int getColumnFamiliesCount();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -164,13 +123,15 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  boolean containsColumnFamilies(java.lang.String key);
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  boolean containsColumnFamilies(
+      java.lang.String key);
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getColumnFamilies();
+  java.util.Map
+  getColumnFamilies();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -178,10 +139,9 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  java.util.Map getColumnFamiliesMap();
+  java.util.Map
+  getColumnFamiliesMap();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -190,13 +150,11 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   /* nullable */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue);
+com.google.bigtable.admin.v2.ColumnFamily defaultValue);
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -204,11 +162,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key);
+  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -216,16 +173,11 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ int getGranularityValue(); /** - * - * *
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -233,61 +185,42 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ boolean hasRestoreInfo(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -295,13 +228,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ boolean hasChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -309,13 +239,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -327,8 +254,6 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
   com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -341,7 +266,6 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ boolean getDeletionProtection(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java new file mode 100644 index 0000000000..96337027c3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -0,0 +1,312 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/table.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public final class TableProto { + private TableProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Snapshot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/bigtable/admin/v2/table.proto\022\030" + + "google.bigtable.admin.v2\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\036google/protobuf/duration.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\027google/rp" + + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" + + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" + + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." + + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" + + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" + + "tention_period\030\001 \001(\0132\031.google.protobuf.D" + + "uration\"\332\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016clust" + + "er_states\030\002 \003(\01322.google.bigtable.admin." + + "v2.Table.ClusterStatesEntryB\003\340A\003\022L\n\017colu" + + "mn_families\030\003 \003(\01323.google.bigtable.admi" + + "n.v2.Table.ColumnFamiliesEntry\022N\n\013granul" + + "arity\030\004 \001(\01624.google.bigtable.admin.v2.T" + + "able.TimestampGranularityB\003\340A\005\022@\n\014restor" + + "e_info\030\006 \001(\0132%.google.bigtable.admin.v2." + + "RestoreInfoB\003\340A\003\022J\n\024change_stream_config" + + "\030\010 \001(\0132,.google.bigtable.admin.v2.Change" + + "StreamConfig\022\033\n\023deletion_protection\030\t \001(" + + "\010\032\306\002\n\014ClusterState\022]\n\021replication_state\030" + + "\001 \001(\0162=.google.bigtable.admin.v2.Table.C" + + "lusterState.ReplicationStateB\003\340A\003\022F\n\017enc" + + "ryption_info\030\002 \003(\0132(.google.bigtable.adm" + + "in.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020Replicatio" + + "nState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INITIALIZ" + + "ING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025UNPLAN" + + "NED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020READY_OP" + + "TIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n\003key\030" + + "\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigtable.a" + + "dmin.v2.Table.ClusterState:\0028\001\032]\n\023Column" + + "FamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(" + + "\0132&.google.bigtable.admin.v2.ColumnFamil" + + "y:\0028\001\"I\n\024TimestampGranularity\022%\n!TIMESTA" + + "MP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MILLIS\020\001" + + "\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tNAME_O" + + "NLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATION_VI" + + "EW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004:_\352A\\" + + "\n\"bigtableadmin.googleapis.com/Table\0226pr" + + "ojects/{project}/instances/{instance}/ta" + + "bles/{table}\"A\n\014ColumnFamily\0221\n\007gc_rule\030" + + "\001 \001(\0132 .google.bigtable.admin.v2.GcRule\"" + + "\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022," + + "\n\007max_age\030\002 \001(\0132\031.google.protobuf.Durati" + + "onH\000\022E\n\014intersection\030\003 \001(\0132-.google.bigt" + + "able.admin.v2.GcRule.IntersectionH\000\0227\n\005u" + + "nion\030\004 \001(\0132&.google.bigtable.admin.v2.Gc" + + "Rule.UnionH\000\032?\n\014Intersection\022/\n\005rules\030\001 " + + "\003(\0132 .google.bigtable.admin.v2.GcRule\0328\n" + + "\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigtable." + + "admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016EncryptionIn" + + "fo\022U\n\017encryption_type\030\003 \001(\01627.google.big" + + "table.admin.v2.EncryptionInfo.Encryption" + + "TypeB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.g" + + "oogle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version" + + "\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/" + + "CryptoKeyVersion\"q\n\016EncryptionType\022\037\n\033EN" + + "CRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" + + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" + + "NCRYPTION\020\002\"\340\003\n\010Snapshot\022\014\n\004name\030\001 \001(\t\022:" + + "\n\014source_table\030\002 \001(\0132\037.google.bigtable.a" + + "dmin.v2.TableB\003\340A\003\022\034\n\017data_size_bytes\030\003 " + + "\001(\003B\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022/\n\013delete_time\030\005 " + + "\001(\0132\032.google.protobuf.Timestamp\022<\n\005state" + + "\030\006 \001(\0162(.google.bigtable.admin.v2.Snapsh" + + "ot.StateB\003\340A\003\022\023\n\013description\030\007 \001(\t\"5\n\005St" + + "ate\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010C" + + "REATING\020\002:{\352Ax\n%bigtableadmin.googleapis" + + ".com/Snapshot\022Oprojects/{project}/instan" + + "ces/{instance}/clusters/{cluster}/snapsh" + + "ots/{snapshot}\"\273\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022" + + "\034\n\014source_table\030\002 \001(\tB\006\340A\005\340A\002\022\032\n\rsource_" + + "backup\030\n \001(\tB\003\340A\003\0224\n\013expire_time\030\003 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\002\0223\n\nstart" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A\003" + + "\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin." + + "v2.Backup.StateB\003\340A\003\022F\n\017encryption_info\030" + + "\t \001(\0132(.google.bigtable.admin.v2.Encrypt" + + "ionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#bigt" + + "ableadmin.googleapis.com/Backup\022Kproject" + + "s/{project}/instances/{instance}/cluster" + + "s/{cluster}/backups/{backup}\"\300\001\n\nBackupI" + + "nfo\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030\002" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003\022\032\n\rs" + + "ource_backup\030\n \001(\tB\003\340A\003*D\n\021RestoreSource" + + "Type\022#\n\037RESTORE_SOURCE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.google.bigtable.ad" + + "min.v2B\nTableProtoP\001Z=google.golang.org/" + + "genproto/googleapis/bigtable/admin/v2;ad" + + "min\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036G" + + "oogle\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google::" + + "Cloud::Bigtable::Admin::V2\352A\246\001\n(cloudkms" + + ".googleapis.com/CryptoKeyVersion\022zprojec" + + "ts/{project}/locations/{location}/keyRin" + + "gs/{key_ring}/cryptoKeys/{crypto_key}/cr" + + "yptoKeyVersions/{crypto_key_version}b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, + new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_bigtable_admin_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_descriptor, + new java.lang.String[] { "Name", "ClusterStates", "ColumnFamilies", "Granularity", "RestoreInfo", "ChangeStreamConfig", "DeletionProtection", }); + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, + new java.lang.String[] { "ReplicationState", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, + new java.lang.String[] { "GcRule", }); + internal_static_google_bigtable_admin_v2_GcRule_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_descriptor, + new java.lang.String[] { "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", }); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); + internal_static_google_bigtable_admin_v2_Snapshot_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Snapshot_descriptor, + new java.lang.String[] { "Name", "SourceTable", "DataSizeBytes", "CreateTime", "DeleteTime", "State", "Description", }); + internal_static_google_bigtable_admin_v2_Backup_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Backup_descriptor, + new java.lang.String[] { "Name", "SourceTable", "SourceBackup", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, + new java.lang.String[] { "Backup", "StartTime", "EndTime", "SourceTable", "SourceBackup", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + 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.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java index 2e3a54c276..8d7eba1f46 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
  */
-public final class UndeleteTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
     UndeleteTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableMetadata.newBuilder() to construct.
   private UndeleteTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -134,14 +108,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -149,8 +120,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -165,14 +134,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -180,14 +146,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -195,8 +158,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -209,7 +170,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -244,10 +205,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -257,22 +220,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableMetadata other = - (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; + com.google.bigtable.admin.v2.UndeleteTableMetadata other = (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,103 +266,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -405,23 +365,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
       com.google.bigtable.admin.v2.UndeleteTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableMetadata.newBuilder()
@@ -429,18 +387,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -460,9 +418,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -481,11 +439,8 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableMetadata result =
-          new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result = new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -497,11 +452,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -511,39 +470,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -590,31 +547,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -624,25 +581,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -651,21 +605,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -673,35 +626,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -711,21 +657,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -735,33 +677,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -772,8 +705,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -794,15 +725,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -813,8 +743,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -823,9 +751,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -840,8 +768,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -859,8 +785,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -873,8 +797,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -885,12 +807,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -898,17 +819,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -916,33 +834,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -953,8 +862,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -975,15 +882,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -994,8 +900,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1004,9 +908,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1021,8 +925,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1040,8 +942,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1054,8 +954,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1066,12 +964,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1079,24 +976,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableMetadata) private static final com.google.bigtable.admin.v2.UndeleteTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableMetadata(); } @@ -1120,27 +1014,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java index af30599369..f9c7cf76bd 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UndeleteTableMetadataOrBuilder - extends +public interface UndeleteTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -85,32 +56,24 @@ public interface UndeleteTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java index 93a8ec1070..1eb7902901 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
  */
-public final class UndeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableRequest)
     UndeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableRequest.newBuilder() to construct.
   private UndeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-            com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableRequest other = - (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; + com.google.bigtable.admin.v2.UndeleteTableRequest other = (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,103 +161,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -292,32 +260,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableRequest)
       com.google.bigtable.admin.v2.UndeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-              com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +296,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,11 +317,8 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableRequest result =
-          new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableRequest result = new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -368,39 +334,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -441,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,29 +425,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,25 +451,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,43 +474,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -566,34 +509,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableRequest) private static final com.google.bigtable.admin.v2.UndeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableRequest(); } @@ -617,27 +554,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..90fa267429 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface UndeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @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/UpdateAppProfileMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java similarity index 63% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java index e3b2751a4b..3d3193502a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,49 +5,45 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ -public final class UpdateAppProfileMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) UpdateAppProfileMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileMetadata.newBuilder() to construct. private UpdateAppProfileMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileMetadata() {} + private UpdateAppProfileMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,7 +55,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -92,13 +74,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = - (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; + com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -117,136 +98,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) com.google.bigtable.admin.v2.UpdateAppProfileMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -254,9 +230,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override @@ -275,8 +251,7 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = - new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); onBuilt(); return result; } @@ -285,39 +260,38 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata)other); } else { super.mergeFrom(other); return this; @@ -325,8 +299,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -353,13 +326,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -369,9 +341,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -381,12 +353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) private static final com.google.bigtable.admin.v2.UpdateAppProfileMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(); } @@ -395,27 +367,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -430,4 +402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java new file mode 100644 index 0000000000..57f492abcd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java @@ -0,0 +1,10 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.admin.v2; + +public interface UpdateAppProfileMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index e0aba3a43f..2aca47ea04 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,61 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ -public final class UpdateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) UpdateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileRequest.newBuilder() to construct. private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileRequest() {} + private UpdateAppProfileRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } private int bitField0_; public static final int APP_PROFILE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -82,55 +59,38 @@ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -138,16 +98,12 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -155,15 +111,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -173,14 +126,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -189,7 +139,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getAppProfile()); } @@ -221,13 +171,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAppProfile()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,23 +190,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileRequest other = - (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; + com.google.bigtable.admin.v2.UpdateAppProfileRequest other = (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -274,133 +229,127 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) com.google.bigtable.admin.v2.UpdateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileRequest.newBuilder() @@ -408,18 +357,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAppProfileFieldBuilder(); getUpdateMaskFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override @@ -460,11 +409,8 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileRequest result = - new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -473,11 +419,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -490,39 +440,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -530,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) return this; if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } @@ -567,31 +515,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,63 +549,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -673,17 +601,14 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -694,21 +619,17 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -723,15 +644,11 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000001); @@ -744,15 +661,11 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000001; @@ -760,48 +673,36 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; @@ -809,58 +710,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -876,17 +761,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -897,21 +780,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -926,15 +806,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -947,15 +824,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -963,63 +837,50 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1027,14 +888,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1046,14 +904,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1062,9 +917,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,12 +929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) private static final com.google.bigtable.admin.v2.UpdateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(); } @@ -1088,27 +943,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,4 +978,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java index 66ef84c7a4..fcb50b9f8b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java @@ -1,120 +1,76 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateAppProfileRequestOrBuilder - extends +public interface UpdateAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ boolean hasAppProfile(); /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ com.google.bigtable.admin.v2.AppProfile getAppProfile(); /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * 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/UpdateBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java index 6e61ba1b56..1e2c8442de 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
@@ -29,45 +12,42 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateBackupRequest}
  */
-public final class UpdateBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateBackupRequest)
     UpdateBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateBackupRequest.newBuilder() to construct.
   private UpdateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateBackupRequest() {}
+  private UpdateBackupRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateBackupRequest.class,
-            com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.UpdateBackupRequest.class, com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int BACKUP_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.Backup backup_;
   /**
-   *
-   *
    * 
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -76,9 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -86,8 +64,6 @@ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -96,9 +72,7 @@ public boolean hasBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -106,8 +80,6 @@ public com.google.bigtable.admin.v2.Backup getBackup() { return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -116,8 +88,7 @@ public com.google.bigtable.admin.v2.Backup getBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { @@ -127,8 +98,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -137,9 +106,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -147,8 +114,6 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -157,9 +122,7 @@ public boolean hasUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -167,8 +130,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -177,8 +138,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -186,7 +146,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBackup()); } @@ -215,10 +175,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBackup()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -228,21 +190,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateBackupRequest other = - (com.google.bigtable.admin.v2.UpdateBackupRequest) obj; + com.google.bigtable.admin.v2.UpdateBackupRequest other = (com.google.bigtable.admin.v2.UpdateBackupRequest) obj; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -268,104 +231,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
@@ -373,23 +331,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateBackupRequest)
       com.google.bigtable.admin.v2.UpdateBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateBackupRequest.class,
-              com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.UpdateBackupRequest.class, com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateBackupRequest.newBuilder()
@@ -397,18 +353,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBackupFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +383,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -448,11 +404,8 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateBackupRequest result =
-          new com.google.bigtable.admin.v2.UpdateBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateBackupRequest result = new com.google.bigtable.admin.v2.UpdateBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -461,11 +414,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest resu
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build();
+        result.backup_ = backupBuilder_ == null
+            ? backup_
+            : backupBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -475,39 +432,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -515,8 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance()) return this;
       if (other.hasBackup()) {
         mergeBackup(other.getBackup());
       }
@@ -549,25 +504,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -577,18 +533,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Backup backup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.Backup,
-            com.google.bigtable.admin.v2.Backup.Builder,
-            com.google.bigtable.admin.v2.BackupOrBuilder>
-        backupBuilder_;
+        com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_;
     /**
-     *
-     *
      * 
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -597,17 +547,13 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -616,9 +562,7 @@ public boolean hasBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -629,8 +573,6 @@ public com.google.bigtable.admin.v2.Backup getBackup() { } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -639,8 +581,7 @@ public com.google.bigtable.admin.v2.Backup getBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { @@ -656,8 +597,6 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -666,10 +605,10 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -680,8 +619,6 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -690,14 +627,13 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -712,8 +648,6 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -722,8 +656,7 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -736,8 +669,6 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -746,8 +677,7 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -755,8 +685,6 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -765,19 +693,17 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -786,21 +712,17 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -808,13 +730,8 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -823,17 +740,13 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -842,23 +755,17 @@ public boolean hasUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -867,8 +774,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -884,8 +790,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -894,10 +798,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -908,8 +812,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -918,14 +820,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -940,8 +841,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -950,8 +849,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -964,8 +862,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -974,8 +870,7 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -983,8 +878,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -993,21 +886,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -1016,28 +905,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1047,12 +932,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateBackupRequest) private static final com.google.bigtable.admin.v2.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateBackupRequest(); } @@ -1061,27 +946,27 @@ public static com.google.bigtable.admin.v2.UpdateBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1096,4 +981,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java index 16a9fae59d..6e5519b533 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -35,15 +17,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -52,15 +30,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.bigtable.admin.v2.Backup getBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -69,14 +43,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -85,15 +56,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -102,15 +69,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -119,8 +82,7 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java index e1cbf2f5a9..f25b5b9b9a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,59 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ -public final class UpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateClusterMetadata) UpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterMetadata.newBuilder() to construct. private UpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateClusterMetadata() {} + private UpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } private int bitField0_; public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
@@ -107,22 +79,17 @@ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -130,14 +97,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -145,8 +109,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -161,14 +123,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -176,14 +135,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -191,8 +147,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -205,7 +159,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -237,13 +191,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -253,25 +210,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateClusterMetadata other = - (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.UpdateClusterMetadata other = (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -302,126 +261,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateClusterMetadata) com.google.bigtable.admin.v2.UpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateClusterMetadata.newBuilder() @@ -429,19 +381,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOriginalRequestFieldBuilder(); getRequestTimeFieldBuilder(); getFinishTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override @@ -486,11 +438,8 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateClusterMetadata result = - new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateClusterMetadata result = new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -499,17 +448,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata re int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -519,39 +472,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -559,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -596,31 +547,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,52 +583,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -696,8 +635,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -716,8 +653,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -726,9 +661,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -743,8 +678,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -762,8 +695,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -776,8 +707,6 @@ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -788,14 +717,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -803,17 +729,14 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder * .google.bigtable.admin.v2.Cluster original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -821,47 +744,34 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -882,15 +792,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -901,8 +810,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -911,9 +818,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -928,8 +835,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -947,8 +852,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -961,8 +864,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -973,14 +874,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -988,17 +886,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1006,47 +901,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1067,15 +949,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1086,8 +967,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1096,9 +975,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1113,8 +992,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1132,8 +1009,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1146,8 +1021,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1158,14 +1031,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1173,24 +1043,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1200,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateClusterMetadata) private static final com.google.bigtable.admin.v2.UpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateClusterMetadata(); } @@ -1214,27 +1081,27 @@ public static com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java index 8d8db8f23a..6b1fb83996 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateClusterMetadataOrBuilder - extends +public interface UpdateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.Cluster getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
@@ -60,32 +36,24 @@ public interface UpdateClusterMetadataOrBuilder com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -95,32 +63,24 @@ public interface UpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java index 80ddba297b..77a64721f2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -20,59 +5,53 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ -public final class UpdateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) UpdateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateInstanceMetadata.newBuilder() to construct. private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateInstanceMetadata() {} + private UpdateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } private int bitField0_; public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
@@ -106,24 +78,18 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequ * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -131,14 +97,11 @@ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -146,8 +109,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -162,14 +123,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -177,14 +135,11 @@ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -192,8 +147,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -206,7 +159,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalRequest()); } @@ -238,13 +191,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,25 +210,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateInstanceMetadata other = - (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; + com.google.bigtable.admin.v2.UpdateInstanceMetadata other = (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -303,126 +261,119 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) com.google.bigtable.admin.v2.UpdateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateInstanceMetadata.newBuilder() @@ -430,19 +381,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getOriginalRequestFieldBuilder(); getRequestTimeFieldBuilder(); getFinishTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override @@ -487,11 +438,8 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateInstanceMetadata result = - new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,17 +448,21 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -520,39 +472,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -560,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -597,31 +547,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,60 +583,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,8 +635,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -718,21 +653,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -747,8 +678,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -766,42 +695,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -809,17 +729,14 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -827,47 +744,34 @@ public Builder clearOriginalRequest() { private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -888,15 +792,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -907,8 +810,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -917,9 +818,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -934,8 +835,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -953,8 +852,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -967,8 +864,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -979,14 +874,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -994,17 +886,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1012,47 +901,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1073,15 +949,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1092,8 +967,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1102,9 +975,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1119,8 +992,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1138,8 +1009,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1152,8 +1021,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1164,14 +1031,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1179,24 +1043,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1206,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) private static final com.google.bigtable.admin.v2.UpdateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(); } @@ -1220,27 +1081,27 @@ public static com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1255,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java index c914628d27..222793ab18 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateInstanceMetadataOrBuilder - extends +public interface UpdateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
@@ -60,32 +36,24 @@ public interface UpdateInstanceMetadataOrBuilder com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -95,32 +63,24 @@ public interface UpdateInstanceMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java index 5b1f54dcc8..63dca201ad 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
  */
-public final class UpdateTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableMetadata)
     UpdateTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableMetadata.newBuilder() to construct.
   private UpdateTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-            com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
   }
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -134,14 +108,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -149,8 +120,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -165,14 +134,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -180,14 +146,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -195,8 +158,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
@@ -209,7 +170,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -244,10 +205,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -257,22 +220,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableMetadata other = - (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; + com.google.bigtable.admin.v2.UpdateTableMetadata other = (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -300,104 +265,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -405,23 +365,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableMetadata)
       com.google.bigtable.admin.v2.UpdateTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-              com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableMetadata.newBuilder()
@@ -429,18 +387,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getStartTimeFieldBuilder();
         getEndTimeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -460,9 +418,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -481,11 +439,8 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableMetadata result =
-          new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableMetadata result = new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -497,11 +452,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -511,39 +470,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -590,31 +547,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -624,25 +581,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -651,21 +605,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -673,35 +626,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -711,21 +657,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -735,33 +677,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -772,8 +705,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -794,15 +725,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -813,8 +743,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -823,9 +751,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -840,8 +768,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -859,8 +785,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -873,8 +797,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -885,12 +807,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -898,17 +819,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -916,33 +834,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -953,8 +862,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -975,15 +882,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -994,8 +900,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1004,9 +908,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1021,8 +925,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1040,8 +942,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1054,8 +954,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1066,12 +964,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1079,24 +976,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableMetadata) private static final com.google.bigtable.admin.v2.UpdateTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableMetadata(); } @@ -1120,27 +1014,27 @@ public static com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java index 625a33fa4a..c5b9fda235 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java @@ -1,81 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateTableMetadataOrBuilder - extends +public interface UpdateTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -85,32 +56,24 @@ public interface UpdateTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java index 56b714a7ed..5e12d1e94b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto @@ -20,8 +5,6 @@ package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -29,53 +12,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
  */
-public final class UpdateTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableRequest)
     UpdateTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableRequest.newBuilder() to construct.
   private UpdateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTableRequest() {}
+  private UpdateTableRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableRequest.class,
-            com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int TABLE_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.Table table_;
   /**
-   *
-   *
    * 
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -83,16 +61,12 @@ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -100,15 +74,12 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -118,8 +89,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -135,9 +104,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,8 +112,6 @@ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -162,9 +127,7 @@ public boolean hasUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -172,8 +135,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -189,8 +150,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -198,7 +158,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTable()); } @@ -227,10 +187,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTable()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,21 +202,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableRequest other = - (com.google.bigtable.admin.v2.UpdateTableRequest) obj; + com.google.bigtable.admin.v2.UpdateTableRequest other = (com.google.bigtable.admin.v2.UpdateTableRequest) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -280,104 +243,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -385,23 +343,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableRequest)
       com.google.bigtable.admin.v2.UpdateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableRequest.class,
-              com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableRequest.newBuilder()
@@ -409,18 +365,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTableFieldBuilder();
         getUpdateMaskFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,9 +395,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -460,11 +416,8 @@ public com.google.bigtable.admin.v2.UpdateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableRequest result =
-          new com.google.bigtable.admin.v2.UpdateTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableRequest result = new com.google.bigtable.admin.v2.UpdateTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -473,11 +426,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest resul
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -487,39 +444,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -527,8 +483,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()) return this;
       if (other.hasTable()) {
         mergeTable(other.getTable());
       }
@@ -561,25 +516,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -589,42 +545,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Table table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tableBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_;
     /**
-     *
-     *
      * 
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -635,15 +579,12 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -659,17 +600,15 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -680,21 +619,18 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -709,15 +645,12 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000001); @@ -730,15 +663,12 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000001; @@ -746,46 +676,38 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; @@ -793,13 +715,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -815,17 +732,13 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -841,23 +754,17 @@ public boolean hasUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -873,8 +780,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -890,8 +796,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -907,10 +811,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -921,8 +825,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -938,14 +840,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -960,8 +861,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -977,8 +876,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -991,8 +889,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1008,8 +904,7 @@ public Builder clearUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -1017,8 +912,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1034,21 +927,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1064,28 +953,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +980,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableRequest) private static final com.google.bigtable.admin.v2.UpdateTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableRequest(); } @@ -1109,27 +994,27 @@ public static com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1144,4 +1029,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java index b919f0985b..e6696ca280 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java @@ -1,73 +1,44 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.admin.v2; -public interface UpdateTableRequestOrBuilder - extends +public interface UpdateTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -83,15 +54,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -107,15 +74,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -131,8 +94,7 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java new file mode 100644 index 0000000000..2cf801dfb6 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,578 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public final class BigtableProto { + private BigtableProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n!google/bigtable/v2/bigtable.proto\022\022goo" + + "gle.bigtable.v2\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032\030google/api/routing.proto\032\035go" + + "ogle/bigtable/v2/data.proto\032&google/bigt" + + "able/v2/request_stats.proto\032\036google/prot" + + "obuf/duration.proto\032\037google/protobuf/tim" + + "estamp.proto\032\036google/protobuf/wrappers.p" + + "roto\032\027google/rpc/status.proto\"\242\003\n\017ReadRo" + + "wsRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"b" + + "igtableadmin.googleapis.com/Table\022\026\n\016app" + + "_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.google" + + ".bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.go" + + "ogle.bigtable.v2.RowFilter\022\022\n\nrows_limit" + + "\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.goo" + + "gle.bigtable.v2.ReadRowsRequest.RequestS" + + "tatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSta" + + "tsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED" + + "\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_ST" + + "ATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunk" + + "s\030\001 \003(\0132..google.bigtable.v2.ReadRowsRes" + + "ponse.CellChunk\022\034\n\024last_scanned_row_key\030" + + "\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bi" + + "gtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n\007" + + "row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.goo" + + "gle.protobuf.StringValue\022.\n\tqualifier\030\003 " + + "\001(\0132\033.google.protobuf.BytesValue\022\030\n\020time" + + "stamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005va" + + "lue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_r" + + "ow\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_" + + "status\"n\n\024SampleRowKeysRequest\022>\n\ntable_" + + "name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.google" + + "apis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">" + + "\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014" + + "\022\024\n\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequ" + + "est\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + + "eadmin.googleapis.com/Table\022\026\n\016app_profi" + + "le_id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmut" + + "ations\030\003 \003(\0132\034.google.bigtable.v2.Mutati" + + "onB\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateR" + + "owsRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" + + "p_profile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.go" + + "ogle.bigtable.v2.MutateRowsRequest.Entry" + + "B\003\340A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutat" + + "ions\030\002 \003(\0132\034.google.bigtable.v2.Mutation" + + "B\003\340A\002\"\344\001\n\022MutateRowsResponse\022=\n\007entries\030" + + "\001 \003(\0132,.google.bigtable.v2.MutateRowsRes" + + "ponse.Entry\022?\n\017rate_limit_info\030\003 \001(\0132!.g" + + "oogle.bigtable.v2.RateLimitInfoH\000\210\001\001\032:\n\005" + + "Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132\022.g" + + "oogle.rpc.StatusB\022\n\020_rate_limit_info\"J\n\r" + + "RateLimitInfo\022)\n\006period\030\001 \001(\0132\031.google.p" + + "rotobuf.Duration\022\016\n\006factor\030\002 \001(\001\"\256\002\n\030Che" + + "ckAndMutateRowRequest\022>\n\ntable_name\030\001 \001(" + + "\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com/" + + "Table\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key" + + "\030\002 \001(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035." + + "google.bigtable.v2.RowFilter\0224\n\016true_mut" + + "ations\030\004 \003(\0132\034.google.bigtable.v2.Mutati" + + "on\0225\n\017false_mutations\030\005 \003(\0132\034.google.big" + + "table.v2.Mutation\"6\n\031CheckAndMutateRowRe" + + "sponse\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022Pin" + + "gAndWarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%b" + + "igtableadmin.googleapis.com/Instance\022\026\n\016" + + "app_profile_id\030\002 \001(\t\"\025\n\023PingAndWarmRespo" + + "nse\"\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntab" + + "le_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.goo" + + "gleapis.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.ReadModifyWriteRuleB" + + "\003\340A\002\"B\n\032ReadModifyWriteRowResponse\022$\n\003ro" + + "w\030\001 \001(\0132\027.google.bigtable.v2.Row\"\206\001\n,Gen" + + "erateInitialChangeStreamPartitionsReques" + + "t\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablea" + + "dmin.googleapis.com/Table\022\026\n\016app_profile" + + "_id\030\002 \001(\t\"g\n-GenerateInitialChangeStream" + + "PartitionsResponse\0226\n\tpartition\030\001 \001(\0132#." + + "google.bigtable.v2.StreamPartition\"\233\003\n\027R" + + "eadChangeStreamRequest\022>\n\ntable_name\030\001 \001" + + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + + "/Table\022\026\n\016app_profile_id\030\002 \001(\t\0226\n\tpartit" + + "ion\030\003 \001(\0132#.google.bigtable.v2.StreamPar" + + "tition\0220\n\nstart_time\030\004 \001(\0132\032.google.prot" + + "obuf.TimestampH\000\022K\n\023continuation_tokens\030" + + "\006 \001(\0132,.google.bigtable.v2.StreamContinu" + + "ationTokensH\000\022,\n\010end_time\030\005 \001(\0132\032.google" + + ".protobuf.Timestamp\0225\n\022heartbeat_duratio" + + "n\030\007 \001(\0132\031.google.protobuf.DurationB\014\n\nst" + + "art_from\"\251\n\n\030ReadChangeStreamResponse\022N\n" + + "\013data_change\030\001 \001(\01327.google.bigtable.v2." + + "ReadChangeStreamResponse.DataChangeH\000\022K\n" + + "\theartbeat\030\002 \001(\01326.google.bigtable.v2.Re" + + "adChangeStreamResponse.HeartbeatH\000\022P\n\014cl" + + "ose_stream\030\003 \001(\01328.google.bigtable.v2.Re" + + "adChangeStreamResponse.CloseStreamH\000\032\364\001\n" + + "\rMutationChunk\022X\n\nchunk_info\030\001 \001(\0132D.goo" + + "gle.bigtable.v2.ReadChangeStreamResponse" + + ".MutationChunk.ChunkInfo\022.\n\010mutation\030\002 \001" + + "(\0132\034.google.bigtable.v2.Mutation\032Y\n\tChun" + + "kInfo\022\032\n\022chunked_value_size\030\001 \001(\005\022\034\n\024chu" + + "nked_value_offset\030\002 \001(\005\022\022\n\nlast_chunk\030\003 " + + "\001(\010\032\306\003\n\nDataChange\022J\n\004type\030\001 \001(\0162<.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.D" + + "ataChange.Type\022\031\n\021source_cluster_id\030\002 \001(" + + "\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020commit_timestamp\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\022\022\n\ntieb" + + "reaker\030\005 \001(\005\022J\n\006chunks\030\006 \003(\0132:.google.bi" + + "gtable.v2.ReadChangeStreamResponse.Mutat" + + "ionChunk\022\014\n\004done\030\010 \001(\010\022\r\n\005token\030\t \001(\t\022;\n" + + "\027estimated_low_watermark\030\n \001(\0132\032.google." + + "protobuf.Timestamp\"P\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GARBAGE_COLLECTION" + + "\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n\tHeartbeat\022G\n\022co" + + "ntinuation_token\030\001 \001(\0132+.google.bigtable" + + ".v2.StreamContinuationToken\022;\n\027estimated" + + "_low_watermark\030\002 \001(\0132\032.google.protobuf.T" + + "imestamp\032\270\001\n\013CloseStream\022\"\n\006status\030\001 \001(\013" + + "2\022.google.rpc.Status\022H\n\023continuation_tok" + + "ens\030\002 \003(\0132+.google.bigtable.v2.StreamCon" + + "tinuationToken\022;\n\016new_partitions\030\003 \003(\0132#" + + ".google.bigtable.v2.StreamPartitionB\017\n\rs" + + "tream_record2\327\030\n\010Bigtable\022\233\002\n\010ReadRows\022#" + + ".google.bigtable.v2.ReadRowsRequest\032$.go" + + "ogle.bigtable.v2.ReadRowsResponse\"\301\001\332A\nt" + + "able_name\332A\031table_name,app_profile_id\202\323\344" + + "\223\002>\"9/v2/{table_name=projects/*/instance" + + "s/*/tables/*}:readRows:\001*\212\323\344\223\002N\022:\n\ntable" + + "_name\022,{table_name=projects/*/instances/" + + "*/tables/*}\022\020\n\016app_profile_id0\001\022\254\002\n\rSamp" + + "leRowKeys\022(.google.bigtable.v2.SampleRow" + + "KeysRequest\032).google.bigtable.v2.SampleR" + + "owKeysResponse\"\303\001\332A\ntable_name\332A\031table_n" + + "ame,app_profile_id\202\323\344\223\002@\022>/v2/{table_nam" + + "e=projects/*/instances/*/tables/*}:sampl" + + "eRowKeys\212\323\344\223\002N\022:\n\ntable_name\022,{table_nam" + + "e=projects/*/instances/*/tables/*}\022\020\n\016ap" + + "p_profile_id0\001\022\301\002\n\tMutateRow\022$.google.bi" + + "gtable.v2.MutateRowRequest\032%.google.bigt" + + "able.v2.MutateRowResponse\"\346\001\332A\034table_nam" + + "e,row_key,mutations\332A+table_name,row_key" + + ",mutations,app_profile_id\202\323\344\223\002?\":/v2/{ta" + + "ble_name=projects/*/instances/*/tables/*" + + "}:mutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{tab" + + "le_name=projects/*/instances/*/tables/*}" + + "\022\020\n\016app_profile_id\022\263\002\n\nMutateRows\022%.goog" + + "le.bigtable.v2.MutateRowsRequest\032&.googl" + + "e.bigtable.v2.MutateRowsResponse\"\323\001\332A\022ta" + + "ble_name,entries\332A!table_name,entries,ap" + + "p_profile_id\202\323\344\223\002@\";/v2/{table_name=proj" + + "ects/*/instances/*/tables/*}:mutateRows:" + + "\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proj" + + "ects/*/instances/*/tables/*}\022\020\n\016app_prof" + + "ile_id0\001\022\255\003\n\021CheckAndMutateRow\022,.google." + + "bigtable.v2.CheckAndMutateRowRequest\032-.g" + + "oogle.bigtable.v2.CheckAndMutateRowRespo" + + "nse\"\272\002\332ABtable_name,row_key,predicate_fi" + + "lter,true_mutations,false_mutations\332AQta" + + "ble_name,row_key,predicate_filter,true_m" + + "utations,false_mutations,app_profile_id\202" + + "\323\344\223\002G\"B/v2/{table_name=projects/*/instan" + + "ces/*/tables/*}:checkAndMutateRow:\001*\212\323\344\223" + + "\002N\022:\n\ntable_name\022,{table_name=projects/*" + + "/instances/*/tables/*}\022\020\n\016app_profile_id" + + "\022\356\001\n\013PingAndWarm\022&.google.bigtable.v2.Pi" + + "ngAndWarmRequest\032\'.google.bigtable.v2.Pi" + + "ngAndWarmResponse\"\215\001\332A\004name\332A\023name,app_p" + + "rofile_id\202\323\344\223\002+\"&/v2/{name=projects/*/in" + + "stances/*}:ping:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=" + + "projects/*/instances/*}\022\020\n\016app_profile_i" + + "d\022\335\002\n\022ReadModifyWriteRow\022-.google.bigtab" + + "le.v2.ReadModifyWriteRowRequest\032..google" + + ".bigtable.v2.ReadModifyWriteRowResponse\"" + + "\347\001\332A\030table_name,row_key,rules\332A\'table_na" + + "me,row_key,rules,app_profile_id\202\323\344\223\002H\"C/" + + "v2/{table_name=projects/*/instances/*/ta" + + "bles/*}:readModifyWriteRow:\001*\212\323\344\223\002N\022:\n\nt" + + "able_name\022,{table_name=projects/*/instan" + + "ces/*/tables/*}\022\020\n\016app_profile_id\022\273\002\n%Ge" + + "nerateInitialChangeStreamPartitions\022@.go" + + "ogle.bigtable.v2.GenerateInitialChangeSt" + + "reamPartitionsRequest\032A.google.bigtable." + + "v2.GenerateInitialChangeStreamPartitions" + + "Response\"\212\001\332A\ntable_name\332A\031table_name,ap" + + "p_profile_id\202\323\344\223\002[\"V/v2/{table_name=proj" + + "ects/*/instances/*/tables/*}:generateIni" + + "tialChangeStreamPartitions:\001*0\001\022\346\001\n\020Read" + + "ChangeStream\022+.google.bigtable.v2.ReadCh" + + "angeStreamRequest\032,.google.bigtable.v2.R" + + "eadChangeStreamResponse\"u\332A\ntable_name\332A" + + "\031table_name,app_profile_id\202\323\344\223\002F\"A/v2/{t" + + "able_name=projects/*/instances/*/tables/" + + "*}:readChangeStream:\001*0\001\032\333\002\312A\027bigtable.g" + + "oogleapis.com\322A\275\002https://www.googleapis." + + "com/auth/bigtable.data,https://www.googl" + + "eapis.com/auth/bigtable.data.readonly,ht" + + "tps://www.googleapis.com/auth/cloud-bigt" + + "able.data,https://www.googleapis.com/aut" + + "h/cloud-bigtable.data.readonly,https://w" + + "ww.googleapis.com/auth/cloud-platform,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form.read-onlyB\353\002\n\026com.google.bigtable.v" + + "2B\rBigtableProtoP\001Z:google.golang.org/ge" + + "nproto/googleapis/bigtable/v2;bigtable\252\002" + + "\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud" + + "\\Bigtable\\V2\352\002\033Google::Cloud::Bigtable::" + + "V2\352AP\n%bigtableadmin.googleapis.com/Inst" + + "ance\022\'projects/{project}/instances/{inst" + + "ance}\352A\\\n\"bigtableadmin.googleapis.com/T" + + "able\0226projects/{project}/instances/{inst" + + "ance}/tables/{table}b\006proto3" + }; + 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.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.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 = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Rows", "Filter", "RowsLimit", "RequestStatsView", "Reversed", }); + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, + new java.lang.String[] { "Chunks", "LastScannedRowKey", "RequestStats", }); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, + new java.lang.String[] { "RowKey", "FamilyName", "Qualifier", "TimestampMicros", "Labels", "Value", "ValueSize", "ResetRow", "CommitRow", "RowStatus", }); + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, + new java.lang.String[] { "RowKey", "OffsetBytes", }); + internal_static_google_bigtable_v2_MutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Entries", }); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, + new java.lang.String[] { "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, + new java.lang.String[] { "Entries", "RateLimitInfo", }); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, + new java.lang.String[] { "Index", "Status", }); + internal_static_google_bigtable_v2_RateLimitInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RateLimitInfo_descriptor, + new java.lang.String[] { "Period", "Factor", }); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "PredicateFilter", "TrueMutations", "FalseMutations", }); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, + new java.lang.String[] { "PredicateMatched", }); + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, + new java.lang.String[] { "Name", "AppProfileId", }); + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Rules", }); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, + new java.lang.String[] { "Row", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, + new java.lang.String[] { "Partition", }); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Partition", "StartTime", "ContinuationTokens", "EndTime", "HeartbeatDuration", "StartFrom", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, + new java.lang.String[] { "DataChange", "Heartbeat", "CloseStream", "StreamRecord", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, + new java.lang.String[] { "ChunkInfo", "Mutation", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, + new java.lang.String[] { "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, + new java.lang.String[] { "Type", "SourceClusterId", "RowKey", "CommitTimestamp", "Tiebreaker", "Chunks", "Done", "Token", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, + new java.lang.String[] { "ContinuationToken", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, + new java.lang.String[] { "Status", "ContinuationTokens", "NewPartitions", }); + 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); + registry.add(com.google.api.RoutingProto.routing); + 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.api.RoutingProto.getDescriptor(); + com.google.bigtable.v2.DataProto.getDescriptor(); + com.google.bigtable.v2.RequestStatsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index c7da0c1ec4..ea98f81b57 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,44 +5,43 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column/timestamp of a table.
  * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ -public final class Cell extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Cell) CellOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cell.newBuilder() to construct. private Cell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cell() { value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } @@ -65,8 +49,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_ = 0L; /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -77,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -88,8 +69,6 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -97,7 +76,6 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -106,47 +84,38 @@ public com.google.protobuf.ByteString getValue() { } public static final int LABELS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -154,23 +123,20 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * 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) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timestampMicros_ != 0L) { output.writeInt64(1, timestampMicros_); } @@ -202,10 +169,12 @@ public int getSerializedSize() { size = 0; if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } { int dataSize = 0; @@ -223,16 +192,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Cell)) { return super.equals(obj); } com.google.bigtable.v2.Cell other = (com.google.bigtable.v2.Cell) obj; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,7 +217,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); if (getLabelsCount() > 0) { @@ -257,145 +230,146 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Cell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Cell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Cell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Cell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Cell parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Cell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Cell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column/timestamp of a table.
    * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Cell) com.google.bigtable.v2.CellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } // Construct using com.google.bigtable.v2.Cell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestampMicros_ = 0L; value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @@ -416,9 +390,7 @@ public com.google.bigtable.v2.Cell build() { @java.lang.Override public com.google.bigtable.v2.Cell buildPartial() { com.google.bigtable.v2.Cell result = new com.google.bigtable.v2.Cell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -441,39 +413,38 @@ private void buildPartial0(com.google.bigtable.v2.Cell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell) other); + return mergeFrom((com.google.bigtable.v2.Cell)other); } else { super.mergeFrom(other); return this; @@ -524,32 +495,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLabelsIsMutable(); - labels_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + value_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLabelsIsMutable(); + labels_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,13 +526,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -576,7 +540,6 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -584,8 +547,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -596,7 +557,6 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -608,8 +568,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -620,7 +578,6 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -632,8 +589,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -641,7 +596,6 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -649,8 +603,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -658,22 +610,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -681,7 +628,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -693,7 +639,6 @@ public Builder clearValue() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -701,43 +646,35 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -745,37 +682,31 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * 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) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000004; @@ -783,21 +714,17 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000004; @@ -805,58 +732,50 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels(java.lang.Iterable values) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -864,9 +783,9 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -876,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Cell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Cell) private static final com.google.bigtable.v2.Cell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Cell(); } @@ -890,27 +809,27 @@ public static com.google.bigtable.v2.Cell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -925,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Cell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java index c8bcc2e64a..bd3b9cbbba 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface CellOrBuilder - extends +public interface CellOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Cell) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -37,14 +19,11 @@ public interface CellOrBuilder
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -52,59 +31,48 @@ public interface CellOrBuilder
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return The count of labels. */ int getLabelsCount(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * 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); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * 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); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java similarity index 79% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java index 44e5aa2b70..ac764a0476 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ -public final class CheckAndMutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowRequest) CheckAndMutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowRequest.newBuilder() to construct. private CheckAndMutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckAndMutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -48,43 +30,36 @@ private CheckAndMutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } private int bitField0_; public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -128,19 +101,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ @java.lang.Override @@ -149,30 +118,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -183,15 +152,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -202,8 +168,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int PREDICATE_FILTER_FIELD_NUMBER = 6; private com.google.bigtable.v2.RowFilter predicateFilter_; /** - * - * *
    * 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
@@ -212,7 +176,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -220,8 +183,6 @@ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * 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
@@ -230,18 +191,13 @@ public boolean hasPredicateFilter() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
    * 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
@@ -253,18 +209,13 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-    return predicateFilter_ == null
-        ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-        : predicateFilter_;
+    return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
   }
 
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List trueMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -280,8 +231,6 @@ public java.util.List getTrueMutationsList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -293,13 +242,11 @@ public java.util.List getTrueMutationsList() {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTrueMutationsOrBuilderList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -315,8 +262,6 @@ public int getTrueMutationsCount() {
     return trueMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -332,8 +277,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
     return trueMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -345,17 +288,15 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index) {
     return trueMutations_.get(index);
   }
 
   public static final int FALSE_MUTATIONS_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private java.util.List falseMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -371,8 +312,6 @@ public java.util.List getFalseMutationsList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -384,13 +323,11 @@ public java.util.List getFalseMutationsList() {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFalseMutationsOrBuilderList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -406,8 +343,6 @@ public int getFalseMutationsCount() {
     return falseMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -423,8 +358,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
     return falseMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -436,12 +369,12 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index) {
     return falseMutations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,7 +386,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -485,16 +419,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
     }
     if (!rowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, rowKey_);
     }
     for (int i = 0; i < trueMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, trueMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, trueMutations_.get(i));
     }
     for (int i = 0; i < falseMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, falseMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, falseMutations_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPredicateFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPredicateFilter());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, appProfileId_);
@@ -507,23 +445,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.CheckAndMutateRowRequest other =
-        (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
+    com.google.bigtable.v2.CheckAndMutateRowRequest other = (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
-    if (!getRowKey().equals(other.getRowKey())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
+    if (!getRowKey()
+        .equals(other.getRowKey())) return false;
     if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
     if (hasPredicateFilter()) {
-      if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+      if (!getPredicateFilter()
+          .equals(other.getPredicateFilter())) return false;
     }
-    if (!getTrueMutationsList().equals(other.getTrueMutationsList())) return false;
-    if (!getFalseMutationsList().equals(other.getFalseMutationsList())) return false;
+    if (!getTrueMutationsList()
+        .equals(other.getTrueMutationsList())) return false;
+    if (!getFalseMutationsList()
+        .equals(other.getFalseMutationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -558,127 +501,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowRequest) com.google.bigtable.v2.CheckAndMutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowRequest.newBuilder() @@ -686,19 +622,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPredicateFilterFieldBuilder(); getTrueMutationsFieldBuilder(); getFalseMutationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -729,9 +665,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override @@ -750,18 +686,14 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowRequest result = - new com.google.bigtable.v2.CheckAndMutateRowRequest(this); + com.google.bigtable.v2.CheckAndMutateRowRequest result = new com.google.bigtable.v2.CheckAndMutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.CheckAndMutateRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.CheckAndMutateRowRequest result) { if (trueMutationsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_); @@ -795,8 +727,9 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { - result.predicateFilter_ = - predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build(); + result.predicateFilter_ = predicateFilterBuilder_ == null + ? predicateFilter_ + : predicateFilterBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -806,39 +739,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -846,8 +778,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -882,10 +813,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000010); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTrueMutationsFieldBuilder() - : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTrueMutationsFieldBuilder() : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -909,10 +839,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000020); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFalseMutationsFieldBuilder() - : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFalseMutationsFieldBuilder() : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -944,61 +873,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 34: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (trueMutationsBuilder_ == null) { - ensureTrueMutationsIsMutable(); - trueMutations_.add(m); - } else { - trueMutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (falseMutationsBuilder_ == null) { - ensureFalseMutationsIsMutable(); - falseMutations_.add(m); - } else { - falseMutationsBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - input.readMessage(getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 34: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (trueMutationsBuilder_ == null) { + ensureTrueMutationsIsMutable(); + trueMutations_.add(m); + } else { + trueMutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (falseMutationsBuilder_ == null) { + ensureFalseMutationsIsMutable(); + falseMutations_.add(m); + } else { + falseMutationsBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + input.readMessage( + getPredicateFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1008,29 +936,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1039,25 +962,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1065,43 +985,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1111,25 +1020,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1139,21 +1042,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1162,22 +1063,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1185,37 +1085,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1225,22 +1118,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1250,15 +1139,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -1266,37 +1152,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1308,13 +1186,8 @@ public Builder clearRowKey() { private com.google.bigtable.v2.RowFilter predicateFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - predicateFilterBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_; /** - * - * *
      * 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
@@ -1323,15 +1196,12 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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
@@ -1340,21 +1210,16 @@ public boolean hasPredicateFilter() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
      * 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
@@ -1378,8 +1243,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1389,7 +1252,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
-    public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setPredicateFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (predicateFilterBuilder_ == null) {
         predicateFilter_ = builderForValue.build();
       } else {
@@ -1400,8 +1264,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1413,9 +1275,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
      */
     public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && predicateFilter_ != null
-            && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          predicateFilter_ != null &&
+          predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getPredicateFilterBuilder().mergeFrom(value);
         } else {
           predicateFilter_ = value;
@@ -1430,8 +1292,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1452,8 +1312,6 @@ public Builder clearPredicateFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1469,8 +1327,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
       return getPredicateFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1484,14 +1340,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
       if (predicateFilterBuilder_ != null) {
         return predicateFilterBuilder_.getMessageOrBuilder();
       } else {
-        return predicateFilter_ == null
-            ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-            : predicateFilter_;
+        return predicateFilter_ == null ?
+            com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * 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
@@ -1502,41 +1355,32 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
         getPredicateFilterFieldBuilder() {
       if (predicateFilterBuilder_ == null) {
-        predicateFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter,
-                com.google.bigtable.v2.RowFilter.Builder,
-                com.google.bigtable.v2.RowFilterOrBuilder>(
-                getPredicateFilter(), getParentForChildren(), isClean());
+        predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                getPredicateFilter(),
+                getParentForChildren(),
+                isClean());
         predicateFilter_ = null;
       }
       return predicateFilterBuilder_;
     }
 
     private java.util.List trueMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTrueMutationsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        trueMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> trueMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1555,8 +1399,6 @@ public java.util.List getTrueMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1575,8 +1417,6 @@ public int getTrueMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1595,8 +1435,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1607,7 +1445,8 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1621,8 +1460,6 @@ public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1645,8 +1482,6 @@ public Builder setTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1671,8 +1506,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1683,7 +1516,8 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1697,8 +1531,6 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1709,7 +1541,8 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addTrueMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
         trueMutations_.add(builderForValue.build());
@@ -1720,8 +1553,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1744,8 +1575,6 @@ public Builder addTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1760,7 +1589,8 @@ public Builder addAllTrueMutations(
         java.lang.Iterable values) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trueMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, trueMutations_);
         onChanged();
       } else {
         trueMutationsBuilder_.addAllMessages(values);
@@ -1768,8 +1598,6 @@ public Builder addAllTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1791,8 +1619,6 @@ public Builder clearTrueMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1814,8 +1640,6 @@ public Builder removeTrueMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1826,12 +1650,11 @@ public Builder removeTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(
+        int index) {
       return getTrueMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1842,16 +1665,14 @@ public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+        int index) {
       if (trueMutationsBuilder_ == null) {
-        return trueMutations_.get(index);
-      } else {
+        return trueMutations_.get(index);  } else {
         return trueMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1862,8 +1683,8 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List
-        getTrueMutationsOrBuilderList() {
+    public java.util.List 
+         getTrueMutationsOrBuilderList() {
       if (trueMutationsBuilder_ != null) {
         return trueMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1871,8 +1692,6 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1884,12 +1703,10 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
     public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getTrueMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1900,13 +1717,12 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index) {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(
+        int index) {
+      return getTrueMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1917,21 +1733,16 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List getTrueMutationsBuilderList() {
+    public java.util.List 
+         getTrueMutationsBuilderList() {
       return getTrueMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getTrueMutationsFieldBuilder() {
       if (trueMutationsBuilder_ == null) {
-        trueMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        trueMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 trueMutations_,
                 ((bitField0_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -1942,24 +1753,18 @@ public java.util.List getTrueMutationsB
     }
 
     private java.util.List falseMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFalseMutationsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        falseMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> falseMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1978,8 +1783,6 @@ public java.util.List getFalseMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1998,8 +1801,6 @@ public int getFalseMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2018,8 +1819,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2030,7 +1829,8 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2044,8 +1844,6 @@ public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2068,8 +1866,6 @@ public Builder setFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2094,8 +1890,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2106,7 +1900,8 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2120,8 +1915,6 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2132,7 +1925,8 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addFalseMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
         falseMutations_.add(builderForValue.build());
@@ -2143,8 +1937,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2167,8 +1959,6 @@ public Builder addFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2183,7 +1973,8 @@ public Builder addAllFalseMutations(
         java.lang.Iterable values) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, falseMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, falseMutations_);
         onChanged();
       } else {
         falseMutationsBuilder_.addAllMessages(values);
@@ -2191,8 +1982,6 @@ public Builder addAllFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2214,8 +2003,6 @@ public Builder clearFalseMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2237,8 +2024,6 @@ public Builder removeFalseMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2249,12 +2034,11 @@ public Builder removeFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(
+        int index) {
       return getFalseMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2265,16 +2049,14 @@ public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+        int index) {
       if (falseMutationsBuilder_ == null) {
-        return falseMutations_.get(index);
-      } else {
+        return falseMutations_.get(index);  } else {
         return falseMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2285,8 +2067,8 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List
-        getFalseMutationsOrBuilderList() {
+    public java.util.List 
+         getFalseMutationsOrBuilderList() {
       if (falseMutationsBuilder_ != null) {
         return falseMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2294,8 +2076,6 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2307,12 +2087,10 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
     public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getFalseMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2323,13 +2101,12 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int index) {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(
+        int index) {
+      return getFalseMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2340,21 +2117,16 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List getFalseMutationsBuilderList() {
+    public java.util.List 
+         getFalseMutationsBuilderList() {
       return getFalseMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getFalseMutationsFieldBuilder() {
       if (falseMutationsBuilder_ == null) {
-        falseMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        falseMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 falseMutations_,
                 ((bitField0_ & 0x00000020) != 0),
                 getParentForChildren(),
@@ -2363,9 +2135,9 @@ public java.util.List getFalseMutations
       }
       return falseMutationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2375,12 +2147,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   private static final com.google.bigtable.v2.CheckAndMutateRowRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowRequest();
   }
@@ -2389,27 +2161,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CheckAndMutateRowRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CheckAndMutateRowRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2424,4 +2196,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
index 2cb8e2e617..b203028c3e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
@@ -1,106 +1,71 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface CheckAndMutateRowRequestOrBuilder
-    extends
+public interface CheckAndMutateRowRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * 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
@@ -109,13 +74,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
    * 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
@@ -124,13 +86,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
    * 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
@@ -143,8 +102,6 @@ public interface CheckAndMutateRowRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -155,10 +112,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List getTrueMutationsList();
+  java.util.List 
+      getTrueMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -171,8 +127,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getTrueMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -185,8 +139,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getTrueMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -197,11 +149,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List
+  java.util.List 
       getTrueMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -212,11 +162,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -227,10 +176,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List getFalseMutationsList();
+  java.util.List 
+      getFalseMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -243,8 +191,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getFalseMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -257,8 +203,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getFalseMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -269,11 +213,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List
+  java.util.List 
       getFalseMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -284,5 +226,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
similarity index 65%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
index 9000339d36..39bd362263 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
@@ -20,59 +5,53 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ -public final class CheckAndMutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowResponse) CheckAndMutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowResponse.newBuilder() to construct. private CheckAndMutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckAndMutateRowResponse() {} + private CheckAndMutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } public static final int PREDICATE_MATCHED_FIELD_NUMBER = 1; private boolean predicateMatched_ = false; /** - * - * *
    * Whether or not the request's `predicate_filter` yielded any results for
    * the specified row.
    * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -81,7 +60,6 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (predicateMatched_ != false) { output.writeBool(1, predicateMatched_); } @@ -107,7 +86,8 @@ public int getSerializedSize() { size = 0; if (predicateMatched_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, predicateMatched_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, predicateMatched_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.CheckAndMutateRowResponse other = - (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; + com.google.bigtable.v2.CheckAndMutateRowResponse other = (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; - if (getPredicateMatched() != other.getPredicateMatched()) return false; + if (getPredicateMatched() + != other.getPredicateMatched()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -138,142 +118,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PREDICATE_MATCHED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPredicateMatched()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPredicateMatched()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowResponse) com.google.bigtable.v2.CheckAndMutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +260,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override @@ -304,11 +281,8 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowResponse buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowResponse result = - new com.google.bigtable.v2.CheckAndMutateRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.CheckAndMutateRowResponse result = new com.google.bigtable.v2.CheckAndMutateRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -324,39 +298,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -364,8 +337,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowResponse other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) return this; if (other.getPredicateMatched() != false) { setPredicateMatched(other.getPredicateMatched()); } @@ -395,19 +367,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - predicateMatched_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + predicateMatched_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,20 +387,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean predicateMatched_; + private boolean predicateMatched_ ; /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -438,15 +404,12 @@ public boolean getPredicateMatched() { return predicateMatched_; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @param value The predicateMatched to set. * @return This builder for chaining. */ @@ -458,15 +421,12 @@ public Builder setPredicateMatched(boolean value) { return this; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return This builder for chaining. */ public Builder clearPredicateMatched() { @@ -475,9 +435,9 @@ public Builder clearPredicateMatched() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -487,12 +447,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowResponse) private static final com.google.bigtable.v2.CheckAndMutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowResponse(); } @@ -501,27 +461,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckAndMutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckAndMutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -536,4 +496,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..ddfa29933b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public interface CheckAndMutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether or not the request's `predicate_filter` yielded any results for
+   * the specified row.
+   * 
+ * + * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java index 2c8211b357..26a184efbf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column intersection of a
  * table.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Column}
  */
-public final class Column extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Column extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Column)
     ColumnOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Column.newBuilder() to construct.
   private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Column() {
     qualifier_ = com.google.protobuf.ByteString.EMPTY;
     cells_ = java.util.Collections.emptyList();
@@ -46,19 +28,20 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Column();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
   }
@@ -66,8 +49,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -77,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -86,12 +66,9 @@ public com.google.protobuf.ByteString getQualifier() { } public static final int CELLS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List cells_; /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -103,8 +80,6 @@ public java.util.List getCellsList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -112,12 +87,11 @@ public java.util.List getCellsList() { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -129,8 +103,6 @@ public int getCellsCount() { return cells_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -142,8 +114,6 @@ public com.google.bigtable.v2.Cell getCells(int index) { return cells_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -151,12 +121,12 @@ public com.google.bigtable.v2.Cell getCells(int index) { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { return cells_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!qualifier_.isEmpty()) { output.writeBytes(1, qualifier_); } @@ -185,10 +156,12 @@ public int getSerializedSize() { size = 0; if (!qualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, qualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, qualifier_); } for (int i = 0; i < cells_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cells_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, cells_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -198,15 +171,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Column)) { return super.equals(obj); } com.google.bigtable.v2.Column other = (com.google.bigtable.v2.Column) obj; - if (!getQualifier().equals(other.getQualifier())) return false; - if (!getCellsList().equals(other.getCellsList())) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + if (!getCellsList() + .equals(other.getCellsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,103 +204,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Column parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Column parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Column parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Column parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column intersection of a
    * table.
@@ -333,30 +304,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Column}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Column)
       com.google.bigtable.v2.ColumnOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Column.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -373,7 +347,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
@@ -395,9 +370,7 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -425,39 +398,38 @@ private void buildPartial0(com.google.bigtable.v2.Column result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column) other);
+        return mergeFrom((com.google.bigtable.v2.Column)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,10 +459,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            cellsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCellsFieldBuilder()
-                    : null;
+            cellsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCellsFieldBuilder() : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -522,31 +493,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                qualifier_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Cell m =
-                    input.readMessage(com.google.bigtable.v2.Cell.parser(), extensionRegistry);
-                if (cellsBuilder_ == null) {
-                  ensureCellsIsMutable();
-                  cells_.add(m);
-                } else {
-                  cellsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              qualifier_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Cell m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Cell.parser(),
+                      extensionRegistry);
+              if (cellsBuilder_ == null) {
+                ensureCellsIsMutable();
+                cells_.add(m);
+              } else {
+                cellsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,13 +526,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -572,7 +539,6 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -580,8 +546,6 @@ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -591,22 +555,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } qualifier_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -616,7 +575,6 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; - * * @return This builder for chaining. */ public Builder clearQualifier() { @@ -626,24 +584,19 @@ public Builder clearQualifier() { return this; } - private java.util.List cells_ = java.util.Collections.emptyList(); - + private java.util.List cells_ = + java.util.Collections.emptyList(); private void ensureCellsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> - cellsBuilder_; + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> cellsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -658,8 +611,6 @@ public java.util.List getCellsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -674,8 +625,6 @@ public int getCellsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -690,15 +639,14 @@ public com.google.bigtable.v2.Cell getCells(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell value) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,15 +660,14 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.set(index, builderForValue.build()); @@ -731,8 +678,6 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -753,15 +698,14 @@ public Builder addCells(com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell value) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -775,15 +719,14 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(builderForValue.build()); @@ -794,15 +737,14 @@ public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(index, builderForValue.build()); @@ -813,18 +755,18 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addAllCells(java.lang.Iterable values) { + public Builder addAllCells( + java.lang.Iterable values) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cells_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cells_); onChanged(); } else { cellsBuilder_.addAllMessages(values); @@ -832,8 +774,6 @@ public Builder addAllCells(java.lang.Iterable * Must not be empty. Sorted in order of decreasing "timestamp_micros". *
@@ -851,8 +791,6 @@ public Builder clearCells() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -870,43 +808,39 @@ public Builder removeCells(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder getCellsBuilder(int index) { + public com.google.bigtable.v2.Cell.Builder getCellsBuilder( + int index) { return getCellsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { if (cellsBuilder_ == null) { - return cells_.get(index); - } else { + return cells_.get(index); } else { return cellsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { if (cellsBuilder_ != null) { return cellsBuilder_.getMessageOrBuilderList(); } else { @@ -914,8 +848,6 @@ public java.util.List getCellsOr } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -923,53 +855,49 @@ public java.util.List getCellsOr * repeated .google.bigtable.v2.Cell cells = 2; */ public com.google.bigtable.v2.Cell.Builder addCellsBuilder() { - return getCellsFieldBuilder().addBuilder(com.google.bigtable.v2.Cell.getDefaultInstance()); + return getCellsFieldBuilder().addBuilder( + com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder addCellsBuilder(int index) { - return getCellsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Cell.getDefaultInstance()); + public com.google.bigtable.v2.Cell.Builder addCellsBuilder( + int index) { + return getCellsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsBuilderList() { + public java.util.List + getCellsBuilderList() { return getCellsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> getCellsFieldBuilder() { if (cellsBuilder_ == null) { - cellsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder>( - cells_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + cellsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder>( + cells_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); cells_ = null; } return cellsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Column) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Column) private static final com.google.bigtable.v2.Column DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Column(); } @@ -993,27 +921,27 @@ public static com.google.bigtable.v2.Column getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Column parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Column parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java index c9064275f7..62d64208b6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ColumnOrBuilder - extends +public interface ColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Column) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -36,24 +18,20 @@ public interface ColumnOrBuilder
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ com.google.protobuf.ByteString getQualifier(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - java.util.List getCellsList(); + java.util.List + getCellsList(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -62,8 +40,6 @@ public interface ColumnOrBuilder */ com.google.bigtable.v2.Cell getCells(int index); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -72,23 +48,21 @@ public interface ColumnOrBuilder */ int getCellsCount(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - java.util.List getCellsOrBuilderList(); + java.util.List + getCellsOrBuilderList(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index); + com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java index e741d7cb37..b26cb2955d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of columns within a single column family.
  * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -31,55 +14,49 @@
  *
  * Protobuf type {@code google.bigtable.v2.ColumnRange}
  */
-public final class ColumnRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ColumnRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ColumnRange)
     ColumnRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ColumnRange.newBuilder() to construct.
   private ColumnRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ColumnRange() {
     familyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ColumnRange.class,
-            com.google.bigtable.v2.ColumnRange.Builder.class);
+            com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
   }
 
   private int startQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startQualifier_;
-
   public enum StartQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_QUALIFIER_CLOSED(2),
     START_QUALIFIER_OPEN(3),
     STARTQUALIFIER_NOT_SET(0);
     private final int value;
-
     private StartQualifierCase(int value) {
       this.value = value;
     }
@@ -95,40 +72,33 @@ public static StartQualifierCase valueOf(int value) {
 
     public static StartQualifierCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return START_QUALIFIER_CLOSED;
-        case 3:
-          return START_QUALIFIER_OPEN;
-        case 0:
-          return STARTQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 2: return START_QUALIFIER_CLOSED;
+        case 3: return START_QUALIFIER_OPEN;
+        case 0: return STARTQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartQualifierCase getStartQualifierCase() {
-    return StartQualifierCase.forNumber(startQualifierCase_);
+  public StartQualifierCase
+  getStartQualifierCase() {
+    return StartQualifierCase.forNumber(
+        startQualifierCase_);
   }
 
   private int endQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object endQualifier_;
-
   public enum EndQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_QUALIFIER_CLOSED(4),
     END_QUALIFIER_OPEN(5),
     ENDQUALIFIER_NOT_SET(0);
     private final int value;
-
     private EndQualifierCase(int value) {
       this.value = value;
     }
@@ -144,39 +114,32 @@ public static EndQualifierCase valueOf(int value) {
 
     public static EndQualifierCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return END_QUALIFIER_CLOSED;
-        case 5:
-          return END_QUALIFIER_OPEN;
-        case 0:
-          return ENDQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 4: return END_QUALIFIER_CLOSED;
+        case 5: return END_QUALIFIER_OPEN;
+        case 0: return ENDQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndQualifierCase getEndQualifierCase() {
-    return EndQualifierCase.forNumber(endQualifierCase_);
+  public EndQualifierCase
+  getEndQualifierCase() {
+    return EndQualifierCase.forNumber(
+        endQualifierCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -185,29 +148,29 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -217,14 +180,11 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int START_QUALIFIER_CLOSED_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ @java.lang.Override @@ -232,14 +192,11 @@ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ @java.lang.Override @@ -252,14 +209,11 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { public static final int START_QUALIFIER_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ @java.lang.Override @@ -267,14 +221,11 @@ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ @java.lang.Override @@ -287,14 +238,11 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { public static final int END_QUALIFIER_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ @java.lang.Override @@ -302,14 +250,11 @@ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ @java.lang.Override @@ -322,14 +267,11 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { public static final int END_QUALIFIER_OPEN_FIELD_NUMBER = 5; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ @java.lang.Override @@ -337,14 +279,11 @@ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ @java.lang.Override @@ -356,7 +295,6 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,21 +306,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } if (startQualifierCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - output.writeBytes(5, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 5, (com.google.protobuf.ByteString) endQualifier_); } getUnknownFields().writeTo(output); } @@ -397,24 +340,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (startQualifierCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 5, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 5, (com.google.protobuf.ByteString) endQualifier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -424,21 +367,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ColumnRange)) { return super.equals(obj); } com.google.bigtable.v2.ColumnRange other = (com.google.bigtable.v2.ColumnRange) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getStartQualifierCase().equals(other.getStartQualifierCase())) return false; switch (startQualifierCase_) { case 2: - if (!getStartQualifierClosed().equals(other.getStartQualifierClosed())) return false; + if (!getStartQualifierClosed() + .equals(other.getStartQualifierClosed())) return false; break; case 3: - if (!getStartQualifierOpen().equals(other.getStartQualifierOpen())) return false; + if (!getStartQualifierOpen() + .equals(other.getStartQualifierOpen())) return false; break; case 0: default: @@ -446,10 +392,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndQualifierCase().equals(other.getEndQualifierCase())) return false; switch (endQualifierCase_) { case 4: - if (!getEndQualifierClosed().equals(other.getEndQualifierClosed())) return false; + if (!getEndQualifierClosed() + .equals(other.getEndQualifierClosed())) return false; break; case 5: - if (!getEndQualifierOpen().equals(other.getEndQualifierOpen())) return false; + if (!getEndQualifierOpen() + .equals(other.getEndQualifierOpen())) return false; break; case 0: default: @@ -496,103 +444,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ColumnRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ColumnRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of columns within a single column family.
    * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -602,32 +546,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ColumnRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ColumnRange)
       com.google.bigtable.v2.ColumnRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ColumnRange.class,
-              com.google.bigtable.v2.ColumnRange.Builder.class);
+              com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ColumnRange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -641,9 +586,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
@@ -663,9 +608,7 @@ public com.google.bigtable.v2.ColumnRange build() {
     @java.lang.Override
     public com.google.bigtable.v2.ColumnRange buildPartial() {
       com.google.bigtable.v2.ColumnRange result = new com.google.bigtable.v2.ColumnRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -689,39 +632,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ColumnRange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -736,36 +678,30 @@ public Builder mergeFrom(com.google.bigtable.v2.ColumnRange other) {
         onChanged();
       }
       switch (other.getStartQualifierCase()) {
-        case START_QUALIFIER_CLOSED:
-          {
-            setStartQualifierClosed(other.getStartQualifierClosed());
-            break;
-          }
-        case START_QUALIFIER_OPEN:
-          {
-            setStartQualifierOpen(other.getStartQualifierOpen());
-            break;
-          }
-        case STARTQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case START_QUALIFIER_CLOSED: {
+          setStartQualifierClosed(other.getStartQualifierClosed());
+          break;
+        }
+        case START_QUALIFIER_OPEN: {
+          setStartQualifierOpen(other.getStartQualifierOpen());
+          break;
+        }
+        case STARTQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       switch (other.getEndQualifierCase()) {
-        case END_QUALIFIER_CLOSED:
-          {
-            setEndQualifierClosed(other.getEndQualifierClosed());
-            break;
-          }
-        case END_QUALIFIER_OPEN:
-          {
-            setEndQualifierOpen(other.getEndQualifierOpen());
-            break;
-          }
-        case ENDQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case END_QUALIFIER_CLOSED: {
+          setEndQualifierClosed(other.getEndQualifierClosed());
+          break;
+        }
+        case END_QUALIFIER_OPEN: {
+          setEndQualifierOpen(other.getEndQualifierOpen());
+          break;
+        }
+        case ENDQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -793,43 +729,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 5;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -839,12 +769,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startQualifierCase_ = 0;
     private java.lang.Object startQualifier_;
-
-    public StartQualifierCase getStartQualifierCase() {
-      return StartQualifierCase.forNumber(startQualifierCase_);
+    public StartQualifierCase
+        getStartQualifierCase() {
+      return StartQualifierCase.forNumber(
+          startQualifierCase_);
     }
 
     public Builder clearStartQualifier() {
@@ -856,9 +786,10 @@ public Builder clearStartQualifier() {
 
     private int endQualifierCase_ = 0;
     private java.lang.Object endQualifier_;
-
-    public EndQualifierCase getEndQualifierCase() {
-      return EndQualifierCase.forNumber(endQualifierCase_);
+    public EndQualifierCase
+        getEndQualifierCase() {
+      return EndQualifierCase.forNumber(
+          endQualifierCase_);
     }
 
     public Builder clearEndQualifier() {
@@ -872,20 +803,18 @@ public Builder clearEndQualifier() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -894,21 +823,20 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -916,35 +844,28 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -954,21 +875,17 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -977,28 +894,22 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ public com.google.protobuf.ByteString getStartQualifierClosed() { @@ -1008,35 +919,27 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 2; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return This builder for chaining. */ public Builder clearStartQualifierClosed() { @@ -1049,28 +952,22 @@ public Builder clearStartQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ public com.google.protobuf.ByteString getStartQualifierOpen() { @@ -1080,35 +977,27 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 3; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return This builder for chaining. */ public Builder clearStartQualifierOpen() { @@ -1121,28 +1010,22 @@ public Builder clearStartQualifierOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ public com.google.protobuf.ByteString getEndQualifierClosed() { @@ -1152,35 +1035,27 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 4; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndQualifierClosed() { @@ -1193,28 +1068,22 @@ public Builder clearEndQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ public com.google.protobuf.ByteString getEndQualifierOpen() { @@ -1224,35 +1093,27 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 5; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return This builder for chaining. */ public Builder clearEndQualifierOpen() { @@ -1263,9 +1124,9 @@ public Builder clearEndQualifierOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1275,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ColumnRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ColumnRange) private static final com.google.bigtable.v2.ColumnRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ColumnRange(); } @@ -1289,27 +1150,27 @@ public static com.google.bigtable.v2.ColumnRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1324,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ColumnRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java index 505d263ea8..e4e40310ea 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java @@ -1,150 +1,105 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ColumnRangeOrBuilder - extends +public interface ColumnRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ColumnRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ boolean hasStartQualifierClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ com.google.protobuf.ByteString getStartQualifierClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ boolean hasStartQualifierOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ com.google.protobuf.ByteString getStartQualifierOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ boolean hasEndQualifierClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ com.google.protobuf.ByteString getEndQualifierClosed(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ boolean hasEndQualifierOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ com.google.protobuf.ByteString getEndQualifierOpen(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java new file mode 100644 index 0000000000..1b93593258 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,359 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/data.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public final class DataProto { + private DataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Row_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Family_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Family_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Column_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Column_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Cell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Cell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ColumnRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ValueRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\035google/bigtable/v2/data.proto\022\022google." + + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" + + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" + + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" + + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" + + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." + + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" + + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" + + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" + + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" + + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" + + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" + + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" + + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" + + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" + + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" + + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" + + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" + + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." + + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." + + "google.bigtable.v2.Mutation.DeleteFromCo" + + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + + "gle.bigtable.v2.Mutation.DeleteFromFamil" + + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" + + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" + + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" + + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" + + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" + + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" + + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" + + "tinuationToken\"`\n\027StreamContinuationToke" + + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" + + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" + + ".google.bigtable.v2B\tDataProtoP\001Z:google" + + ".golang.org/genproto/googleapis/bigtable" + + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" + + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" + + "ud::Bigtable::V2b\006proto3" + }; + 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( + internal_static_google_bigtable_v2_Row_descriptor, + new java.lang.String[] { "Key", "Families", }); + internal_static_google_bigtable_v2_Family_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_Family_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Family_descriptor, + new java.lang.String[] { "Name", "Columns", }); + internal_static_google_bigtable_v2_Column_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_Column_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Column_descriptor, + new java.lang.String[] { "Qualifier", "Cells", }); + internal_static_google_bigtable_v2_Cell_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_Cell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Cell_descriptor, + new java.lang.String[] { "TimestampMicros", "Value", "Labels", }); + internal_static_google_bigtable_v2_RowRange_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowRange_descriptor, + new java.lang.String[] { "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", }); + internal_static_google_bigtable_v2_RowSet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowSet_descriptor, + new java.lang.String[] { "RowKeys", "RowRanges", }); + internal_static_google_bigtable_v2_ColumnRange_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ColumnRange_descriptor, + new java.lang.String[] { "FamilyName", "StartQualifierClosed", "StartQualifierOpen", "EndQualifierClosed", "EndQualifierOpen", "StartQualifier", "EndQualifier", }); + internal_static_google_bigtable_v2_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_TimestampRange_descriptor, + new java.lang.String[] { "StartTimestampMicros", "EndTimestampMicros", }); + internal_static_google_bigtable_v2_ValueRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ValueRange_descriptor, + new java.lang.String[] { "StartValueClosed", "StartValueOpen", "EndValueClosed", "EndValueOpen", "StartValue", "EndValue", }); + internal_static_google_bigtable_v2_RowFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_descriptor, + new java.lang.String[] { "Chain", "Interleave", "Condition", "Sink", "PassAllFilter", "BlockAllFilter", "RowKeyRegexFilter", "RowSampleFilter", "FamilyNameRegexFilter", "ColumnQualifierRegexFilter", "ColumnRangeFilter", "TimestampRangeFilter", "ValueRegexFilter", "ValueRangeFilter", "CellsPerRowOffsetFilter", "CellsPerRowLimitFilter", "CellsPerColumnLimitFilter", "StripValueTransformer", "ApplyLabelTransformer", "Filter", }); + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, + new java.lang.String[] { "PredicateFilter", "TrueFilter", "FalseFilter", }); + internal_static_google_bigtable_v2_Mutation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_descriptor, + new java.lang.String[] { "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", }); + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimeRange", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, + new java.lang.String[] { "FamilyName", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", }); + internal_static_google_bigtable_v2_StreamPartition_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamPartition_descriptor, + new java.lang.String[] { "RowRange", }); + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, + new java.lang.String[] { "Tokens", }); + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, + new java.lang.String[] { "Partition", "Token", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java index 800e59d6e0..2c0dbcbf66 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column family intersection
  * of a table.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Family}
  */
-public final class Family extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Family extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Family)
     FamilyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Family.newBuilder() to construct.
   private Family(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Family() {
     name_ = "";
     columns_ = java.util.Collections.emptyList();
@@ -46,30 +28,28 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Family();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -108,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,12 +104,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List columns_; /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -142,8 +118,6 @@ public java.util.List getColumnsList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -151,13 +125,11 @@ public java.util.List getColumnsList() { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -169,8 +141,6 @@ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -182,8 +152,6 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -191,12 +159,12 @@ public com.google.bigtable.v2.Column getColumns(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -228,7 +197,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,15 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Family)) { return super.equals(obj); } com.google.bigtable.v2.Family other = (com.google.bigtable.v2.Family) obj; - if (!getName().equals(other.getName())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,103 +241,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Family parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Family parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Family parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Family parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Family parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Family parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Family prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column family intersection
    * of a table.
@@ -373,30 +341,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Family}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Family)
       com.google.bigtable.v2.FamilyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Family.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,7 +384,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
@@ -435,9 +407,7 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -465,39 +435,38 @@ private void buildPartial0(com.google.bigtable.v2.Family result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family) other);
+        return mergeFrom((com.google.bigtable.v2.Family)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,10 +498,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            columnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getColumnsFieldBuilder()
-                    : null;
+            columnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getColumnsFieldBuilder() : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -564,31 +532,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Column m =
-                    input.readMessage(com.google.bigtable.v2.Column.parser(), extensionRegistry);
-                if (columnsBuilder_ == null) {
-                  ensureColumnsIsMutable();
-                  columns_.add(m);
-                } else {
-                  columnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Column m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Column.parser(),
+                      extensionRegistry);
+              if (columnsBuilder_ == null) {
+                ensureColumnsIsMutable();
+                columns_.add(m);
+              } else {
+                columnsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -598,13 +565,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -615,13 +579,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -630,8 +594,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -642,14 +604,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -657,8 +620,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -669,22 +630,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -695,7 +652,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -705,8 +661,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -717,14 +671,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,24 +685,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> - columnsBuilder_; + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> columnsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -765,8 +711,6 @@ public java.util.List getColumnsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -781,8 +725,6 @@ public int getColumnsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -797,15 +739,14 @@ public com.google.bigtable.v2.Column getColumns(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column value) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -819,15 +760,14 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -838,8 +778,6 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -860,15 +798,14 @@ public Builder addColumns(com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column value) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -882,15 +819,14 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -901,15 +837,14 @@ public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -920,8 +855,6 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -932,7 +865,8 @@ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -940,8 +874,6 @@ public Builder addAllColumns( return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -959,8 +891,6 @@ public Builder clearColumns() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -978,44 +908,39 @@ public Builder removeColumns(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder getColumnsBuilder(int index) { + public com.google.bigtable.v2.Column.Builder getColumnsBuilder( + int index) { return getColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { if (columnsBuilder_ == null) { - return columns_.get(index); - } else { + return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -1023,8 +948,6 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -1032,54 +955,49 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ public com.google.bigtable.v2.Column.Builder addColumnsBuilder() { - return getColumnsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Column.getDefaultInstance()); + return getColumnsFieldBuilder().addBuilder( + com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder addColumnsBuilder(int index) { - return getColumnsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Column.getDefaultInstance()); + public com.google.bigtable.v2.Column.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder>( - columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder>( + columns_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); columns_ = null; } return columnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +1007,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Family) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Family) private static final com.google.bigtable.v2.Family DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Family(); } @@ -1103,27 +1021,27 @@ public static com.google.bigtable.v2.Family getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Family parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Family parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1056,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Family getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java index 66440e89d1..fd057af908 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface FamilyOrBuilder - extends +public interface FamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Family) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -37,13 +19,10 @@ public interface FamilyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -54,24 +33,21 @@ public interface FamilyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -80,8 +56,6 @@ public interface FamilyOrBuilder */ com.google.bigtable.v2.Column getColumns(int index); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -90,23 +64,21 @@ public interface FamilyOrBuilder */ int getColumnsCount(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - java.util.List getColumnsOrBuilderList(); + java.util.List + getColumnsOrBuilderList(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index); + com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java index 8ec9e22fa2..4c3c227e5d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/feature_flags.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Feature flags supported or enabled by a client.
  * This is intended to be sent as part of request metadata to assure the server
@@ -35,51 +18,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.FeatureFlags}
  */
-public final class FeatureFlags extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FeatureFlags extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.FeatureFlags)
     FeatureFlagsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FeatureFlags.newBuilder() to construct.
   private FeatureFlags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FeatureFlags() {}
+  private FeatureFlags() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FeatureFlags();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.FeatureFlags.class,
-            com.google.bigtable.v2.FeatureFlags.Builder.class);
+            com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
   }
 
   public static final int REVERSE_SCANS_FIELD_NUMBER = 1;
   private boolean reverseScans_ = false;
   /**
-   *
-   *
    * 
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ @java.lang.Override @@ -90,8 +69,6 @@ public boolean getReverseScans() { public static final int MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER = 3; private boolean mutateRowsRateLimit_ = false; /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -99,7 +76,6 @@ public boolean getReverseScans() {
    * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -110,8 +86,6 @@ public boolean getMutateRowsRateLimit() { public static final int MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER = 5; private boolean mutateRowsRateLimit2_ = false; /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -119,7 +93,6 @@ public boolean getMutateRowsRateLimit() {
    * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ @java.lang.Override @@ -130,15 +103,12 @@ public boolean getMutateRowsRateLimit2() { public static final int LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER = 4; private boolean lastScannedRowResponses_ = false; /** - * - * *
    * Notify the server that the client supports the last_scanned_row field
    * in ReadRowsResponse for long-running scans.
    * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ @java.lang.Override @@ -149,15 +119,12 @@ public boolean getLastScannedRowResponses() { public static final int ROUTING_COOKIE_FIELD_NUMBER = 6; private boolean routingCookie_ = false; /** - * - * *
    * Notify the server that the client supports using encoded routing cookie
    * strings to retry requests with.
    * 
* * bool routing_cookie = 6; - * * @return The routingCookie. */ @java.lang.Override @@ -168,15 +135,12 @@ public boolean getRoutingCookie() { public static final int RETRY_INFO_FIELD_NUMBER = 7; private boolean retryInfo_ = false; /** - * - * *
    * Notify the server that the client supports using retry info back off
    * durations to retry requests with.
    * 
* * bool retry_info = 7; - * * @return The retryInfo. */ @java.lang.Override @@ -185,7 +149,6 @@ public boolean getRetryInfo() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (reverseScans_ != false) { output.writeBool(1, reverseScans_); } @@ -226,22 +190,28 @@ public int getSerializedSize() { size = 0; if (reverseScans_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, reverseScans_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, reverseScans_); } if (mutateRowsRateLimit_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, mutateRowsRateLimit_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, mutateRowsRateLimit_); } if (lastScannedRowResponses_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, lastScannedRowResponses_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, lastScannedRowResponses_); } if (mutateRowsRateLimit2_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, mutateRowsRateLimit2_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, mutateRowsRateLimit2_); } if (routingCookie_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, routingCookie_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, routingCookie_); } if (retryInfo_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, retryInfo_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, retryInfo_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,19 +221,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.FeatureFlags)) { return super.equals(obj); } com.google.bigtable.v2.FeatureFlags other = (com.google.bigtable.v2.FeatureFlags) obj; - if (getReverseScans() != other.getReverseScans()) return false; - if (getMutateRowsRateLimit() != other.getMutateRowsRateLimit()) return false; - if (getMutateRowsRateLimit2() != other.getMutateRowsRateLimit2()) return false; - if (getLastScannedRowResponses() != other.getLastScannedRowResponses()) return false; - if (getRoutingCookie() != other.getRoutingCookie()) return false; - if (getRetryInfo() != other.getRetryInfo()) return false; + if (getReverseScans() + != other.getReverseScans()) return false; + if (getMutateRowsRateLimit() + != other.getMutateRowsRateLimit()) return false; + if (getMutateRowsRateLimit2() + != other.getMutateRowsRateLimit2()) return false; + if (getLastScannedRowResponses() + != other.getLastScannedRowResponses()) return false; + if (getRoutingCookie() + != other.getRoutingCookie()) return false; + if (getRetryInfo() + != other.getRetryInfo()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,119 +252,121 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REVERSE_SCANS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverseScans()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReverseScans()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMutateRowsRateLimit()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit2()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMutateRowsRateLimit2()); hash = (37 * hash) + LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastScannedRowResponses()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLastScannedRowResponses()); hash = (37 * hash) + ROUTING_COOKIE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRoutingCookie()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRoutingCookie()); hash = (37 * hash) + RETRY_INFO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRetryInfo()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRetryInfo()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.FeatureFlags parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.FeatureFlags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Feature flags supported or enabled by a client.
    * This is intended to be sent as part of request metadata to assure the server
@@ -402,32 +380,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.FeatureFlags}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FeatureFlags)
       com.google.bigtable.v2.FeatureFlagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.FeatureFlags.class,
-              com.google.bigtable.v2.FeatureFlags.Builder.class);
+              com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.FeatureFlags.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +421,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
@@ -464,9 +443,7 @@ public com.google.bigtable.v2.FeatureFlags build() {
     @java.lang.Override
     public com.google.bigtable.v2.FeatureFlags buildPartial() {
       com.google.bigtable.v2.FeatureFlags result = new com.google.bigtable.v2.FeatureFlags(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -497,39 +474,38 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.FeatureFlags) {
-        return mergeFrom((com.google.bigtable.v2.FeatureFlags) other);
+        return mergeFrom((com.google.bigtable.v2.FeatureFlags)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -582,49 +558,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                reverseScans_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 24:
-              {
-                mutateRowsRateLimit_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            case 32:
-              {
-                lastScannedRowResponses_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                mutateRowsRateLimit2_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 40
-            case 48:
-              {
-                routingCookie_ = input.readBool();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 48
-            case 56:
-              {
-                retryInfo_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              reverseScans_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 24: {
+              mutateRowsRateLimit_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            case 32: {
+              lastScannedRowResponses_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              mutateRowsRateLimit2_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 40
+            case 48: {
+              routingCookie_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 48
+            case 56: {
+              retryInfo_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -634,20 +603,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean reverseScans_;
+    private boolean reverseScans_ ;
     /**
-     *
-     *
      * 
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ @java.lang.Override @@ -655,15 +620,12 @@ public boolean getReverseScans() { return reverseScans_; } /** - * - * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @param value The reverseScans to set. * @return This builder for chaining. */ @@ -675,15 +637,12 @@ public Builder setReverseScans(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @return This builder for chaining. */ public Builder clearReverseScans() { @@ -693,10 +652,8 @@ public Builder clearReverseScans() { return this; } - private boolean mutateRowsRateLimit_; + private boolean mutateRowsRateLimit_ ; /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -704,7 +661,6 @@ public Builder clearReverseScans() {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -712,8 +668,6 @@ public boolean getMutateRowsRateLimit() { return mutateRowsRateLimit_; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -721,7 +675,6 @@ public boolean getMutateRowsRateLimit() {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @param value The mutateRowsRateLimit to set. * @return This builder for chaining. */ @@ -733,8 +686,6 @@ public Builder setMutateRowsRateLimit(boolean value) { return this; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -742,7 +693,6 @@ public Builder setMutateRowsRateLimit(boolean value) {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit() { @@ -752,10 +702,8 @@ public Builder clearMutateRowsRateLimit() { return this; } - private boolean mutateRowsRateLimit2_; + private boolean mutateRowsRateLimit2_ ; /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -763,7 +711,6 @@ public Builder clearMutateRowsRateLimit() {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ @java.lang.Override @@ -771,8 +718,6 @@ public boolean getMutateRowsRateLimit2() { return mutateRowsRateLimit2_; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -780,7 +725,6 @@ public boolean getMutateRowsRateLimit2() {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @param value The mutateRowsRateLimit2 to set. * @return This builder for chaining. */ @@ -792,8 +736,6 @@ public Builder setMutateRowsRateLimit2(boolean value) { return this; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -801,7 +743,6 @@ public Builder setMutateRowsRateLimit2(boolean value) {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit2() { @@ -811,17 +752,14 @@ public Builder clearMutateRowsRateLimit2() { return this; } - private boolean lastScannedRowResponses_; + private boolean lastScannedRowResponses_ ; /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ @java.lang.Override @@ -829,15 +767,12 @@ public boolean getLastScannedRowResponses() { return lastScannedRowResponses_; } /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @param value The lastScannedRowResponses to set. * @return This builder for chaining. */ @@ -849,15 +784,12 @@ public Builder setLastScannedRowResponses(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @return This builder for chaining. */ public Builder clearLastScannedRowResponses() { @@ -867,17 +799,14 @@ public Builder clearLastScannedRowResponses() { return this; } - private boolean routingCookie_; + private boolean routingCookie_ ; /** - * - * *
      * Notify the server that the client supports using encoded routing cookie
      * strings to retry requests with.
      * 
* * bool routing_cookie = 6; - * * @return The routingCookie. */ @java.lang.Override @@ -885,15 +814,12 @@ public boolean getRoutingCookie() { return routingCookie_; } /** - * - * *
      * Notify the server that the client supports using encoded routing cookie
      * strings to retry requests with.
      * 
* * bool routing_cookie = 6; - * * @param value The routingCookie to set. * @return This builder for chaining. */ @@ -905,15 +831,12 @@ public Builder setRoutingCookie(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports using encoded routing cookie
      * strings to retry requests with.
      * 
* * bool routing_cookie = 6; - * * @return This builder for chaining. */ public Builder clearRoutingCookie() { @@ -923,17 +846,14 @@ public Builder clearRoutingCookie() { return this; } - private boolean retryInfo_; + private boolean retryInfo_ ; /** - * - * *
      * Notify the server that the client supports using retry info back off
      * durations to retry requests with.
      * 
* * bool retry_info = 7; - * * @return The retryInfo. */ @java.lang.Override @@ -941,15 +861,12 @@ public boolean getRetryInfo() { return retryInfo_; } /** - * - * *
      * Notify the server that the client supports using retry info back off
      * durations to retry requests with.
      * 
* * bool retry_info = 7; - * * @param value The retryInfo to set. * @return This builder for chaining. */ @@ -961,15 +878,12 @@ public Builder setRetryInfo(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports using retry info back off
      * durations to retry requests with.
      * 
* * bool retry_info = 7; - * * @return This builder for chaining. */ public Builder clearRetryInfo() { @@ -978,9 +892,9 @@ public Builder clearRetryInfo() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -990,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FeatureFlags) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.FeatureFlags) private static final com.google.bigtable.v2.FeatureFlags DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.FeatureFlags(); } @@ -1004,27 +918,27 @@ public static com.google.bigtable.v2.FeatureFlags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeatureFlags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeatureFlags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1039,4 +953,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.FeatureFlags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java index 4e5e3c3f6a..5d7b478818 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java @@ -1,46 +1,25 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/feature_flags.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface FeatureFlagsOrBuilder - extends +public interface FeatureFlagsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FeatureFlags) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ boolean getReverseScans(); /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -48,14 +27,11 @@ public interface FeatureFlagsOrBuilder
    * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ boolean getMutateRowsRateLimit(); /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -63,49 +39,39 @@ public interface FeatureFlagsOrBuilder
    * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ boolean getMutateRowsRateLimit2(); /** - * - * *
    * Notify the server that the client supports the last_scanned_row field
    * in ReadRowsResponse for long-running scans.
    * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ boolean getLastScannedRowResponses(); /** - * - * *
    * Notify the server that the client supports using encoded routing cookie
    * strings to retry requests with.
    * 
* * bool routing_cookie = 6; - * * @return The routingCookie. */ boolean getRoutingCookie(); /** - * - * *
    * Notify the server that the client supports using retry info back off
    * durations to retry requests with.
    * 
* * bool retry_info = 7; - * * @return The retryInfo. */ boolean getRetryInfo(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java new file mode 100644 index 0000000000..40b10da1e3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/feature_flags.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public final class FeatureFlagsProto { + private FeatureFlagsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_FeatureFlags_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/bigtable/v2/feature_flags.proto" + + "\022\022google.bigtable.v2\"\266\001\n\014FeatureFlags\022\025\n" + + "\rreverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate" + + "_limit\030\003 \001(\010\022\037\n\027mutate_rows_rate_limit2\030" + + "\005 \001(\010\022\"\n\032last_scanned_row_responses\030\004 \001(" + + "\010\022\026\n\016routing_cookie\030\006 \001(\010\022\022\n\nretry_info\030" + + "\007 \001(\010B\275\001\n\026com.google.bigtable.v2B\021Featur" + + "eFlagsProtoP\001Z:google.golang.org/genprot" + + "o/googleapis/bigtable/v2;bigtable\252\002\030Goog" + + "le.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\Bigt" + + "able\\V2\352\002\033Google::Cloud::Bigtable::V2b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_FeatureFlags_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_FeatureFlags_descriptor, + new java.lang.String[] { "ReverseScans", "MutateRowsRateLimit", "MutateRowsRateLimit2", "LastScannedRowResponses", "RoutingCookie", "RetryInfo", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index 7e4a4499ed..2291852f21 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto @@ -20,53 +5,48 @@ package com.google.bigtable.v2; /** - * - * *
  * FullReadStatsView captures all known information about a read.
  * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class FullReadStatsView extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FullReadStatsView extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.FullReadStatsView) FullReadStatsViewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FullReadStatsView.newBuilder() to construct. private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FullReadStatsView() {} + private FullReadStatsView() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FullReadStatsView(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } private int bitField0_; public static final int READ_ITERATION_STATS_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ @java.lang.Override @@ -83,8 +62,6 @@ public boolean hasReadIterationStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -93,18 +70,13 @@ public boolean hasReadIterationStats() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ @java.lang.Override public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -116,23 +88,18 @@ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() {
-    return readIterationStats_ == null
-        ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-        : readIterationStats_;
+    return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
   }
 
   public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2;
   private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ @java.lang.Override @@ -140,26 +107,19 @@ public boolean hasRequestLatencyStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ @java.lang.Override public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
@@ -169,13 +129,10 @@ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() {
-    return requestLatencyStats_ == null
-        ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-        : requestLatencyStats_;
+    return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,7 +144,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getReadIterationStats());
     }
@@ -204,10 +162,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIterationStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReadIterationStats());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRequestLatencyStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -217,7 +177,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.FullReadStatsView)) {
       return super.equals(obj);
@@ -226,11 +186,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasReadIterationStats() != other.hasReadIterationStats()) return false;
     if (hasReadIterationStats()) {
-      if (!getReadIterationStats().equals(other.getReadIterationStats())) return false;
+      if (!getReadIterationStats()
+          .equals(other.getReadIterationStats())) return false;
     }
     if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false;
     if (hasRequestLatencyStats()) {
-      if (!getRequestLatencyStats().equals(other.getRequestLatencyStats())) return false;
+      if (!getRequestLatencyStats()
+          .equals(other.getRequestLatencyStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -256,127 +218,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.FullReadStatsView parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.FullReadStatsView prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * FullReadStatsView captures all known information about a read.
    * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FullReadStatsView) com.google.bigtable.v2.FullReadStatsViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } // Construct using com.google.bigtable.v2.FullReadStatsView.newBuilder() @@ -384,18 +339,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReadIterationStatsFieldBuilder(); getRequestLatencyStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +369,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override @@ -435,11 +390,8 @@ public com.google.bigtable.v2.FullReadStatsView build() { @java.lang.Override public com.google.bigtable.v2.FullReadStatsView buildPartial() { - com.google.bigtable.v2.FullReadStatsView result = - new com.google.bigtable.v2.FullReadStatsView(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.FullReadStatsView result = new com.google.bigtable.v2.FullReadStatsView(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -448,17 +400,15 @@ private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readIterationStats_ = - readIterationStatsBuilder_ == null - ? readIterationStats_ - : readIterationStatsBuilder_.build(); + result.readIterationStats_ = readIterationStatsBuilder_ == null + ? readIterationStats_ + : readIterationStatsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestLatencyStats_ = - requestLatencyStatsBuilder_ == null - ? requestLatencyStats_ - : requestLatencyStatsBuilder_.build(); + result.requestLatencyStats_ = requestLatencyStatsBuilder_ == null + ? requestLatencyStats_ + : requestLatencyStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -468,39 +418,38 @@ private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.FullReadStatsView) { - return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); + return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); } else { super.mergeFrom(other); return this; @@ -541,27 +490,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getReadIterationStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadIterationStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,18 +519,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIterationStats, - com.google.bigtable.v2.ReadIterationStats.Builder, - com.google.bigtable.v2.ReadIterationStatsOrBuilder> - readIterationStatsBuilder_; + com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> readIterationStatsBuilder_; /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -591,15 +533,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ public boolean hasReadIterationStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -608,21 +547,16 @@ public boolean hasReadIterationStats() {
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { if (readIterationStatsBuilder_ == null) { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } else { return readIterationStatsBuilder_.getMessage(); } } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -646,8 +580,6 @@ public Builder setReadIterationStats(com.google.bigtable.v2.ReadIterationStats v
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -669,8 +601,6 @@ public Builder setReadIterationStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -682,10 +612,9 @@ public Builder setReadIterationStats(
      */
     public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) {
       if (readIterationStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && readIterationStats_ != null
-            && readIterationStats_
-                != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          readIterationStats_ != null &&
+          readIterationStats_ != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
           getReadIterationStatsBuilder().mergeFrom(value);
         } else {
           readIterationStats_ = value;
@@ -700,8 +629,6 @@ public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -722,8 +649,6 @@ public Builder clearReadIterationStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -739,8 +664,6 @@ public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBu
       return getReadIterationStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -754,14 +677,11 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
       if (readIterationStatsBuilder_ != null) {
         return readIterationStatsBuilder_.getMessageOrBuilder();
       } else {
-        return readIterationStats_ == null
-            ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-            : readIterationStats_;
+        return readIterationStats_ == null ?
+            com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -772,17 +692,14 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
      * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadIterationStats,
-            com.google.bigtable.v2.ReadIterationStats.Builder,
-            com.google.bigtable.v2.ReadIterationStatsOrBuilder>
+        com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> 
         getReadIterationStatsFieldBuilder() {
       if (readIterationStatsBuilder_ == null) {
-        readIterationStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.ReadIterationStats,
-                com.google.bigtable.v2.ReadIterationStats.Builder,
-                com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
-                getReadIterationStats(), getParentForChildren(), isClean());
+        readIterationStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
+                getReadIterationStats(),
+                getParentForChildren(),
+                isClean());
         readIterationStats_ = null;
       }
       return readIterationStatsBuilder_;
@@ -790,49 +707,36 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
 
     private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
-        requestLatencyStatsBuilder_;
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> requestLatencyStatsBuilder_;
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ public boolean hasRequestLatencyStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { if (requestLatencyStatsBuilder_ == null) { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } else { return requestLatencyStatsBuilder_.getMessage(); } } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -854,8 +758,6 @@ public Builder setRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -875,8 +777,6 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -886,10 +786,9 @@ public Builder setRequestLatencyStats(
      */
     public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) {
       if (requestLatencyStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && requestLatencyStats_ != null
-            && requestLatencyStats_
-                != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          requestLatencyStats_ != null &&
+          requestLatencyStats_ != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
           getRequestLatencyStatsBuilder().mergeFrom(value);
         } else {
           requestLatencyStats_ = value;
@@ -904,8 +803,6 @@ public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencySta
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -924,8 +821,6 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -939,8 +834,6 @@ public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStats
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -952,14 +845,11 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
       if (requestLatencyStatsBuilder_ != null) {
         return requestLatencyStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestLatencyStats_ == null
-            ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-            : requestLatencyStats_;
+        return requestLatencyStats_ == null ?
+            com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -968,24 +858,21 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
      * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> 
         getRequestLatencyStatsFieldBuilder() {
       if (requestLatencyStatsBuilder_ == null) {
-        requestLatencyStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestLatencyStats,
-                com.google.bigtable.v2.RequestLatencyStats.Builder,
-                com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
-                getRequestLatencyStats(), getParentForChildren(), isClean());
+        requestLatencyStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
+                getRequestLatencyStats(),
+                getParentForChildren(),
+                isClean());
         requestLatencyStats_ = null;
       }
       return requestLatencyStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -995,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FullReadStatsView)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.FullReadStatsView)
   private static final com.google.bigtable.v2.FullReadStatsView DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.FullReadStatsView();
   }
@@ -1009,27 +896,27 @@ public static com.google.bigtable.v2.FullReadStatsView getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FullReadStatsView parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FullReadStatsView parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1044,4 +931,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
similarity index 78%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
index df26d0173c..533ac932c3 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface FullReadStatsViewOrBuilder
-    extends
+public interface FullReadStatsViewOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FullReadStatsView)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -35,13 +17,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ boolean hasReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -50,13 +29,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ com.google.bigtable.v2.ReadIterationStats getReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -69,34 +45,26 @@ public interface FullReadStatsViewOrBuilder
   com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ boolean hasRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
similarity index 63%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
index 6a0b4cbe66..d38148342b 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -29,18 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
  */
-public final class GenerateInitialChangeStreamPartitionsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
     GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsRequest.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateInitialChangeStreamPartitionsRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -48,32 +28,28 @@ private GenerateInitialChangeStreamPartitionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -81,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -93,15 +66,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -109,18 +81,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -129,12 +100,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -142,7 +110,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -151,15 +118,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -167,15 +133,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -184,7 +151,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -226,16 +193,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -257,105 +225,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -363,33 +324,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -400,16 +361,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -423,17 +382,13 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest build
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.tableName_ = tableName_;
@@ -447,51 +402,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance()) return this;
       if (!other.getTableName().isEmpty()) {
         tableName_ = other.tableName_;
         bitField0_ |= 0x00000001;
@@ -528,25 +478,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,13 +503,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -570,16 +514,14 @@ public Builder mergeFrom(
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -588,8 +530,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -597,17 +537,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -615,8 +554,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -624,25 +561,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -650,10 +581,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -663,8 +591,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -672,17 +598,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -692,8 +614,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -701,13 +621,13 @@ 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -716,8 +636,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -725,14 +643,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -740,8 +659,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -749,22 +666,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -772,7 +685,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -782,8 +694,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -791,23 +701,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -817,59 +725,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java index dd67fe5fbf..9c062cb718 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -34,16 +16,11 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -51,17 +28,13 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -69,13 +42,10 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -83,8 +53,8 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java index af34fb73d6..bb8053e7fd 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -29,53 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
  */
-public final class GenerateInitialChangeStreamPartitionsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
     GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsResponse.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private GenerateInitialChangeStreamPartitionsResponse() {}
+  private GenerateInitialChangeStreamPartitionsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -83,25 +60,18 @@ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * A partition of the change stream.
    * 
@@ -110,13 +80,10 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +95,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPartition()); } @@ -142,7 +110,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +121,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -185,105 +154,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -291,42 +253,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -340,16 +299,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -363,21 +320,19 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buil
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -387,51 +342,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance()) return this;
       if (other.hasPartition()) {
         mergePartition(other.getPartition());
       }
@@ -461,19 +411,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -483,52 +433,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -549,15 +485,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -568,8 +503,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -578,9 +511,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -595,8 +528,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -614,8 +545,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -628,8 +557,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * A partition of the change stream.
      * 
@@ -640,14 +567,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -655,24 +579,21 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,59 +603,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java index 79782264e8..a6f65984b4 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * A partition of the change stream.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java similarity index 99% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java index 7cf6525b1c..cc4f7e627b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java index 00951d8bad..7e59589930 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ -public final class MutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowRequest) MutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowRequest.newBuilder() to construct. private MutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -47,42 +29,35 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -91,33 +66,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -126,19 +99,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -147,30 +116,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -181,14 +150,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -197,98 +163,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -326,10 +272,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, mutations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -342,17 +290,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowRequest other = (com.google.bigtable.v2.MutateRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -379,136 +331,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowRequest) com.google.bigtable.v2.MutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -527,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override @@ -548,12 +496,9 @@ public com.google.bigtable.v2.MutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowRequest buildPartial() { - com.google.bigtable.v2.MutateRowRequest result = - new com.google.bigtable.v2.MutateRowRequest(this); + com.google.bigtable.v2.MutateRowRequest result = new com.google.bigtable.v2.MutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -587,39 +532,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -659,10 +603,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000008); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -694,43 +637,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -740,29 +680,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -771,25 +706,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -797,43 +729,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -843,25 +764,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -871,21 +786,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -894,22 +807,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -917,37 +829,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -957,22 +862,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -982,14 +883,11 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -997,35 +895,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1036,33 +926,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -1072,17 +954,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -1092,17 +970,13 @@ public int getMutationsCount() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -1112,19 +986,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1138,17 +1009,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1162,17 +1029,13 @@ public Builder setMutations( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -1188,19 +1051,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,19 +1074,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -1237,17 +1094,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1261,23 +1114,20 @@ public Builder addMutations( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1285,17 +1135,13 @@ public Builder addAllMutations( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1308,17 +1154,13 @@ public Builder clearMutations() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1331,56 +1173,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1388,75 +1219,62 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1466,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowRequest) private static final com.google.bigtable.v2.MutateRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowRequest(); } @@ -1480,27 +1298,27 @@ public static com.google.bigtable.v2.MutateRowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1515,4 +1333,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java index 9afdab443c..24ab924de6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -1,170 +1,120 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface MutateRowRequestOrBuilder - extends +public interface MutateRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java index 86da56df86..145e5c2b83 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,49 +5,45 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ -public final class MutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowResponse) MutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowResponse.newBuilder() to construct. private MutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutateRowResponse() {} + private MutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,7 +55,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -92,7 +74,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowResponse)) { return super.equals(obj); @@ -115,136 +97,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowResponse) com.google.bigtable.v2.MutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -252,9 +230,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override @@ -273,8 +251,7 @@ public com.google.bigtable.v2.MutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowResponse buildPartial() { - com.google.bigtable.v2.MutateRowResponse result = - new com.google.bigtable.v2.MutateRowResponse(this); + com.google.bigtable.v2.MutateRowResponse result = new com.google.bigtable.v2.MutateRowResponse(this); onBuilt(); return result; } @@ -283,39 +260,38 @@ public com.google.bigtable.v2.MutateRowResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -350,13 +326,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -366,9 +341,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -378,12 +353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowResponse) private static final com.google.bigtable.v2.MutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowResponse(); } @@ -392,27 +367,27 @@ public static com.google.bigtable.v2.MutateRowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -427,4 +402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..3623cb6a56 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java @@ -0,0 +1,10 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public interface MutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index 6b33e66fce..8b426c7769 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ -public final class MutateRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest) MutateRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsRequest.newBuilder() to construct. private MutateRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,133 +28,108 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index); } /** - * - * *
    * 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 + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entry() { rowKey_ = com.google.protobuf.ByteString.EMPTY; mutations_ = java.util.Collections.emptyList(); @@ -180,36 +137,32 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -218,98 +171,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -338,10 +271,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mutations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -351,16 +286,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest.Entry)) { return super.equals(obj); } - com.google.bigtable.v2.MutateRowsRequest.Entry other = - (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; + com.google.bigtable.v2.MutateRowsRequest.Entry other = (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -383,94 +319,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -480,41 +412,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * 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 + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest.Entry) com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.Entry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +461,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override @@ -552,18 +482,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsRequest.Entry result = - new com.google.bigtable.v2.MutateRowsRequest.Entry(this); + com.google.bigtable.v2.MutateRowsRequest.Entry result = new com.google.bigtable.v2.MutateRowsRequest.Entry(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.MutateRowsRequest.Entry result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.MutateRowsRequest.Entry result) { if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); @@ -586,41 +512,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest.Entry result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry)other); } else { super.mergeFrom(other); return this; @@ -628,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) return this; if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) { setRowKey(other.getRowKey()); } @@ -651,10 +573,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000002); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -686,32 +607,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -721,19 +640,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -741,35 +656,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -780,33 +687,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -816,17 +715,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -836,17 +731,13 @@ public int getMutationsCount() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -856,19 +747,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -882,17 +770,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -906,17 +790,13 @@ public Builder setMutations( return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -932,19 +812,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -958,19 +835,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -981,17 +855,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1005,23 +875,20 @@ public Builder addMutations( return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1029,17 +896,13 @@ public Builder addAllMutations( return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1052,17 +915,13 @@ public Builder clearMutations() { return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1075,56 +934,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1132,73 +980,59 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1211,12 +1045,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest.Entry) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest.Entry) private static final com.google.bigtable.v2.MutateRowsRequest.Entry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest.Entry(); } @@ -1225,28 +1059,27 @@ public static com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,24 +1094,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -1287,32 +1115,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1321,19 +1147,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ @java.lang.Override @@ -1342,30 +1164,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1374,12 +1196,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } public static final int ENTRIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List entries_; /** - * - * *
    * 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
@@ -1388,17 +1207,13 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * 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
@@ -1407,18 +1222,14 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * 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
@@ -1427,17 +1238,13 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * 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
@@ -1446,17 +1253,13 @@ public int getEntriesCount() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * 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
@@ -1465,17 +1268,15 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1487,7 +1288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -1510,7 +1312,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appProfileId_); @@ -1523,16 +1326,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowsRequest other = (com.google.bigtable.v2.MutateRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getEntriesList().equals(other.getEntriesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1557,136 +1363,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest) com.google.bigtable.v2.MutateRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1704,9 +1506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override @@ -1725,12 +1527,9 @@ public com.google.bigtable.v2.MutateRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest buildPartial() { - com.google.bigtable.v2.MutateRowsRequest result = - new com.google.bigtable.v2.MutateRowsRequest(this); + com.google.bigtable.v2.MutateRowsRequest result = new com.google.bigtable.v2.MutateRowsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1761,39 +1560,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -1830,10 +1628,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000004); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1865,38 +1662,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.MutateRowsRequest.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.MutateRowsRequest.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1906,28 +1700,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1936,24 +1725,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1961,41 +1747,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * 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) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -2005,24 +1780,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -2032,21 +1801,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -2055,22 +1822,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -2078,37 +1844,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -2118,22 +1877,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -2142,25 +1897,18 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { } private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * 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
@@ -2169,9 +1917,7 @@ private void ensureEntriesIsMutable() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { @@ -2181,8 +1927,6 @@ public java.util.List getEntries } } /** - * - * *
      * 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
@@ -2191,9 +1935,7 @@ public java.util.List getEntries
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -2203,8 +1945,6 @@ public int getEntriesCount() { } } /** - * - * *
      * 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
@@ -2213,9 +1953,7 @@ public int getEntriesCount() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { @@ -2225,8 +1963,6 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { } } /** - * - * *
      * 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
@@ -2235,11 +1971,10 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2253,8 +1988,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * 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
@@ -2263,9 +1996,7 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { @@ -2279,8 +2010,6 @@ public Builder setEntries( return this; } /** - * - * *
      * 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
@@ -2289,9 +2018,7 @@ public Builder setEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { @@ -2307,8 +2034,6 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) return this; } /** - * - * *
      * 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
@@ -2317,11 +2042,10 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value)
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2335,8 +2059,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * 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
@@ -2345,9 +2067,7 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries( com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2361,8 +2081,6 @@ public Builder addEntries( return this; } /** - * - * *
      * 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
@@ -2371,9 +2089,7 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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) { @@ -2387,8 +2103,6 @@ public Builder addEntries( return this; } /** - * - * *
      * 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
@@ -2397,15 +2111,14 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -2413,8 +2126,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * 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
@@ -2423,9 +2134,7 @@ public Builder addAllEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -2438,8 +2147,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * 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
@@ -2448,9 +2155,7 @@ public Builder clearEntries() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -2463,8 +2168,6 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * 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
@@ -2473,16 +2176,13 @@ public Builder removeEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * 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
@@ -2491,20 +2191,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * 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
@@ -2513,12 +2209,10 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -2526,8 +2220,6 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild } } /** - * - * *
      * 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
@@ -2536,17 +2228,13 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * 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
@@ -2555,17 +2243,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * 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() - .addBuilder(index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * 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
@@ -2574,34 +2259,29 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - 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()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + 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_ = null; } return entriesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2611,12 +2291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest) private static final com.google.bigtable.v2.MutateRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest(); } @@ -2625,27 +2305,27 @@ public static com.google.bigtable.v2.MutateRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2660,4 +2340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java index 2eac544e6c..87e5f7dca5 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -1,90 +1,58 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface MutateRowsRequestOrBuilder - extends +public interface MutateRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * 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) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * 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
@@ -93,14 +61,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * 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
@@ -109,14 +74,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index); /** - * - * *
    * 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
@@ -125,14 +86,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getEntriesCount(); /** - * - * *
    * 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
@@ -141,15 +98,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * 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
@@ -158,9 +111,8 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java index 89c986e9fb..28d8294f50 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,71 +5,61 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ -public final class MutateRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse) MutateRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsResponse.newBuilder() to construct. private MutateRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsResponse() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ long getIndex(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -93,13 +68,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -108,13 +80,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -127,60 +96,54 @@ public interface EntryOrBuilder
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
-   *
-   *
    * 
    * 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 + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Entry() {} + private Entry() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } private int bitField0_; public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -191,8 +154,6 @@ public long getIndex() { public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -201,7 +162,6 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -209,8 +169,6 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -219,7 +177,6 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -227,8 +184,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -244,7 +199,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -256,7 +210,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (index_ != 0L) {
         output.writeInt64(1, index_);
       }
@@ -273,10 +228,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (index_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, index_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt64Size(1, index_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -286,18 +243,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse.Entry)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.MutateRowsResponse.Entry other =
-          (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
+      com.google.bigtable.v2.MutateRowsResponse.Entry other = (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
 
-      if (getIndex() != other.getIndex()) return false;
+      if (getIndex()
+          != other.getIndex()) return false;
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -311,7 +269,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + INDEX_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIndex());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          getIndex());
       if (hasStatus()) {
         hash = (37 * hash) + STATUS_FIELD_NUMBER;
         hash = (53 * hash) + getStatus().hashCode();
@@ -322,93 +281,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -418,32 +373,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * 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 + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse.Entry) com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.Entry.newBuilder() @@ -451,17 +401,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStatusFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override @@ -497,11 +447,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsResponse.Entry result = - new com.google.bigtable.v2.MutateRowsResponse.Entry(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.MutateRowsResponse.Entry result = new com.google.bigtable.v2.MutateRowsResponse.Entry(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -513,7 +460,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -523,41 +472,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry)other); } else { super.mergeFrom(other); return this; @@ -565,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) return this; if (other.getIndex() != 0L) { setIndex(other.getIndex()); } @@ -599,25 +544,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -627,20 +571,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long index_; + private long index_ ; /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -648,15 +588,12 @@ public long getIndex() { return index_; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ @@ -668,15 +605,12 @@ public Builder setIndex(long value) { return this; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -688,11 +622,8 @@ public Builder clearIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -701,15 +632,12 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -718,7 +646,6 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -729,8 +656,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -754,8 +679,6 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -765,7 +688,8 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(
+          com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
         } else {
@@ -776,8 +700,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -789,9 +711,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
        */
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && status_ != null
-              && status_ != com.google.rpc.Status.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            status_ != null &&
+            status_ != com.google.rpc.Status.getDefaultInstance()) {
             getStatusBuilder().mergeFrom(value);
           } else {
             status_ = value;
@@ -806,8 +728,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -828,8 +748,6 @@ public Builder clearStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -845,8 +763,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
         return getStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -860,12 +776,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ?
+              com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -876,19 +791,18 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.rpc.Status,
-                  com.google.rpc.Status.Builder,
-                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                  getStatus(),
+                  getParentForChildren(),
+                  isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -901,12 +815,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     private static final com.google.bigtable.v2.MutateRowsResponse.Entry DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse.Entry();
     }
@@ -915,28 +829,27 @@ public static com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstance
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Entry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Entry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -951,16 +864,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   public static final int ENTRIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -972,8 +883,6 @@ public java.util.List getEntrie return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -981,13 +890,11 @@ public java.util.List getEntrie * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -999,8 +906,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -1012,8 +917,6 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -1021,15 +924,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int RATE_LIMIT_INFO_FIELD_NUMBER = 3; private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1037,7 +939,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ @java.lang.Override @@ -1045,8 +946,6 @@ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1054,18 +953,13 @@ public boolean hasRateLimitInfo() {
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ @java.lang.Override public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1076,13 +970,10 @@ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder() {
-    return rateLimitInfo_ == null
-        ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-        : rateLimitInfo_;
+    return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1094,7 +985,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < entries_.size(); i++) {
       output.writeMessage(1, entries_.get(i));
     }
@@ -1111,10 +1003,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < entries_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, entries_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimitInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimitInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1124,18 +1018,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.MutateRowsResponse other =
-        (com.google.bigtable.v2.MutateRowsResponse) obj;
+    com.google.bigtable.v2.MutateRowsResponse other = (com.google.bigtable.v2.MutateRowsResponse) obj;
 
-    if (!getEntriesList().equals(other.getEntriesList())) return false;
+    if (!getEntriesList()
+        .equals(other.getEntriesList())) return false;
     if (hasRateLimitInfo() != other.hasRateLimitInfo()) return false;
     if (hasRateLimitInfo()) {
-      if (!getRateLimitInfo().equals(other.getRateLimitInfo())) return false;
+      if (!getRateLimitInfo()
+          .equals(other.getRateLimitInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1161,127 +1056,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse) com.google.bigtable.v2.MutateRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.newBuilder() @@ -1289,18 +1177,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); getRateLimitInfoFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1321,9 +1209,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override @@ -1342,12 +1230,9 @@ public com.google.bigtable.v2.MutateRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse buildPartial() { - com.google.bigtable.v2.MutateRowsResponse result = - new com.google.bigtable.v2.MutateRowsResponse(this); + com.google.bigtable.v2.MutateRowsResponse result = new com.google.bigtable.v2.MutateRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1368,8 +1253,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.rateLimitInfo_ = - rateLimitInfoBuilder_ == null ? rateLimitInfo_ : rateLimitInfoBuilder_.build(); + result.rateLimitInfo_ = rateLimitInfoBuilder_ == null + ? rateLimitInfo_ + : rateLimitInfoBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1379,39 +1265,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -1438,10 +1323,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1476,33 +1360,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.MutateRowsResponse.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 26: - { - input.readMessage(getRateLimitInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.MutateRowsResponse.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 26: { + input.readMessage( + getRateLimitInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1512,29 +1395,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1549,8 +1424,6 @@ public java.util.List getEntrie } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1565,8 +1438,6 @@ public int getEntriesCount() { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1581,15 +1452,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1603,8 +1473,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1623,8 +1491,6 @@ public Builder setEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1645,15 +1511,14 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsResponse.Entry value) return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1667,8 +1532,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1687,8 +1550,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1707,8 +1568,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1719,7 +1578,8 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -1727,8 +1587,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1746,8 +1604,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1765,44 +1621,39 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -1810,8 +1661,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1819,48 +1668,42 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; @@ -1868,13 +1711,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RateLimitInfo, - com.google.bigtable.v2.RateLimitInfo.Builder, - com.google.bigtable.v2.RateLimitInfoOrBuilder> - rateLimitInfoBuilder_; + com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> rateLimitInfoBuilder_; /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1882,15 +1720,12 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1898,21 +1733,16 @@ public boolean hasRateLimitInfo() {
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { if (rateLimitInfoBuilder_ == null) { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } else { return rateLimitInfoBuilder_.getMessage(); } } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1935,8 +1765,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1945,7 +1773,8 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
      *
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
-    public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
+    public Builder setRateLimitInfo(
+        com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
       if (rateLimitInfoBuilder_ == null) {
         rateLimitInfo_ = builderForValue.build();
       } else {
@@ -1956,8 +1785,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1968,9 +1795,9 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
      */
     public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       if (rateLimitInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && rateLimitInfo_ != null
-            && rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          rateLimitInfo_ != null &&
+          rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
           getRateLimitInfoBuilder().mergeFrom(value);
         } else {
           rateLimitInfo_ = value;
@@ -1985,8 +1812,6 @@ public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2006,8 +1831,6 @@ public Builder clearRateLimitInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2022,8 +1845,6 @@ public com.google.bigtable.v2.RateLimitInfo.Builder getRateLimitInfoBuilder() {
       return getRateLimitInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2036,14 +1857,11 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
       if (rateLimitInfoBuilder_ != null) {
         return rateLimitInfoBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimitInfo_ == null
-            ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-            : rateLimitInfo_;
+        return rateLimitInfo_ == null ?
+            com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2053,24 +1871,21 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RateLimitInfo,
-            com.google.bigtable.v2.RateLimitInfo.Builder,
-            com.google.bigtable.v2.RateLimitInfoOrBuilder>
+        com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> 
         getRateLimitInfoFieldBuilder() {
       if (rateLimitInfoBuilder_ == null) {
-        rateLimitInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RateLimitInfo,
-                com.google.bigtable.v2.RateLimitInfo.Builder,
-                com.google.bigtable.v2.RateLimitInfoOrBuilder>(
-                getRateLimitInfo(), getParentForChildren(), isClean());
+        rateLimitInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder>(
+                getRateLimitInfo(),
+                getParentForChildren(),
+                isClean());
         rateLimitInfo_ = null;
       }
       return rateLimitInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2080,12 +1895,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse)
   private static final com.google.bigtable.v2.MutateRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse();
   }
@@ -2094,27 +1909,27 @@ public static com.google.bigtable.v2.MutateRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MutateRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MutateRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2129,4 +1944,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.MutateRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
index 57b6b5412c..cd9b7c8582 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
@@ -1,42 +1,23 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface MutateRowsResponseOrBuilder
-    extends
+public interface MutateRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -45,8 +26,6 @@ public interface MutateRowsResponseOrBuilder */ com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -55,30 +34,25 @@ public interface MutateRowsResponseOrBuilder */ int getEntriesCount(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -86,13 +60,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ boolean hasRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -100,13 +71,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ com.google.bigtable.v2.RateLimitInfo getRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
similarity index 72%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
index a8171a17d9..f6119f3cc4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
@@ -20,94 +5,82 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a particular change to be made to the contents of a row.
  * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ -public final class Mutation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Mutation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation) MutationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Mutation() {} + private Mutation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } - public interface SetCellOrBuilder - extends + public interface SetCellOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.SetCell) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -117,43 +90,36 @@ public interface SetCellOrBuilder
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ com.google.protobuf.ByteString getValue(); } /** - * - * *
    * A Mutation which sets the value of the specified cell.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class SetCell extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SetCell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.SetCell) SetCellOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetCell.newBuilder() to construct. private SetCell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetCell() { familyName_ = ""; columnQualifier_ = com.google.protobuf.ByteString.EMPTY; @@ -162,39 +128,34 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetCell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -203,30 +164,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -237,15 +198,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -256,8 +214,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_ = 0L; /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -267,7 +223,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -278,14 +233,11 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -294,7 +246,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -332,13 +284,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,17 +303,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.SetCell)) { return super.equals(obj); } com.google.bigtable.v2.Mutation.SetCell other = (com.google.bigtable.v2.Mutation.SetCell) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -375,7 +334,8 @@ public int hashCode() { hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -383,94 +343,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.SetCell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.SetCell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -480,41 +436,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which sets the value of the specified cell.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.SetCell) com.google.bigtable.v2.Mutation.SetCellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.SetCell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -527,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override @@ -548,11 +502,8 @@ public com.google.bigtable.v2.Mutation.SetCell build() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell buildPartial() { - com.google.bigtable.v2.Mutation.SetCell result = - new com.google.bigtable.v2.Mutation.SetCell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.SetCell result = new com.google.bigtable.v2.Mutation.SetCell(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -577,41 +528,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.SetCell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.SetCell) { - return mergeFrom((com.google.bigtable.v2.Mutation.SetCell) other); + return mergeFrom((com.google.bigtable.v2.Mutation.SetCell)other); } else { super.mergeFrom(other); return this; @@ -660,37 +608,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - columnQualifier_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + columnQualifier_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + value_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,26 +643,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -728,22 +668,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -751,37 +690,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -791,22 +723,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -814,18 +742,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -833,37 +757,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -873,10 +789,8 @@ public Builder clearColumnQualifier() { return this; } - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -886,7 +800,6 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -894,8 +807,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -905,7 +816,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -917,8 +827,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -928,7 +836,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -940,14 +847,11 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -955,35 +859,27 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -992,7 +888,6 @@ public Builder clearValue() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1005,12 +900,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.SetCell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.SetCell) private static final com.google.bigtable.v2.Mutation.SetCell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.SetCell(); } @@ -1019,28 +914,27 @@ public static com.google.bigtable.v2.Mutation.SetCell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetCell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetCell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1055,81 +949,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.SetCell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromColumnOrBuilder - extends + public interface DeleteFromColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ boolean hasTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ com.google.bigtable.v2.TimestampRange getTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1139,8 +1017,6 @@ public interface DeleteFromColumnOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder(); } /** - * - * *
    * A Mutation which deletes cells from the specified column, optionally
    * restricting the deletions to a given timestamp range.
@@ -1148,16 +1024,15 @@ public interface DeleteFromColumnOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
    */
-  public static final class DeleteFromColumn extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DeleteFromColumn extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
       DeleteFromColumnOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DeleteFromColumn.newBuilder() to construct.
     private DeleteFromColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DeleteFromColumn() {
       familyName_ = "";
       columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -1165,40 +1040,35 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+              com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
     }
 
     private int bitField0_;
     public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -1207,30 +1077,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1241,15 +1111,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1260,14 +1127,11 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIME_RANGE_FIELD_NUMBER = 3; private com.google.bigtable.v2.TimestampRange timeRange_; /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ @java.lang.Override @@ -1275,25 +1139,18 @@ public boolean hasTimeRange() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimeRange() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1302,13 +1159,10 @@ public com.google.bigtable.v2.TimestampRange getTimeRange() { */ @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1320,7 +1174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -1343,10 +1198,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimeRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1356,19 +1213,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromColumn other = - (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; + com.google.bigtable.v2.Mutation.DeleteFromColumn other = (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (hasTimeRange() != other.hasTimeRange()) return false; if (hasTimeRange()) { - if (!getTimeRange().equals(other.getTimeRange())) return false; + if (!getTimeRange() + .equals(other.getTimeRange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1395,93 +1254,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1491,8 +1346,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1500,24 +1353,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
         com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+                com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder()
@@ -1525,17 +1375,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getTimeRangeFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1551,9 +1401,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
@@ -1572,11 +1422,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.Mutation.DeleteFromColumn buildPartial() {
-        com.google.bigtable.v2.Mutation.DeleteFromColumn result =
-            new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result = new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1591,7 +1438,9 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
         }
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.timeRange_ = timeRangeBuilder_ == null ? timeRange_ : timeRangeBuilder_.build();
+          result.timeRange_ = timeRangeBuilder_ == null
+              ? timeRange_
+              : timeRangeBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         result.bitField0_ |= to_bitField0_;
@@ -1601,41 +1450,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn) {
-          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn) other);
+          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1643,8 +1489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromColumn other) {
-        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) return this;
         if (!other.getFamilyName().isEmpty()) {
           familyName_ = other.familyName_;
           bitField0_ |= 0x00000001;
@@ -1682,31 +1527,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  familyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  columnQualifier_ = input.readBytes();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                familyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                columnQualifier_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getTimeRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1716,26 +1559,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object familyName_ = "";
       /**
-       *
-       *
        * 
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -1744,22 +1584,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1767,37 +1606,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -1807,22 +1639,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -1830,18 +1658,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1849,37 +1673,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -1891,47 +1707,34 @@ public Builder clearColumnQualifier() { private com.google.bigtable.v2.TimestampRange timeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timeRangeBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timeRangeBuilder_; /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ public com.google.bigtable.v2.TimestampRange getTimeRange() { if (timeRangeBuilder_ == null) { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1952,15 +1755,14 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; */ - public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builderForValue) { + public Builder setTimeRange( + com.google.bigtable.v2.TimestampRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); } else { @@ -1971,8 +1773,6 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1981,9 +1781,9 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde */ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && timeRange_ != null - && timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + timeRange_ != null && + timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { getTimeRangeBuilder().mergeFrom(value); } else { timeRange_ = value; @@ -1998,8 +1798,6 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2017,8 +1815,6 @@ public Builder clearTimeRange() { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2031,8 +1827,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { return getTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2043,14 +1837,11 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? + com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2058,22 +1849,18 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { * .google.bigtable.v2.TimestampRange time_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { - timeRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - getTimeRange(), getParentForChildren(), isClean()); + timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + getTimeRange(), + getParentForChildren(), + isClean()); timeRange_ = null; } return timeRangeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2086,12 +1873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromColumn) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromColumn) private static final com.google.bigtable.v2.Mutation.DeleteFromColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromColumn(); } @@ -2100,28 +1887,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2136,98 +1922,85 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromFamilyOrBuilder - extends + public interface DeleteFromFamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); } /** - * - * *
    * A Mutation which deletes all cells from the specified column family.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class DeleteFromFamily extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromFamily) DeleteFromFamilyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromFamily.newBuilder() to construct. private DeleteFromFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFromFamily() { familyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -2236,30 +2009,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2268,7 +2041,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2280,7 +2052,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -2304,15 +2077,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromFamily other = - (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; + com.google.bigtable.v2.Mutation.DeleteFromFamily other = (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2332,93 +2105,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromFamily prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2428,41 +2197,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the specified column family.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2472,9 +2239,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override @@ -2493,11 +2260,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromFamily result = - new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.DeleteFromFamily result = new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2513,41 +2277,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromFamily resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily)other); } else { super.mergeFrom(other); return this; @@ -2555,8 +2316,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromFamily other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; bitField0_ |= 0x00000001; @@ -2588,19 +2348,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2610,26 +2368,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -2638,22 +2393,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2661,37 +2415,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -2701,29 +2448,24 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2736,12 +2478,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromFamily) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromFamily) private static final com.google.bigtable.v2.Mutation.DeleteFromFamily DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromFamily(); } @@ -2750,28 +2492,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromFamily parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromFamily parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2786,56 +2527,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromRowOrBuilder - extends + public interface DeleteFromRowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromRow) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * A Mutation which deletes all cells from the containing row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class DeleteFromRow extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromRow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromRow) DeleteFromRowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromRow.newBuilder() to construct. private DeleteFromRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeleteFromRow() {} + private DeleteFromRow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromRow(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2847,7 +2585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -2865,13 +2604,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromRow)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromRow other = - (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; + com.google.bigtable.v2.Mutation.DeleteFromRow other = (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2889,94 +2627,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromRow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2986,41 +2720,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the containing row.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromRow) com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3028,9 +2760,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override @@ -3049,8 +2781,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromRow result = - new com.google.bigtable.v2.Mutation.DeleteFromRow(this); + com.google.bigtable.v2.Mutation.DeleteFromRow result = new com.google.bigtable.v2.Mutation.DeleteFromRow(this); onBuilt(); return result; } @@ -3059,41 +2790,38 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromRow) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow)other); } else { super.mergeFrom(other); return this; @@ -3101,8 +2829,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromRow other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3129,13 +2856,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3145,7 +2871,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3158,12 +2883,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromRow) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromRow) private static final com.google.bigtable.v2.Mutation.DeleteFromRow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromRow(); } @@ -3172,28 +2897,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromRow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromRow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3208,16 +2932,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int mutationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mutation_; - public enum MutationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_CELL(1), DELETE_FROM_COLUMN(2), @@ -3225,7 +2947,6 @@ public enum MutationCase DELETE_FROM_ROW(4), MUTATION_NOT_SET(0); private final int value; - private MutationCase(int value) { this.value = value; } @@ -3241,40 +2962,32 @@ public static MutationCase valueOf(int value) { public static MutationCase forNumber(int value) { switch (value) { - case 1: - return SET_CELL; - case 2: - return DELETE_FROM_COLUMN; - case 3: - return DELETE_FROM_FAMILY; - case 4: - return DELETE_FROM_ROW; - case 0: - return MUTATION_NOT_SET; - default: - return null; + case 1: return SET_CELL; + case 2: return DELETE_FROM_COLUMN; + case 3: return DELETE_FROM_FAMILY; + case 4: return DELETE_FROM_ROW; + case 0: return MUTATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public static final int SET_CELL_FIELD_NUMBER = 1; /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3282,26 +2995,21 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell getSetCell() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } /** - * - * *
    * Set a cell's value.
    * 
@@ -3311,21 +3019,18 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } public static final int DELETE_FROM_COLUMN_FIELD_NUMBER = 2; /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -3333,26 +3038,21 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column.
    * 
@@ -3362,21 +3062,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } public static final int DELETE_FROM_FAMILY_FIELD_NUMBER = 3; /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -3384,26 +3081,21 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -3413,21 +3105,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } public static final int DELETE_FROM_ROW_FIELD_NUMBER = 4; /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -3435,26 +3124,21 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } /** - * - * *
    * Deletes cells from the entire row.
    * 
@@ -3464,13 +3148,12 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3482,7 +3165,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutationCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } @@ -3505,24 +3189,20 @@ public int getSerializedSize() { size = 0; if (mutationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } if (mutationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); } if (mutationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); } if (mutationCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3532,7 +3212,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation)) { return super.equals(obj); @@ -3542,16 +3222,20 @@ public boolean equals(final java.lang.Object obj) { if (!getMutationCase().equals(other.getMutationCase())) return false; switch (mutationCase_) { case 1: - if (!getSetCell().equals(other.getSetCell())) return false; + if (!getSetCell() + .equals(other.getSetCell())) return false; break; case 2: - if (!getDeleteFromColumn().equals(other.getDeleteFromColumn())) return false; + if (!getDeleteFromColumn() + .equals(other.getDeleteFromColumn())) return false; break; case 3: - if (!getDeleteFromFamily().equals(other.getDeleteFromFamily())) return false; + if (!getDeleteFromFamily() + .equals(other.getDeleteFromFamily())) return false; break; case 4: - if (!getDeleteFromRow().equals(other.getDeleteFromRow())) return false; + if (!getDeleteFromRow() + .equals(other.getDeleteFromRow())) return false; break; case 0: default: @@ -3592,134 +3276,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Mutation parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a particular change to be made to the contents of a row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation) com.google.bigtable.v2.MutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3742,9 +3424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override @@ -3764,9 +3446,7 @@ public com.google.bigtable.v2.Mutation build() { @java.lang.Override public com.google.bigtable.v2.Mutation buildPartial() { com.google.bigtable.v2.Mutation result = new com.google.bigtable.v2.Mutation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3779,16 +3459,20 @@ private void buildPartial0(com.google.bigtable.v2.Mutation result) { private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { result.mutationCase_ = mutationCase_; result.mutation_ = this.mutation_; - if (mutationCase_ == 1 && setCellBuilder_ != null) { + if (mutationCase_ == 1 && + setCellBuilder_ != null) { result.mutation_ = setCellBuilder_.build(); } - if (mutationCase_ == 2 && deleteFromColumnBuilder_ != null) { + if (mutationCase_ == 2 && + deleteFromColumnBuilder_ != null) { result.mutation_ = deleteFromColumnBuilder_.build(); } - if (mutationCase_ == 3 && deleteFromFamilyBuilder_ != null) { + if (mutationCase_ == 3 && + deleteFromFamilyBuilder_ != null) { result.mutation_ = deleteFromFamilyBuilder_.build(); } - if (mutationCase_ == 4 && deleteFromRowBuilder_ != null) { + if (mutationCase_ == 4 && + deleteFromRowBuilder_ != null) { result.mutation_ = deleteFromRowBuilder_.build(); } } @@ -3797,39 +3481,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation) other); + return mergeFrom((com.google.bigtable.v2.Mutation)other); } else { super.mergeFrom(other); return this; @@ -3839,30 +3522,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.Mutation other) { if (other == com.google.bigtable.v2.Mutation.getDefaultInstance()) return this; switch (other.getMutationCase()) { - case SET_CELL: - { - mergeSetCell(other.getSetCell()); - break; - } - case DELETE_FROM_COLUMN: - { - mergeDeleteFromColumn(other.getDeleteFromColumn()); - break; - } - case DELETE_FROM_FAMILY: - { - mergeDeleteFromFamily(other.getDeleteFromFamily()); - break; - } - case DELETE_FROM_ROW: - { - mergeDeleteFromRow(other.getDeleteFromRow()); - break; - } - case MUTATION_NOT_SET: - { - break; - } + case SET_CELL: { + mergeSetCell(other.getSetCell()); + break; + } + case DELETE_FROM_COLUMN: { + mergeDeleteFromColumn(other.getDeleteFromColumn()); + break; + } + case DELETE_FROM_FAMILY: { + mergeDeleteFromFamily(other.getDeleteFromFamily()); + break; + } + case DELETE_FROM_ROW: { + mergeDeleteFromRow(other.getDeleteFromRow()); + break; + } + case MUTATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3890,39 +3568,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSetCellFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getDeleteFromColumnFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getDeleteFromFamilyFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getDeleteFromRowFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSetCellFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getDeleteFromColumnFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDeleteFromFamilyFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getDeleteFromRowFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3932,12 +3611,12 @@ public Builder mergeFrom( } // finally return this; } - private int mutationCase_ = 0; private java.lang.Object mutation_; - - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public Builder clearMutation() { @@ -3950,19 +3629,13 @@ public Builder clearMutation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> - setCellBuilder_; + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> setCellBuilder_; /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3970,14 +3643,11 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override @@ -3995,8 +3665,6 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4017,15 +3685,14 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ - public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { + public Builder setSetCell( + com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { if (setCellBuilder_ == null) { mutation_ = builderForValue.build(); onChanged(); @@ -4036,8 +3703,6 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4046,13 +3711,10 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde */ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { if (setCellBuilder_ == null) { - if (mutationCase_ == 1 - && mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.SetCell.newBuilder( - (com.google.bigtable.v2.Mutation.SetCell) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 1 && + mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.SetCell.newBuilder((com.google.bigtable.v2.Mutation.SetCell) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4068,8 +3730,6 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4093,8 +3753,6 @@ public Builder clearSetCell() { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4105,8 +3763,6 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** - * - * *
      * Set a cell's value.
      * 
@@ -4125,8 +3781,6 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4134,19 +3788,14 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> getSetCellFieldBuilder() { if (setCellBuilder_ == null) { if (!(mutationCase_ == 1)) { mutation_ = com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } - setCellBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder>( + setCellBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder>( (com.google.bigtable.v2.Mutation.SetCell) mutation_, getParentForChildren(), isClean()); @@ -4158,19 +3807,13 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> - deleteFromColumnBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> deleteFromColumnBuilder_; /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -4178,14 +3821,11 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override @@ -4203,8 +3843,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4225,8 +3863,6 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4245,8 +3881,6 @@ public Builder setDeleteFromColumn( return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4255,13 +3889,10 @@ public Builder setDeleteFromColumn( */ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromColumn value) { if (deleteFromColumnBuilder_ == null) { - if (mutationCase_ == 2 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 2 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4277,8 +3908,6 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4302,8 +3931,6 @@ public Builder clearDeleteFromColumn() { return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4314,8 +3941,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4323,8 +3948,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder - getDeleteFromColumnOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if ((mutationCase_ == 2) && (deleteFromColumnBuilder_ != null)) { return deleteFromColumnBuilder_.getMessageOrBuilder(); } else { @@ -4335,8 +3959,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4344,19 +3966,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> getDeleteFromColumnFieldBuilder() { if (deleteFromColumnBuilder_ == null) { if (!(mutationCase_ == 2)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } - deleteFromColumnBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( + deleteFromColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_, getParentForChildren(), isClean()); @@ -4368,19 +3985,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> - deleteFromFamilyBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> deleteFromFamilyBuilder_; /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -4388,14 +3999,11 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override @@ -4413,8 +4021,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4435,8 +4041,6 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4455,8 +4059,6 @@ public Builder setDeleteFromFamily( return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4465,13 +4067,10 @@ public Builder setDeleteFromFamily( */ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFamily value) { if (deleteFromFamilyBuilder_ == null) { - if (mutationCase_ == 3 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 3 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4487,8 +4086,6 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4512,8 +4109,6 @@ public Builder clearDeleteFromFamily() { return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4524,8 +4119,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4533,8 +4126,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder - getDeleteFromFamilyOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if ((mutationCase_ == 3) && (deleteFromFamilyBuilder_ != null)) { return deleteFromFamilyBuilder_.getMessageOrBuilder(); } else { @@ -4545,8 +4137,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4554,19 +4144,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> getDeleteFromFamilyFieldBuilder() { if (deleteFromFamilyBuilder_ == null) { if (!(mutationCase_ == 3)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } - deleteFromFamilyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( + deleteFromFamilyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_, getParentForChildren(), isClean()); @@ -4578,19 +4163,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> - deleteFromRowBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> deleteFromRowBuilder_; /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -4598,14 +4177,11 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override @@ -4623,8 +4199,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4645,8 +4219,6 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4665,8 +4237,6 @@ public Builder setDeleteFromRow( return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4675,13 +4245,10 @@ public Builder setDeleteFromRow( */ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow value) { if (deleteFromRowBuilder_ == null) { - if (mutationCase_ == 4 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 4 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4697,8 +4264,6 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4722,8 +4287,6 @@ public Builder clearDeleteFromRow() { return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4734,8 +4297,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4754,8 +4315,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4763,19 +4322,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> getDeleteFromRowFieldBuilder() { if (deleteFromRowBuilder_ == null) { if (!(mutationCase_ == 4)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } - deleteFromRowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( + deleteFromRowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_, getParentForChildren(), isClean()); @@ -4785,9 +4339,9 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr onChanged(); return deleteFromRowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4797,12 +4351,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation) private static final com.google.bigtable.v2.Mutation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation(); } @@ -4811,27 +4365,27 @@ public static com.google.bigtable.v2.Mutation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Mutation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Mutation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4846,4 +4400,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java index 2eb748508e..0de118c7ca 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface MutationOrBuilder - extends +public interface MutationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ boolean hasSetCell(); /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ com.google.bigtable.v2.Mutation.SetCell getSetCell(); /** - * - * *
    * Set a cell's value.
    * 
@@ -60,32 +36,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ boolean hasDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
@@ -95,32 +63,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ boolean hasDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -130,32 +90,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ boolean hasDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java index 881cdbc673..f460eabee6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for client connection keep-alive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ -public final class PingAndWarmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmRequest) PingAndWarmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmRequest.newBuilder() to construct. private PingAndWarmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PingAndWarmRequest() { name_ = ""; appProfileId_ = ""; @@ -45,42 +27,35 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,19 +97,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -145,30 +114,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -177,7 +146,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmRequest)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmRequest other = - (com.google.bigtable.v2.PingAndWarmRequest) obj; + com.google.bigtable.v2.PingAndWarmRequest other = (com.google.bigtable.v2.PingAndWarmRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,136 +219,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for client connection keep-alive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmRequest) com.google.bigtable.v2.PingAndWarmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override @@ -410,11 +376,8 @@ public com.google.bigtable.v2.PingAndWarmRequest build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmRequest buildPartial() { - com.google.bigtable.v2.PingAndWarmRequest result = - new com.google.bigtable.v2.PingAndWarmRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.PingAndWarmRequest result = new com.google.bigtable.v2.PingAndWarmRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,39 +396,38 @@ private void buildPartial0(com.google.bigtable.v2.PingAndWarmRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); } else { super.mergeFrom(other); return this; @@ -510,25 +472,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,29 +497,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -569,25 +523,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -595,43 +546,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -641,25 +581,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -669,21 +603,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -692,22 +624,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -715,37 +646,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -755,31 +679,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +709,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmRequest) private static final com.google.bigtable.v2.PingAndWarmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmRequest(); } @@ -803,27 +723,27 @@ public static com.google.bigtable.v2.PingAndWarmRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java index 6bab735e06..a2d8093679 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -1,86 +1,56 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface PingAndWarmRequestOrBuilder - extends +public interface PingAndWarmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java index a88ccd995d..d9dacd6920 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,49 +5,45 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.PingAndWarm connection keepalive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ -public final class PingAndWarmResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmResponse) PingAndWarmResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmResponse.newBuilder() to construct. private PingAndWarmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PingAndWarmResponse() {} + private PingAndWarmResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,7 +55,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -92,13 +74,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmResponse)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmResponse other = - (com.google.bigtable.v2.PingAndWarmResponse) obj; + com.google.bigtable.v2.PingAndWarmResponse other = (com.google.bigtable.v2.PingAndWarmResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -116,136 +97,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.PingAndWarm connection keepalive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmResponse) com.google.bigtable.v2.PingAndWarmResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -253,9 +230,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override @@ -274,8 +251,7 @@ public com.google.bigtable.v2.PingAndWarmResponse build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { - com.google.bigtable.v2.PingAndWarmResponse result = - new com.google.bigtable.v2.PingAndWarmResponse(this); + com.google.bigtable.v2.PingAndWarmResponse result = new com.google.bigtable.v2.PingAndWarmResponse(this); onBuilt(); return result; } @@ -284,39 +260,38 @@ public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmResponse) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse)other); } else { super.mergeFrom(other); return this; @@ -351,13 +326,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -367,9 +341,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -379,12 +353,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmResponse) private static final com.google.bigtable.v2.PingAndWarmResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmResponse(); } @@ -393,27 +367,27 @@ public static com.google.bigtable.v2.PingAndWarmResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -428,4 +402,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java new file mode 100644 index 0000000000..dad4f93695 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java @@ -0,0 +1,10 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public interface PingAndWarmResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java index 27e7250953..fe353d4e4e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,53 +5,48 @@ package com.google.bigtable.v2; /** - * - * *
  * Information about how client should adjust the load to Bigtable.
  * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ -public final class RateLimitInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RateLimitInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RateLimitInfo) RateLimitInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RateLimitInfo.newBuilder() to construct. private RateLimitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RateLimitInfo() {} + private RateLimitInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RateLimitInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } private int bitField0_; public static final int PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration period_; /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -77,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ @java.lang.Override @@ -85,8 +64,6 @@ public boolean hasPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -97,7 +74,6 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ @java.lang.Override @@ -105,8 +81,6 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -126,8 +100,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int FACTOR_FIELD_NUMBER = 2;
   private double factor_ = 0D;
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -141,7 +113,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
    * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -150,7 +121,6 @@ public double getFactor() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,7 +132,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPeriod()); } @@ -179,10 +150,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPeriod()); } if (java.lang.Double.doubleToRawLongBits(factor_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, factor_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, factor_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,7 +165,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RateLimitInfo)) { return super.equals(obj); @@ -201,10 +174,12 @@ public boolean equals(final java.lang.Object obj) { if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod().equals(other.getPeriod())) return false; + if (!getPeriod() + .equals(other.getPeriod())) return false; } if (java.lang.Double.doubleToLongBits(getFactor()) - != java.lang.Double.doubleToLongBits(other.getFactor())) return false; + != java.lang.Double.doubleToLongBits( + other.getFactor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -221,134 +196,127 @@ public int hashCode() { hash = (53 * hash) + getPeriod().hashCode(); } hash = (37 * hash) + FACTOR_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getFactor())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFactor())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RateLimitInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RateLimitInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about how client should adjust the load to Bigtable.
    * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RateLimitInfo) com.google.bigtable.v2.RateLimitInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } // Construct using com.google.bigtable.v2.RateLimitInfo.newBuilder() @@ -356,17 +324,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPeriodFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override @@ -403,9 +371,7 @@ public com.google.bigtable.v2.RateLimitInfo build() { @java.lang.Override public com.google.bigtable.v2.RateLimitInfo buildPartial() { com.google.bigtable.v2.RateLimitInfo result = new com.google.bigtable.v2.RateLimitInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -414,7 +380,9 @@ private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.period_ = periodBuilder_ == null ? period_ : periodBuilder_.build(); + result.period_ = periodBuilder_ == null + ? period_ + : periodBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -427,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RateLimitInfo) { - return mergeFrom((com.google.bigtable.v2.RateLimitInfo) other); + return mergeFrom((com.google.bigtable.v2.RateLimitInfo)other); } else { super.mergeFrom(other); return this; @@ -500,25 +467,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - factor_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + factor_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -528,18 +494,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - periodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -550,15 +510,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ public boolean hasPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -569,7 +526,6 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -580,8 +536,6 @@ public com.google.protobuf.Duration getPeriod() { } } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -607,8 +561,6 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -620,7 +572,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 1;
      */
-    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
       } else {
@@ -631,8 +584,6 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -646,9 +597,9 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && period_ != null
-            && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          period_ != null &&
+          period_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getPeriodBuilder().mergeFrom(value);
         } else {
           period_ = value;
@@ -663,8 +614,6 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -687,8 +636,6 @@ public Builder clearPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -706,8 +653,6 @@ public com.google.protobuf.Duration.Builder getPeriodBuilder() {
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -723,12 +668,11 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -741,26 +685,21 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getPeriod(), getParentForChildren(), isClean());
+        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getPeriod(),
+                getParentForChildren(),
+                isClean());
         period_ = null;
       }
       return periodBuilder_;
     }
 
-    private double factor_;
+    private double factor_ ;
     /**
-     *
-     *
      * 
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -774,7 +713,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -782,8 +720,6 @@ public double getFactor() { return factor_; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -797,7 +733,6 @@ public double getFactor() {
      * 
* * double factor = 2; - * * @param value The factor to set. * @return This builder for chaining. */ @@ -809,8 +744,6 @@ public Builder setFactor(double value) { return this; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -824,7 +757,6 @@ public Builder setFactor(double value) {
      * 
* * double factor = 2; - * * @return This builder for chaining. */ public Builder clearFactor() { @@ -833,9 +765,9 @@ public Builder clearFactor() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -845,12 +777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RateLimitInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RateLimitInfo) private static final com.google.bigtable.v2.RateLimitInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RateLimitInfo(); } @@ -859,27 +791,27 @@ public static com.google.bigtable.v2.RateLimitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimitInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimitInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -894,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RateLimitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java index a530d8ca47..00aaf0513b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface RateLimitInfoOrBuilder - extends +public interface RateLimitInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RateLimitInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -37,13 +19,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ boolean hasPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -54,13 +33,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -75,8 +51,6 @@ public interface RateLimitInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -90,7 +64,6 @@ public interface RateLimitInfoOrBuilder
    * 
* * double factor = 2; - * * @return The factor. */ double getFactor(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java index 5a74491fae..bf11cb43c6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.ReadChangeStream.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
  */
-public final class ReadChangeStreamRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamRequest)
     ReadChangeStreamRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamRequest.newBuilder() to construct.
   private ReadChangeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadChangeStreamRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -46,40 +28,35 @@ private ReadChangeStreamRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamRequest.class,
-            com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
   }
 
   private int bitField0_;
   private int startFromCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startFrom_;
-
   public enum StartFromCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_TIME(4),
     CONTINUATION_TOKENS(6),
     STARTFROM_NOT_SET(0);
     private final int value;
-
     private StartFromCase(int value) {
       this.value = value;
     }
@@ -95,33 +72,27 @@ public static StartFromCase valueOf(int value) {
 
     public static StartFromCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return START_TIME;
-        case 6:
-          return CONTINUATION_TOKENS;
-        case 0:
-          return STARTFROM_NOT_SET;
-        default:
-          return null;
+        case 4: return START_TIME;
+        case 6: return CONTINUATION_TOKENS;
+        case 0: return STARTFROM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartFromCase getStartFromCase() {
-    return StartFromCase.forNumber(startFromCase_);
+  public StartFromCase
+  getStartFromCase() {
+    return StartFromCase.forNumber(
+        startFromCase_);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -129,10 +100,7 @@ public StartFromCase getStartFromCase() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -141,15 +109,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -157,18 +124,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -177,12 +143,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -190,7 +153,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -199,15 +161,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -215,15 +176,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -234,14 +196,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.bigtable.v2.StreamPartition partition_; /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -249,25 +208,18 @@ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition to read changes from.
    * 
@@ -276,15 +228,11 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int START_TIME_FIELD_NUMBER = 4; /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -293,7 +241,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -301,8 +248,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -311,19 +256,16 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { if (startFromCase_ == 4) { - return (com.google.protobuf.Timestamp) startFrom_; + return (com.google.protobuf.Timestamp) startFrom_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -336,15 +278,13 @@ public com.google.protobuf.Timestamp getStartTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     if (startFromCase_ == 4) {
-      return (com.google.protobuf.Timestamp) startFrom_;
+       return (com.google.protobuf.Timestamp) startFrom_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -359,7 +299,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -367,8 +306,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -383,19 +320,16 @@ public boolean hasContinuationTokens() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { if (startFromCase_ == 6) { - return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; + return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; } return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance(); } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -414,7 +348,7 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() {
   @java.lang.Override
   public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
     if (startFromCase_ == 6) {
-      return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
+       return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
     }
     return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
   }
@@ -422,8 +356,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
   public static final int END_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -431,7 +363,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -439,8 +370,6 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -448,7 +377,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ @java.lang.Override @@ -456,8 +384,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -474,15 +400,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int HEARTBEAT_DURATION_FIELD_NUMBER = 7;
   private com.google.protobuf.Duration heartbeatDuration_;
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ @java.lang.Override @@ -490,26 +413,19 @@ public boolean hasHeartbeatDuration() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ @java.lang.Override public com.google.protobuf.Duration getHeartbeatDuration() { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
@@ -519,13 +435,10 @@ public com.google.protobuf.Duration getHeartbeatDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
-    return heartbeatDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : heartbeatDuration_;
+    return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -537,7 +450,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -575,23 +489,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPartition());
     }
     if (startFromCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) startFrom_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getEndTime());
     }
     if (startFromCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHeartbeatDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getHeartbeatDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -601,35 +516,41 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.ReadChangeStreamRequest other =
-        (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
+    com.google.bigtable.v2.ReadChangeStreamRequest other = (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
     if (hasPartition() != other.hasPartition()) return false;
     if (hasPartition()) {
-      if (!getPartition().equals(other.getPartition())) return false;
+      if (!getPartition()
+          .equals(other.getPartition())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (hasHeartbeatDuration() != other.hasHeartbeatDuration()) return false;
     if (hasHeartbeatDuration()) {
-      if (!getHeartbeatDuration().equals(other.getHeartbeatDuration())) return false;
+      if (!getHeartbeatDuration()
+          .equals(other.getHeartbeatDuration())) return false;
     }
     if (!getStartFromCase().equals(other.getStartFromCase())) return false;
     switch (startFromCase_) {
       case 4:
-        if (!getStartTime().equals(other.getStartTime())) return false;
+        if (!getStartTime()
+            .equals(other.getStartTime())) return false;
         break;
       case 6:
-        if (!getContinuationTokens().equals(other.getContinuationTokens())) return false;
+        if (!getContinuationTokens()
+            .equals(other.getContinuationTokens())) return false;
         break;
       case 0:
       default:
@@ -678,104 +599,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.ReadChangeStream.
@@ -783,23 +699,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamRequest)
       com.google.bigtable.v2.ReadChangeStreamRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamRequest.class,
-              com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamRequest.newBuilder()
@@ -807,19 +721,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionFieldBuilder();
         getEndTimeFieldBuilder();
         getHeartbeatDurationFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -853,9 +767,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
@@ -874,11 +788,8 @@ public com.google.bigtable.v2.ReadChangeStreamRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamRequest buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamRequest result =
-          new com.google.bigtable.v2.ReadChangeStreamRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamRequest result = new com.google.bigtable.v2.ReadChangeStreamRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -894,18 +805,21 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamRequest result
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.heartbeatDuration_ =
-            heartbeatDurationBuilder_ == null
-                ? heartbeatDuration_
-                : heartbeatDurationBuilder_.build();
+        result.heartbeatDuration_ = heartbeatDurationBuilder_ == null
+            ? heartbeatDuration_
+            : heartbeatDurationBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -914,10 +828,12 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamRequest result
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest result) {
       result.startFromCase_ = startFromCase_;
       result.startFrom_ = this.startFrom_;
-      if (startFromCase_ == 4 && startTimeBuilder_ != null) {
+      if (startFromCase_ == 4 &&
+          startTimeBuilder_ != null) {
         result.startFrom_ = startTimeBuilder_.build();
       }
-      if (startFromCase_ == 6 && continuationTokensBuilder_ != null) {
+      if (startFromCase_ == 6 &&
+          continuationTokensBuilder_ != null) {
         result.startFrom_ = continuationTokensBuilder_.build();
       }
     }
@@ -926,39 +842,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamRequest) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -987,20 +902,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamRequest other) {
         mergeHeartbeatDuration(other.getHeartbeatDuration());
       }
       switch (other.getStartFromCase()) {
-        case START_TIME:
-          {
-            mergeStartTime(other.getStartTime());
-            break;
-          }
-        case CONTINUATION_TOKENS:
-          {
-            mergeContinuationTokens(other.getContinuationTokens());
-            break;
-          }
-        case STARTFROM_NOT_SET:
-          {
-            break;
-          }
+        case START_TIME: {
+          mergeStartTime(other.getStartTime());
+          break;
+        }
+        case CONTINUATION_TOKENS: {
+          mergeContinuationTokens(other.getContinuationTokens());
+          break;
+        }
+        case STARTFROM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1028,57 +940,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getContinuationTokensFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getHeartbeatDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getContinuationTokensFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getHeartbeatDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1088,12 +1000,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startFromCase_ = 0;
     private java.lang.Object startFrom_;
-
-    public StartFromCase getStartFromCase() {
-      return StartFromCase.forNumber(startFromCase_);
+    public StartFromCase
+        getStartFromCase() {
+      return StartFromCase.forNumber(
+          startFromCase_);
     }
 
     public Builder clearStartFrom() {
@@ -1107,8 +1019,6 @@ public Builder clearStartFrom() {
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1116,16 +1026,14 @@ public Builder clearStartFrom() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1134,8 +1042,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1143,17 +1049,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1161,8 +1066,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1170,25 +1073,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1196,10 +1093,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1209,8 +1103,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1218,17 +1110,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1238,8 +1126,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1247,13 +1133,13 @@ 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1262,8 +1148,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1271,14 +1155,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1286,8 +1171,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1295,22 +1178,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1318,7 +1197,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1328,8 +1206,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1337,14 +1213,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1354,47 +1228,34 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.StreamPartition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> - partitionBuilder_; + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_; /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1415,15 +1276,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -1434,8 +1294,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1444,9 +1302,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -1461,8 +1319,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1480,8 +1336,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1494,8 +1348,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1506,14 +1358,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1521,30 +1370,22 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1553,7 +1394,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1561,8 +1401,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1571,7 +1409,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override @@ -1589,8 +1426,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1614,8 +1449,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1625,7 +1458,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 4;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startFrom_ = builderForValue.build();
         onChanged();
@@ -1636,8 +1470,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1649,12 +1481,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (startFromCase_ == 4
-            && startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          startFrom_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 4 &&
+            startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          startFrom_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1670,8 +1500,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1698,8 +1526,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1713,8 +1539,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1736,8 +1560,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1748,20 +1570,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
         if (!(startFromCase_ == 4)) {
           startFrom_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) startFrom_, getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) startFrom_,
+                getParentForChildren(),
+                isClean());
         startFrom_ = null;
       }
       startFromCase_ = 4;
@@ -1770,13 +1589,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
-        continuationTokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> continuationTokensBuilder_;
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1791,7 +1605,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -1799,8 +1612,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1815,7 +1626,6 @@ public boolean hasContinuationTokens() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override @@ -1833,8 +1643,6 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { } } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1864,8 +1672,6 @@ public Builder setContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1893,8 +1699,6 @@ public Builder setContinuationTokens(
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1912,13 +1716,10 @@ public Builder setContinuationTokens(
      */
     public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuationTokens value) {
       if (continuationTokensBuilder_ == null) {
-        if (startFromCase_ == 6
-            && startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
-          startFrom_ =
-              com.google.bigtable.v2.StreamContinuationTokens.newBuilder(
-                      (com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 6 &&
+            startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
+          startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.newBuilder((com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1934,8 +1735,6 @@ public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuation
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1968,8 +1767,6 @@ public Builder clearContinuationTokens() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1989,8 +1786,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       return getContinuationTokensFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -2007,8 +1802,7 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder
-        getContinuationTokensOrBuilder() {
+    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
       if ((startFromCase_ == 6) && (continuationTokensBuilder_ != null)) {
         return continuationTokensBuilder_.getMessageOrBuilder();
       } else {
@@ -2019,8 +1813,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       }
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -2037,19 +1829,14 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> 
         getContinuationTokensFieldBuilder() {
       if (continuationTokensBuilder_ == null) {
         if (!(startFromCase_ == 6)) {
           startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
         }
-        continuationTokensBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.StreamContinuationTokens,
-                com.google.bigtable.v2.StreamContinuationTokens.Builder,
-                com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
+        continuationTokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
                 (com.google.bigtable.v2.StreamContinuationTokens) startFrom_,
                 getParentForChildren(),
                 isClean());
@@ -2062,13 +1849,8 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2076,15 +1858,12 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2092,7 +1871,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2103,8 +1881,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2127,8 +1903,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2137,7 +1911,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 5;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -2148,8 +1923,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2160,9 +1933,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -2177,8 +1950,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2198,8 +1969,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2214,8 +1983,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2228,12 +1995,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2243,17 +2009,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -2261,49 +2024,36 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private com.google.protobuf.Duration heartbeatDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        heartbeatDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatDurationBuilder_;
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ public boolean hasHeartbeatDuration() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ public com.google.protobuf.Duration getHeartbeatDuration() { if (heartbeatDurationBuilder_ == null) { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } else { return heartbeatDurationBuilder_.getMessage(); } } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2325,8 +2075,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2334,7 +2082,8 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
-    public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setHeartbeatDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (heartbeatDurationBuilder_ == null) {
         heartbeatDuration_ = builderForValue.build();
       } else {
@@ -2345,8 +2094,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2356,9 +2103,9 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
      */
     public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       if (heartbeatDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && heartbeatDuration_ != null
-            && heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          heartbeatDuration_ != null &&
+          heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getHeartbeatDurationBuilder().mergeFrom(value);
         } else {
           heartbeatDuration_ = value;
@@ -2373,8 +2120,6 @@ public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2393,8 +2138,6 @@ public Builder clearHeartbeatDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2408,8 +2151,6 @@ public com.google.protobuf.Duration.Builder getHeartbeatDurationBuilder() {
       return getHeartbeatDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2421,14 +2162,11 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
       if (heartbeatDurationBuilder_ != null) {
         return heartbeatDurationBuilder_.getMessageOrBuilder();
       } else {
-        return heartbeatDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : heartbeatDuration_;
+        return heartbeatDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2437,24 +2175,21 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getHeartbeatDurationFieldBuilder() {
       if (heartbeatDurationBuilder_ == null) {
-        heartbeatDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getHeartbeatDuration(), getParentForChildren(), isClean());
+        heartbeatDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getHeartbeatDuration(),
+                getParentForChildren(),
+                isClean());
         heartbeatDuration_ = null;
       }
       return heartbeatDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2464,12 +2199,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamRequest)
   private static final com.google.bigtable.v2.ReadChangeStreamRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamRequest();
   }
@@ -2478,27 +2213,27 @@ public static com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadChangeStreamRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadChangeStreamRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2513,4 +2248,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
similarity index 86%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
index d13e97b97c..35f2b1e47c 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface ReadChangeStreamRequestOrBuilder
-    extends
+public interface ReadChangeStreamRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -34,16 +16,11 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -51,17 +28,13 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -69,13 +42,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -83,38 +53,30 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition to read changes from.
    * 
@@ -124,8 +86,6 @@ public interface ReadChangeStreamRequestOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -134,13 +94,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -149,13 +106,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -168,8 +122,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -184,13 +136,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ boolean hasContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -205,13 +154,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -230,8 +176,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -239,13 +183,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -253,13 +194,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -271,34 +209,26 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ boolean hasHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ com.google.protobuf.Duration getHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
similarity index 75%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
index 0eae8431f5..b2149c769c 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.ReadChangeStream.
@@ -29,89 +12,73 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
  */
-public final class ReadChangeStreamResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse)
     ReadChangeStreamResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamResponse.newBuilder() to construct.
   private ReadChangeStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadChangeStreamResponse() {}
+  private ReadChangeStreamResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamResponse.class,
-            com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
   }
 
-  public interface MutationChunkOrBuilder
-      extends
+  public interface MutationChunkOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ boolean hasChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder(); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -119,13 +86,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ boolean hasMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -133,13 +97,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ com.google.bigtable.v2.Mutation getMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -151,95 +112,80 @@ public interface MutationChunkOrBuilder
     com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A partial or complete mutation.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class MutationChunk extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MutationChunk extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) MutationChunkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationChunk.newBuilder() to construct. private MutationChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutationChunk() {} + private MutationChunk() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationChunk(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } - public interface ChunkInfoOrBuilder - extends + public interface ChunkInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ int getChunkedValueSize(); /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ int getChunkedValueOffset(); /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ boolean getLastChunk(); } /** - * - * *
      * Information about the chunking of this mutation.
      * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -248,51 +194,46 @@ public interface ChunkInfoOrBuilder
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
      */
-    public static final class ChunkInfo extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class ChunkInfo extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
         ChunkInfoOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use ChunkInfo.newBuilder() to construct.
       private ChunkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private ChunkInfo() {}
+      private ChunkInfo() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new ChunkInfo();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                    .class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
       }
 
       public static final int CHUNKED_VALUE_SIZE_FIELD_NUMBER = 1;
       private int chunkedValueSize_ = 0;
       /**
-       *
-       *
        * 
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -303,15 +244,12 @@ public int getChunkedValueSize() { public static final int CHUNKED_VALUE_OFFSET_FIELD_NUMBER = 2; private int chunkedValueOffset_ = 0; /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -322,14 +260,11 @@ public int getChunkedValueOffset() { public static final int LAST_CHUNK_FIELD_NUMBER = 3; private boolean lastChunk_ = false; /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -338,7 +273,6 @@ public boolean getLastChunk() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -350,7 +284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (chunkedValueSize_ != 0) { output.writeInt32(1, chunkedValueSize_); } @@ -370,13 +305,16 @@ public int getSerializedSize() { size = 0; if (chunkedValueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, chunkedValueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, chunkedValueSize_); } if (chunkedValueOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, chunkedValueOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, chunkedValueOffset_); } if (lastChunk_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, lastChunk_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, lastChunk_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -386,18 +324,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { + if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = - (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; - if (getChunkedValueSize() != other.getChunkedValueSize()) return false; - if (getChunkedValueOffset() != other.getChunkedValueOffset()) return false; - if (getLastChunk() != other.getLastChunk()) return false; + if (getChunkedValueSize() + != other.getChunkedValueSize()) return false; + if (getChunkedValueOffset() + != other.getChunkedValueOffset()) return false; + if (getLastChunk() + != other.getLastChunk()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,109 +353,97 @@ public int hashCode() { hash = (37 * hash) + CHUNKED_VALUE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getChunkedValueOffset(); hash = (37 * hash) + LAST_CHUNK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastChunk()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLastChunk()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { + public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -526,8 +453,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Information about the chunking of this mutation.
        * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -536,35 +461,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
           com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                      .class);
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
         }
 
-        // Construct using
-        // com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
-        private Builder() {}
+        // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
+        private Builder() {
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-          super(parent);
         }
 
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          super(parent);
+
+        }
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -576,22 +499,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            getDefaultInstanceForType() {
-          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-              .getDefaultInstance();
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() {
+          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo build() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              buildPartial();
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -599,19 +519,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo b
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            buildPartial() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo buildPartial() {
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
+        private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
             result.chunkedValueSize_ = chunkedValueSize_;
@@ -628,54 +543,46 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
-            return mergeFrom(
-                (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) other);
+          if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
+            return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
-          if (other
-              == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
+          if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) return this;
           if (other.getChunkedValueSize() != 0) {
             setChunkedValueSize(other.getChunkedValueSize());
           }
@@ -711,31 +618,27 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8:
-                  {
-                    chunkedValueSize_ = input.readInt32();
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 8
-                case 16:
-                  {
-                    chunkedValueOffset_ = input.readInt32();
-                    bitField0_ |= 0x00000002;
-                    break;
-                  } // case 16
-                case 24:
-                  {
-                    lastChunk_ = input.readBool();
-                    bitField0_ |= 0x00000004;
-                    break;
-                  } // case 24
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 8: {
+                  chunkedValueSize_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+                case 16: {
+                  chunkedValueOffset_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+                case 24: {
+                  lastChunk_ = input.readBool();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 24
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -745,19 +648,15 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
-        private int chunkedValueSize_;
+        private int chunkedValueSize_ ;
         /**
-         *
-         *
          * 
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -765,14 +664,11 @@ public int getChunkedValueSize() { return chunkedValueSize_; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @param value The chunkedValueSize to set. * @return This builder for chaining. */ @@ -784,14 +680,11 @@ public Builder setChunkedValueSize(int value) { return this; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return This builder for chaining. */ public Builder clearChunkedValueSize() { @@ -801,17 +694,14 @@ public Builder clearChunkedValueSize() { return this; } - private int chunkedValueOffset_; + private int chunkedValueOffset_ ; /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -819,15 +709,12 @@ public int getChunkedValueOffset() { return chunkedValueOffset_; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @param value The chunkedValueOffset to set. * @return This builder for chaining. */ @@ -839,15 +726,12 @@ public Builder setChunkedValueOffset(int value) { return this; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return This builder for chaining. */ public Builder clearChunkedValueOffset() { @@ -857,16 +741,13 @@ public Builder clearChunkedValueOffset() { return this; } - private boolean lastChunk_; + private boolean lastChunk_ ; /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -874,14 +755,11 @@ public boolean getLastChunk() { return lastChunk_; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @param value The lastChunk to set. * @return This builder for chaining. */ @@ -893,14 +771,11 @@ public Builder setLastChunk(boolean value) { return this; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return This builder for chaining. */ public Builder clearLastChunk() { @@ -909,7 +784,6 @@ public Builder clearLastChunk() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -922,45 +796,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) - private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstance() { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChunkInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChunkInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,26 +842,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int CHUNK_INFO_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ @java.lang.Override @@ -999,50 +865,34 @@ public boolean hasChunkInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } public static final int MUTATION_FIELD_NUMBER = 2; private com.google.bigtable.v2.Mutation mutation_; /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1050,7 +900,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo g
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -1058,8 +907,6 @@ public boolean hasMutation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1067,7 +914,6 @@ public boolean hasMutation() {
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ @java.lang.Override @@ -1075,8 +921,6 @@ public com.google.bigtable.v2.Mutation getMutation() { return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1091,7 +935,6 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1103,7 +946,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getChunkInfo());
       }
@@ -1120,10 +964,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getChunkInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getChunkInfo());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMutation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMutation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1133,21 +979,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
 
       if (hasChunkInfo() != other.hasChunkInfo()) return false;
       if (hasChunkInfo()) {
-        if (!getChunkInfo().equals(other.getChunkInfo())) return false;
+        if (!getChunkInfo()
+            .equals(other.getChunkInfo())) return false;
       }
       if (hasMutation() != other.hasMutation()) return false;
       if (hasMutation()) {
-        if (!getMutation().equals(other.getMutation())) return false;
+        if (!getMutation()
+            .equals(other.getMutation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1174,94 +1021,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1271,32 +1113,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A partial or complete mutation.
      * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.newBuilder() @@ -1304,18 +1141,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChunkInfoFieldBuilder(); getMutationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1334,14 +1171,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() { return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance(); } @@ -1356,25 +1192,25 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk build() { @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk buildPartial() { - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { + private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.chunkInfo_ = chunkInfoBuilder_ == null ? chunkInfo_ : chunkInfoBuilder_.build(); + result.chunkInfo_ = chunkInfoBuilder_ == null + ? chunkInfo_ + : chunkInfoBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.mutation_ = mutationBuilder_ == null ? mutation_ : mutationBuilder_.build(); + result.mutation_ = mutationBuilder_ == null + ? mutation_ + : mutationBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -1384,52 +1220,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) { - return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) other); + return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { - if (other - == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { + if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) return this; if (other.hasChunkInfo()) { mergeChunkInfo(other.getChunkInfo()); } @@ -1462,25 +1292,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getChunkInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getChunkInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMutationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1490,68 +1321,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> - chunkInfoBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> chunkInfoBuilder_; /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ public boolean hasChunkInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getChunkInfo() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { if (chunkInfoBuilder_ == null) { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } else { return chunkInfoBuilder_.getMessage(); } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder setChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1565,19 +1376,15 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - builderForValue) { + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder builderForValue) { if (chunkInfoBuilder_ == null) { chunkInfo_ = builderForValue.build(); } else { @@ -1588,24 +1395,18 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder mergeChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder mergeChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && chunkInfo_ != null - && chunkInfo_ - != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + chunkInfo_ != null && + chunkInfo_ != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) { getChunkInfoBuilder().mergeFrom(value); } else { chunkInfo_ = value; @@ -1620,15 +1421,12 @@ public Builder mergeChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder clearChunkInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1641,67 +1439,51 @@ public Builder clearChunkInfo() { return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - getChunkInfoBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder getChunkInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChunkInfoFieldBuilder().getBuilder(); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { if (chunkInfoBuilder_ != null) { return chunkInfoBuilder_.getMessageOrBuilder(); } else { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> getChunkInfoFieldBuilder() { if (chunkInfoBuilder_ == null) { - chunkInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( - getChunkInfo(), getParentForChildren(), isClean()); + chunkInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( + getChunkInfo(), + getParentForChildren(), + isClean()); chunkInfo_ = null; } return chunkInfoBuilder_; @@ -1709,13 +1491,8 @@ public Builder clearChunkInfo() { private com.google.bigtable.v2.Mutation mutation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationBuilder_; /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1723,15 +1500,12 @@ public Builder clearChunkInfo() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1739,21 +1513,16 @@ public boolean hasMutation() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ public com.google.bigtable.v2.Mutation getMutation() { if (mutationBuilder_ == null) { - return mutation_ == null - ? com.google.bigtable.v2.Mutation.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } else { return mutationBuilder_.getMessage(); } } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1776,8 +1545,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1786,7 +1553,8 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
        *
        * .google.bigtable.v2.Mutation mutation = 2;
        */
-      public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+      public Builder setMutation(
+          com.google.bigtable.v2.Mutation.Builder builderForValue) {
         if (mutationBuilder_ == null) {
           mutation_ = builderForValue.build();
         } else {
@@ -1797,8 +1565,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1809,9 +1575,9 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
        */
       public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         if (mutationBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && mutation_ != null
-              && mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            mutation_ != null &&
+            mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
             getMutationBuilder().mergeFrom(value);
           } else {
             mutation_ = value;
@@ -1826,8 +1592,6 @@ public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1847,8 +1611,6 @@ public Builder clearMutation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1863,8 +1625,6 @@ public com.google.bigtable.v2.Mutation.Builder getMutationBuilder() {
         return getMutationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1877,14 +1637,11 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
         if (mutationBuilder_ != null) {
           return mutationBuilder_.getMessageOrBuilder();
         } else {
-          return mutation_ == null
-              ? com.google.bigtable.v2.Mutation.getDefaultInstance()
-              : mutation_;
+          return mutation_ == null ?
+              com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_;
         }
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1894,22 +1651,18 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
        * .google.bigtable.v2.Mutation mutation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.Mutation,
-              com.google.bigtable.v2.Mutation.Builder,
-              com.google.bigtable.v2.MutationOrBuilder>
+          com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
           getMutationFieldBuilder() {
         if (mutationBuilder_ == null) {
-          mutationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.Mutation,
-                  com.google.bigtable.v2.Mutation.Builder,
-                  com.google.bigtable.v2.MutationOrBuilder>(
-                  getMutation(), getParentForChildren(), isClean());
+          mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
+                  getMutation(),
+                  getParentForChildren(),
+                  isClean());
           mutation_ = null;
         }
         return mutationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1922,44 +1675,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk();
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstance() {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MutationChunk parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MutationChunk parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1971,72 +1721,58 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstanceForType() {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DataChangeOrBuilder
-      extends
+  public interface DataChangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ java.lang.String getSourceClusterId(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - com.google.protobuf.ByteString getSourceClusterIdBytes(); + com.google.protobuf.ByteString + getSourceClusterIdBytes(); /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2044,38 +1780,29 @@ public interface DataChangeOrBuilder
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2085,8 +1812,6 @@ public interface DataChangeOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2098,14 +1823,11 @@ public interface DataChangeOrBuilder
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ int getTiebreaker(); /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2114,10 +1836,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List getChunksList();
+    java.util.List 
+        getChunksList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2128,8 +1849,6 @@ public interface DataChangeOrBuilder
      */
     com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index);
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2140,8 +1859,6 @@ public interface DataChangeOrBuilder
      */
     int getChunksCount();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2150,11 +1867,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List
+    java.util.List 
         getChunksOrBuilderList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2167,49 +1882,39 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
         int index);
 
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ boolean getDone(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2220,13 +1925,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2237,13 +1939,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2258,8 +1957,6 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A message corresponding to one or more mutations to the partition
    * being streamed. A single logical `DataChange` message may also be split
@@ -2271,16 +1968,15 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
    */
-  public static final class DataChange extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DataChange extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       DataChangeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DataChange.newBuilder() to construct.
     private DataChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DataChange() {
       type_ = 0;
       sourceClusterId_ = "";
@@ -2291,38 +1987,34 @@ private DataChange() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DataChange();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The type of mutation.
      * 
* * Protobuf enum {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The type is unspecified.
        * 
@@ -2331,8 +2023,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2341,8 +2031,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2352,8 +2040,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       GARBAGE_COLLECTION(2),
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2365,8 +2051,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type is unspecified.
        * 
@@ -2375,8 +2059,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2385,8 +2067,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2396,8 +2076,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GARBAGE_COLLECTION_VALUE = 2;
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2406,6 +2084,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTINUATION_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2430,53 +2109,50 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return GARBAGE_COLLECTION; - case 3: - return CONTINUATION; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return GARBAGE_COLLECTION; + case 3: return CONTINUATION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2497,54 +2173,39 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } public static final int SOURCE_CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceClusterId_ = ""; /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ @java.lang.Override @@ -2553,30 +2214,30 @@ public java.lang.String getSourceClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; } } /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -2587,8 +2248,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2596,7 +2255,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() {
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -2607,14 +2265,11 @@ public com.google.protobuf.ByteString getRowKey() { public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -2622,25 +2277,18 @@ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2649,16 +2297,12 @@ public com.google.protobuf.Timestamp getCommitTimestamp() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } public static final int TIEBREAKER_FIELD_NUMBER = 5; private int tiebreaker_ = 0; /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2670,7 +2314,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -2679,12 +2322,9 @@ public int getTiebreaker() { } public static final int CHUNKS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2694,13 +2334,10 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List
-        getChunksList() {
+    public java.util.List getChunksList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2710,14 +2347,11 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>
+    public java.util.List 
         getChunksOrBuilderList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2731,8 +2365,6 @@ public int getChunksCount() {
       return chunks_.size();
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2746,8 +2378,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
       return chunks_.get(index);
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2757,23 +2387,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder
-        getChunksOrBuilder(int index) {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder(
+        int index) {
       return chunks_.get(index);
     }
 
     public static final int DONE_FIELD_NUMBER = 8;
     private boolean done_ = false;
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -2782,19 +2409,15 @@ public boolean getDone() { } public static final int TOKEN_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ @java.lang.Override @@ -2803,30 +2426,30 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -2837,8 +2460,6 @@ public com.google.protobuf.ByteString getTokenBytes() { public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp estimatedLowWatermark_; /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2849,7 +2470,6 @@ public com.google.protobuf.ByteString getTokenBytes() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -2857,8 +2477,6 @@ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2869,18 +2487,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2894,13 +2507,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2912,10 +2522,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
@@ -2951,36 +2560,39 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceClusterId_);
       }
       if (!rowKey_.isEmpty()) {
-        size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, rowKey_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(3, rowKey_);
       }
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTimestamp());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getCommitTimestamp());
       }
       if (tiebreaker_ != 0) {
-        size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, tiebreaker_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(5, tiebreaker_);
       }
       for (int i = 0; i < chunks_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, chunks_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, chunks_.get(i));
       }
       if (done_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, done_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(8, done_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, token_);
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                10, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2990,28 +2602,35 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other = (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
 
       if (type_ != other.type_) return false;
-      if (!getSourceClusterId().equals(other.getSourceClusterId())) return false;
-      if (!getRowKey().equals(other.getRowKey())) return false;
+      if (!getSourceClusterId()
+          .equals(other.getSourceClusterId())) return false;
+      if (!getRowKey()
+          .equals(other.getRowKey())) return false;
       if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
       if (hasCommitTimestamp()) {
-        if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
-      }
-      if (getTiebreaker() != other.getTiebreaker()) return false;
-      if (!getChunksList().equals(other.getChunksList())) return false;
-      if (getDone() != other.getDone()) return false;
-      if (!getToken().equals(other.getToken())) return false;
+        if (!getCommitTimestamp()
+            .equals(other.getCommitTimestamp())) return false;
+      }
+      if (getTiebreaker()
+          != other.getTiebreaker()) return false;
+      if (!getChunksList()
+          .equals(other.getChunksList())) return false;
+      if (getDone()
+          != other.getDone()) return false;
+      if (!getToken()
+          .equals(other.getToken())) return false;
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3041,7 +2660,8 @@ public int hashCode() {
         hash = (53 * hash) + getChunksList().hashCode();
       }
       hash = (37 * hash) + DONE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getDone());
       hash = (37 * hash) + TOKEN_FIELD_NUMBER;
       hash = (53 * hash) + getToken().hashCode();
       if (hasEstimatedLowWatermark()) {
@@ -3054,94 +2674,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3151,8 +2766,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message corresponding to one or more mutations to the partition
      * being streamed. A single logical `DataChange` message may also be split
@@ -3164,24 +2777,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
         com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder()
@@ -3189,19 +2799,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getCommitTimestampFieldBuilder();
           getChunksFieldBuilder();
           getEstimatedLowWatermarkFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3233,14 +2843,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance();
       }
 
@@ -3255,18 +2864,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         if (chunksBuilder_ == null) {
           if (((bitField0_ & 0x00000020) != 0)) {
             chunks_ = java.util.Collections.unmodifiableList(chunks_);
@@ -3278,8 +2883,7 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.type_ = type_;
@@ -3292,8 +2896,9 @@ private void buildPartial0(
         }
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.commitTimestamp_ =
-              commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build();
+          result.commitTimestamp_ = commitTimestampBuilder_ == null
+              ? commitTimestamp_
+              : commitTimestampBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
@@ -3306,10 +2911,9 @@ private void buildPartial0(
           result.token_ = token_;
         }
         if (((from_bitField0_ & 0x00000100) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         result.bitField0_ |= to_bitField0_;
@@ -3319,41 +2923,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3361,9 +2962,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -3399,10 +2998,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataCha
               chunksBuilder_ = null;
               chunks_ = other.chunks_;
               bitField0_ = (bitField0_ & ~0x00000020);
-              chunksBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getChunksFieldBuilder()
-                      : null;
+              chunksBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getChunksFieldBuilder() : null;
             } else {
               chunksBuilder_.addAllMessages(other.chunks_);
             }
@@ -3445,77 +3043,69 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  sourceClusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 40:
-                {
-                  tiebreaker_ = input.readInt32();
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 40
-              case 50:
-                {
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
-                      input.readMessage(
-                          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
-                          extensionRegistry);
-                  if (chunksBuilder_ == null) {
-                    ensureChunksIsMutable();
-                    chunks_.add(m);
-                  } else {
-                    chunksBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 50
-              case 64:
-                {
-                  done_ = input.readBool();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 64
-              case 74:
-                {
-                  token_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000080;
-                  break;
-                } // case 74
-              case 82:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000100;
-                  break;
-                } // case 82
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                sourceClusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getCommitTimestampFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 40: {
+                tiebreaker_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+              case 50: {
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
+                    input.readMessage(
+                        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
+                        extensionRegistry);
+                if (chunksBuilder_ == null) {
+                  ensureChunksIsMutable();
+                  chunks_.add(m);
+                } else {
+                  chunksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+              case 64: {
+                done_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 64
+              case 74: {
+                token_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+              case 82: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3525,34 +3115,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3563,38 +3145,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { + public Builder setType(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3604,14 +3176,11 @@ public Builder setType( return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3623,21 +3192,19 @@ public Builder clearType() { private java.lang.Object sourceClusterId_ = ""; /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ public java.lang.String getSourceClusterId() { java.lang.Object ref = sourceClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; @@ -3646,22 +3213,21 @@ public java.lang.String getSourceClusterId() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -3669,37 +3235,30 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearSourceClusterId() { @@ -3709,22 +3268,18 @@ public Builder clearSourceClusterId() { return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The bytes for sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceClusterId_ = value; bitField0_ |= 0x00000002; @@ -3734,8 +3289,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3743,7 +3296,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -3751,8 +3303,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3760,22 +3310,17 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 3; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3783,7 +3328,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -3795,47 +3339,34 @@ public Builder clearRowKey() { private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3856,15 +3387,14 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; */ - public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); } else { @@ -3875,8 +3405,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3885,9 +3413,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && commitTimestamp_ != null - && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + commitTimestamp_ != null && + commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -3902,8 +3430,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3921,8 +3447,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3935,8 +3459,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3947,14 +3469,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { if (commitTimestampBuilder_ != null) { return commitTimestampBuilder_.getMessageOrBuilder(); } else { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3962,26 +3481,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimestampFieldBuilder() { if (commitTimestampBuilder_ == null) { - commitTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTimestamp(), getParentForChildren(), isClean()); + commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTimestamp(), + getParentForChildren(), + isClean()); commitTimestamp_ = null; } return commitTimestampBuilder_; } - private int tiebreaker_; + private int tiebreaker_ ; /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3993,7 +3507,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
        * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -4001,8 +3514,6 @@ public int getTiebreaker() { return tiebreaker_; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -4014,7 +3525,6 @@ public int getTiebreaker() {
        * 
* * int32 tiebreaker = 5; - * * @param value The tiebreaker to set. * @return This builder for chaining. */ @@ -4026,8 +3536,6 @@ public Builder setTiebreaker(int value) { return this; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -4039,7 +3547,6 @@ public Builder setTiebreaker(int value) {
        * 
* * int32 tiebreaker = 5; - * * @return This builder for chaining. */ public Builder clearTiebreaker() { @@ -4049,38 +3556,28 @@ public Builder clearTiebreaker() { return this; } - private java.util.List - chunks_ = java.util.Collections.emptyList(); - + private java.util.List chunks_ = + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - chunks_ = - new java.util.ArrayList< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk>(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> chunksBuilder_; /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksList() { + public java.util.List getChunksList() { if (chunksBuilder_ == null) { return java.util.Collections.unmodifiableList(chunks_); } else { @@ -4088,16 +3585,13 @@ private void ensureChunksIsMutable() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public int getChunksCount() { if (chunksBuilder_ == null) { @@ -4107,16 +3601,13 @@ public int getChunksCount() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index) { if (chunksBuilder_ == null) { @@ -4126,16 +3617,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4152,20 +3640,16 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.set(index, builderForValue.build()); @@ -4176,19 +3660,15 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public Builder addChunks( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { + public Builder addChunks(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4202,16 +3682,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4228,16 +3705,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { @@ -4251,20 +3725,16 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.add(index, builderForValue.build()); @@ -4275,24 +3745,20 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addAllChunks( - java.lang.Iterable< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk> - values) { + java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -4300,16 +3766,13 @@ public Builder addAllChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder clearChunks() { if (chunksBuilder_ == null) { @@ -4322,16 +3785,13 @@ public Builder clearChunks() { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder removeChunks(int index) { if (chunksBuilder_ == null) { @@ -4344,56 +3804,45 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder getChunksBuilder( int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder - getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder( + int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - getChunksOrBuilderList() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -4401,87 +3850,68 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder get } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder - addChunksBuilder() { - return getChunksFieldBuilder() - .addBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder() { + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder( int index) { - return getChunksFieldBuilder() - .addBuilder( - index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private boolean done_; + private boolean done_ ; /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -4489,15 +3919,12 @@ public boolean getDone() { return done_; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @param value The done to set. * @return This builder for chaining. */ @@ -4509,15 +3936,12 @@ public Builder setDone(boolean value) { return this; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return This builder for chaining. */ public Builder clearDone() { @@ -4529,21 +3953,19 @@ public Builder clearDone() { private java.lang.Object token_ = ""; /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -4552,22 +3974,21 @@ public java.lang.String getToken() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -4575,37 +3996,30 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -4615,22 +4029,18 @@ public Builder clearToken() { return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000080; @@ -4640,13 +4050,8 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp estimatedLowWatermark_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - estimatedLowWatermarkBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_; /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4657,15 +4062,12 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4676,21 +4078,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4716,8 +4113,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4741,8 +4136,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4756,9 +4149,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000100) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000100) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -4773,8 +4166,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4797,8 +4188,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4816,8 +4205,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4833,14 +4220,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4853,22 +4237,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 10;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4881,13 +4261,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange();
     }
@@ -4896,28 +4275,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DataChange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DataChange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4932,42 +4310,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface HeartbeatOrBuilder
-      extends
+  public interface HeartbeatOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ com.google.bigtable.v2.StreamContinuationToken getContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -4978,8 +4348,6 @@ public interface HeartbeatOrBuilder
     com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder();
 
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4990,13 +4358,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5007,13 +4372,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5028,8 +4390,6 @@ public interface HeartbeatOrBuilder
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A periodic message with information that can be used to checkpoint
    * the state of a stream.
@@ -5037,52 +4397,48 @@ public interface HeartbeatOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
    */
-  public static final class Heartbeat extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Heartbeat extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       HeartbeatOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Heartbeat.newBuilder() to construct.
     private Heartbeat(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Heartbeat() {}
+    private Heartbeat() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Heartbeat();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
     }
 
     private int bitField0_;
     public static final int CONTINUATION_TOKEN_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ @java.lang.Override @@ -5090,26 +4446,19 @@ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -5119,16 +4468,12 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
-      return continuationToken_ == null
-          ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-          : continuationToken_;
+      return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
     }
 
     public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp estimatedLowWatermark_;
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5139,7 +4484,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -5147,8 +4491,6 @@ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5159,18 +4501,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5184,13 +4521,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5202,7 +4536,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getContinuationToken());
       }
@@ -5219,11 +4554,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContinuationToken());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getContinuationToken());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5233,21 +4569,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other = (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
 
       if (hasContinuationToken() != other.hasContinuationToken()) return false;
       if (hasContinuationToken()) {
-        if (!getContinuationToken().equals(other.getContinuationToken())) return false;
+        if (!getContinuationToken()
+            .equals(other.getContinuationToken())) return false;
       }
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -5274,94 +4611,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5371,8 +4703,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A periodic message with information that can be used to checkpoint
      * the state of a stream.
@@ -5380,24 +4710,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
         com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder()
@@ -5405,18 +4732,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getContinuationTokenFieldBuilder();
           getEstimatedLowWatermarkFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5435,9 +4762,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
@@ -5456,11 +4783,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -5469,17 +4793,15 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heart
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.continuationToken_ =
-              continuationTokenBuilder_ == null
-                  ? continuationToken_
-                  : continuationTokenBuilder_.build();
+          result.continuationToken_ = continuationTokenBuilder_ == null
+              ? continuationToken_
+              : continuationTokenBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         result.bitField0_ |= to_bitField0_;
@@ -5489,41 +4811,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5531,8 +4850,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) return this;
         if (other.hasContinuationToken()) {
           mergeContinuationToken(other.getContinuationToken());
         }
@@ -5565,27 +4883,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getContinuationTokenFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getContinuationTokenFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5595,54 +4912,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-          continuationTokenBuilder_;
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokenBuilder_;
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { if (continuationTokenBuilder_ == null) { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } else { return continuationTokenBuilder_.getMessage(); } } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5664,8 +4967,6 @@ public Builder setContinuationToken(com.google.bigtable.v2.StreamContinuationTok
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5685,8 +4986,6 @@ public Builder setContinuationToken(
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5696,10 +4995,9 @@ public Builder setContinuationToken(
        */
       public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationToken value) {
         if (continuationTokenBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && continuationToken_ != null
-              && continuationToken_
-                  != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            continuationToken_ != null &&
+            continuationToken_ != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
             getContinuationTokenBuilder().mergeFrom(value);
           } else {
             continuationToken_ = value;
@@ -5714,8 +5012,6 @@ public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationT
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5734,8 +5030,6 @@ public Builder clearContinuationToken() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5749,8 +5043,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokenFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5758,19 +5050,15 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        *
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
-      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder
-          getContinuationTokenOrBuilder() {
+      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
         if (continuationTokenBuilder_ != null) {
           return continuationTokenBuilder_.getMessageOrBuilder();
         } else {
-          return continuationToken_ == null
-              ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-              : continuationToken_;
+          return continuationToken_ == null ?
+              com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
         }
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5779,17 +5067,14 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokenFieldBuilder() {
         if (continuationTokenBuilder_ == null) {
-          continuationTokenBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
-                  getContinuationToken(), getParentForChildren(), isClean());
+          continuationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+                  getContinuationToken(),
+                  getParentForChildren(),
+                  isClean());
           continuationToken_ = null;
         }
         return continuationTokenBuilder_;
@@ -5797,13 +5082,8 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
 
       private com.google.protobuf.Timestamp estimatedLowWatermark_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          estimatedLowWatermarkBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_;
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5814,15 +5094,12 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5833,21 +5110,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5873,8 +5145,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5898,8 +5168,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5913,9 +5181,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -5930,8 +5198,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5954,8 +5220,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5973,8 +5237,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5990,14 +5252,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -6010,22 +5269,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6038,12 +5293,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     private static final com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat();
     }
@@ -6052,28 +5307,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Heartbeat parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Heartbeat parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6088,40 +5342,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CloseStreamOrBuilder
-      extends
+  public interface CloseStreamOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the stream.
      * 
@@ -6131,8 +5377,6 @@ public interface CloseStreamOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6140,10 +5384,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List getContinuationTokensList();
+    java.util.List 
+        getContinuationTokensList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6153,8 +5396,6 @@ public interface CloseStreamOrBuilder
      */
     com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6164,8 +5405,6 @@ public interface CloseStreamOrBuilder
      */
     int getContinuationTokensCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6173,11 +5412,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List
+    java.util.List 
         getContinuationTokensOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6189,8 +5426,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
         int index);
 
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6199,10 +5434,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List getNewPartitionsList();
+    java.util.List 
+        getNewPartitionsList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6213,8 +5447,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     com.google.bigtable.v2.StreamPartition getNewPartitions(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6225,8 +5457,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     int getNewPartitionsCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6235,11 +5465,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List
+    java.util.List 
         getNewPartitionsOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6248,11 +5476,10 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index);
+    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A message indicating that the client should stop reading from the stream.
    * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6278,16 +5505,15 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
    */
-  public static final class CloseStream extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CloseStream extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       CloseStreamOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CloseStream.newBuilder() to construct.
     private CloseStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CloseStream() {
       continuationTokens_ = java.util.Collections.emptyList();
       newPartitions_ = java.util.Collections.emptyList();
@@ -6295,37 +5521,33 @@ private CloseStream() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CloseStream();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
     }
 
     private int bitField0_;
     public static final int STATUS_FIELD_NUMBER = 1;
     private com.google.rpc.Status status_;
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -6333,14 +5555,11 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -6348,8 +5567,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the stream.
      * 
@@ -6362,12 +5579,9 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List continuationTokens_; /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6376,13 +5590,10 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getContinuationTokensList() {
+    public java.util.List getContinuationTokensList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6391,13 +5602,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getContinuationTokensOrBuilderList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6410,8 +5619,6 @@ public int getContinuationTokensCount() {
       return continuationTokens_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6424,8 +5631,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
       return continuationTokens_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6440,12 +5645,9 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
     }
 
     public static final int NEW_PARTITIONS_FIELD_NUMBER = 3;
-
     @SuppressWarnings("serial")
     private java.util.List newPartitions_;
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6459,8 +5661,6 @@ public java.util.List getNewPartitionsLi
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6470,13 +5670,11 @@ public java.util.List getNewPartitionsLi
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getNewPartitionsOrBuilderList() {
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6490,8 +5688,6 @@ public int getNewPartitionsCount() {
       return newPartitions_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6505,8 +5701,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
       return newPartitions_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6516,12 +5710,12 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index) {
       return newPartitions_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6533,7 +5727,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getStatus());
       }
@@ -6553,14 +5748,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getStatus());
       }
       for (int i = 0; i < continuationTokens_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, continuationTokens_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, continuationTokens_.get(i));
       }
       for (int i = 0; i < newPartitions_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, newPartitions_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, newPartitions_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -6570,20 +5767,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other = (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
 
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
-      if (!getContinuationTokensList().equals(other.getContinuationTokensList())) return false;
-      if (!getNewPartitionsList().equals(other.getNewPartitionsList())) return false;
+      if (!getContinuationTokensList()
+          .equals(other.getContinuationTokensList())) return false;
+      if (!getNewPartitionsList()
+          .equals(other.getNewPartitionsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -6613,94 +5812,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -6710,8 +5904,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message indicating that the client should stop reading from the stream.
      * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6737,24 +5929,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
         com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder()
@@ -6762,19 +5951,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getStatusFieldBuilder();
           getContinuationTokensFieldBuilder();
           getNewPartitionsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6802,14 +5991,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance();
       }
 
@@ -6824,18 +6012,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         if (continuationTokensBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             continuationTokens_ = java.util.Collections.unmodifiableList(continuationTokens_);
@@ -6856,12 +6040,13 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null
+              ? status_
+              : statusBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         result.bitField0_ |= to_bitField0_;
@@ -6871,41 +6056,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6913,9 +6095,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) return this;
         if (other.hasStatus()) {
           mergeStatus(other.getStatus());
         }
@@ -6937,10 +6117,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               continuationTokensBuilder_ = null;
               continuationTokens_ = other.continuationTokens_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              continuationTokensBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getContinuationTokensFieldBuilder()
-                      : null;
+              continuationTokensBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getContinuationTokensFieldBuilder() : null;
             } else {
               continuationTokensBuilder_.addAllMessages(other.continuationTokens_);
             }
@@ -6964,10 +6143,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               newPartitionsBuilder_ = null;
               newPartitions_ = other.newPartitions_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              newPartitionsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getNewPartitionsFieldBuilder()
-                      : null;
+              newPartitionsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getNewPartitionsFieldBuilder() : null;
             } else {
               newPartitionsBuilder_.addAllMessages(other.newPartitions_);
             }
@@ -6999,46 +6177,45 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.bigtable.v2.StreamContinuationToken m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamContinuationToken.parser(),
-                          extensionRegistry);
-                  if (continuationTokensBuilder_ == null) {
-                    ensureContinuationTokensIsMutable();
-                    continuationTokens_.add(m);
-                  } else {
-                    continuationTokensBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.bigtable.v2.StreamPartition m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamPartition.parser(), extensionRegistry);
-                  if (newPartitionsBuilder_ == null) {
-                    ensureNewPartitionsIsMutable();
-                    newPartitions_.add(m);
-                  } else {
-                    newPartitionsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getStatusFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.bigtable.v2.StreamContinuationToken m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamContinuationToken.parser(),
+                        extensionRegistry);
+                if (continuationTokensBuilder_ == null) {
+                  ensureContinuationTokensIsMutable();
+                  continuationTokens_.add(m);
+                } else {
+                  continuationTokensBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+              case 26: {
+                com.google.bigtable.v2.StreamPartition m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamPartition.parser(),
+                        extensionRegistry);
+                if (newPartitionsBuilder_ == null) {
+                  ensureNewPartitionsIsMutable();
+                  newPartitions_.add(m);
+                } else {
+                  newPartitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7048,36 +6225,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-          statusBuilder_;
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
       /**
-       *
-       *
        * 
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -7088,8 +6257,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the stream.
        * 
@@ -7110,15 +6277,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -7129,8 +6295,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7139,9 +6303,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -7156,8 +6320,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7175,8 +6337,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7189,8 +6349,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status of the stream.
        * 
@@ -7201,12 +6359,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
        * The status of the stream.
        * 
@@ -7214,40 +6371,32 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } private java.util.List continuationTokens_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContinuationTokensIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - continuationTokens_ = - new java.util.ArrayList( - continuationTokens_); + continuationTokens_ = new java.util.ArrayList(continuationTokens_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> - continuationTokensBuilder_; + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokensBuilder_; /** - * - * *
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7255,8 +6404,7 @@ private void ensureContinuationTokensIsMutable() {
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensList() {
+      public java.util.List getContinuationTokensList() {
         if (continuationTokensBuilder_ == null) {
           return java.util.Collections.unmodifiableList(continuationTokens_);
         } else {
@@ -7264,8 +6412,6 @@ private void ensureContinuationTokensIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7281,8 +6427,6 @@ public int getContinuationTokensCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7298,8 +6442,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7322,8 +6464,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7343,8 +6483,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7366,8 +6504,6 @@ public Builder addContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7390,8 +6526,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7411,8 +6545,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7432,8 +6564,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7445,7 +6575,8 @@ public Builder addAllContinuationTokens(
           java.lang.Iterable values) {
         if (continuationTokensBuilder_ == null) {
           ensureContinuationTokensIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, continuationTokens_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, continuationTokens_);
           onChanged();
         } else {
           continuationTokensBuilder_.addAllMessages(values);
@@ -7453,8 +6584,6 @@ public Builder addAllContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7473,8 +6602,6 @@ public Builder clearContinuationTokens() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7493,8 +6620,6 @@ public Builder removeContinuationTokens(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7507,8 +6632,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokensFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7519,14 +6642,11 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
       public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(
           int index) {
         if (continuationTokensBuilder_ == null) {
-          return continuationTokens_.get(index);
-        } else {
+          return continuationTokens_.get(index);  } else {
           return continuationTokensBuilder_.getMessageOrBuilder(index);
         }
       }
-      /**
-       *
-       *
+      /**
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7534,8 +6654,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensOrBuilderList() {
+      public java.util.List 
+           getContinuationTokensOrBuilderList() {
         if (continuationTokensBuilder_ != null) {
           return continuationTokensBuilder_.getMessageOrBuilderList();
         } else {
@@ -7543,8 +6663,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7553,12 +6671,10 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder() {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7568,12 +6684,10 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder(
           int index) {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7581,22 +6695,16 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensBuilderList() {
+      public java.util.List 
+           getContinuationTokensBuilderList() {
         return getContinuationTokensFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokensFieldBuilder() {
         if (continuationTokensBuilder_ == null) {
-          continuationTokensBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+          continuationTokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
                   continuationTokens_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -7607,25 +6715,18 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
       }
 
       private java.util.List newPartitions_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureNewPartitionsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          newPartitions_ =
-              new java.util.ArrayList(newPartitions_);
+          newPartitions_ = new java.util.ArrayList(newPartitions_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
-          newPartitionsBuilder_;
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> newPartitionsBuilder_;
 
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7642,8 +6743,6 @@ public java.util.List getNewPartitionsLi
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7660,8 +6759,6 @@ public int getNewPartitionsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7678,8 +6775,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7688,7 +6783,8 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder setNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7702,8 +6798,6 @@ public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7724,8 +6818,6 @@ public Builder setNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7748,8 +6840,6 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7758,7 +6848,8 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder addNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7772,8 +6863,6 @@ public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7794,8 +6883,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7816,8 +6903,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7830,7 +6915,8 @@ public Builder addAllNewPartitions(
           java.lang.Iterable values) {
         if (newPartitionsBuilder_ == null) {
           ensureNewPartitionsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, newPartitions_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, newPartitions_);
           onChanged();
         } else {
           newPartitionsBuilder_.addAllMessages(values);
@@ -7838,8 +6924,6 @@ public Builder addAllNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7859,8 +6943,6 @@ public Builder clearNewPartitions() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7880,8 +6962,6 @@ public Builder removeNewPartitions(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7890,12 +6970,11 @@ public Builder removeNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(
+          int index) {
         return getNewPartitionsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7904,16 +6983,14 @@ public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+          int index) {
         if (newPartitionsBuilder_ == null) {
-          return newPartitions_.get(index);
-        } else {
+          return newPartitions_.get(index);  } else {
           return newPartitionsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7922,8 +6999,8 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsOrBuilderList() {
+      public java.util.List 
+           getNewPartitionsOrBuilderList() {
         if (newPartitionsBuilder_ != null) {
           return newPartitionsBuilder_.getMessageOrBuilderList();
         } else {
@@ -7931,8 +7008,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7942,12 +7017,10 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
       public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder() {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+        return getNewPartitionsFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7956,13 +7029,12 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder()
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(int index) {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
+          int index) {
+        return getNewPartitionsFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7971,22 +7043,16 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsBuilderList() {
+      public java.util.List 
+           getNewPartitionsBuilderList() {
         return getNewPartitionsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> 
           getNewPartitionsFieldBuilder() {
         if (newPartitionsBuilder_ == null) {
-          newPartitionsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamPartition,
-                  com.google.bigtable.v2.StreamPartition.Builder,
-                  com.google.bigtable.v2.StreamPartitionOrBuilder>(
+          newPartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>(
                   newPartitions_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -7995,7 +7061,6 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
         }
         return newPartitionsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8008,13 +7073,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream();
     }
@@ -8023,28 +7087,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CloseStream parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CloseStream parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -8059,23 +7122,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int streamRecordCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object streamRecord_;
-
   public enum StreamRecordCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DATA_CHANGE(1),
     HEARTBEAT(2),
     CLOSE_STREAM(3),
     STREAMRECORD_NOT_SET(0);
     private final int value;
-
     private StreamRecordCase(int value) {
       this.value = value;
     }
@@ -8091,38 +7151,31 @@ public static StreamRecordCase valueOf(int value) {
 
     public static StreamRecordCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return DATA_CHANGE;
-        case 2:
-          return HEARTBEAT;
-        case 3:
-          return CLOSE_STREAM;
-        case 0:
-          return STREAMRECORD_NOT_SET;
-        default:
-          return null;
+        case 1: return DATA_CHANGE;
+        case 2: return HEARTBEAT;
+        case 3: return CLOSE_STREAM;
+        case 0: return STREAMRECORD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamRecordCase getStreamRecordCase() {
-    return StreamRecordCase.forNumber(streamRecordCase_);
+  public StreamRecordCase
+  getStreamRecordCase() {
+    return StreamRecordCase.forNumber(
+        streamRecordCase_);
   }
 
   public static final int DATA_CHANGE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8130,26 +7183,21 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } /** - * - * *
    * A mutation to the partition.
    * 
@@ -8157,24 +7205,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } public static final int HEARTBEAT_FIELD_NUMBER = 2; /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8182,26 +7226,21 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -8209,24 +7248,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } public static final int CLOSE_STREAM_FIELD_NUMBER = 3; /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -8234,26 +7269,21 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } /** - * - * *
    * An indication that the stream should be closed.
    * 
@@ -8261,16 +7291,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8282,18 +7310,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (streamRecordCase_ == 1) { - output.writeMessage( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + output.writeMessage(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - output.writeMessage( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + output.writeMessage(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - output.writeMessage( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + output.writeMessage(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } getUnknownFields().writeTo(output); } @@ -8305,19 +7331,16 @@ public int getSerializedSize() { size = 0; if (streamRecordCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8327,24 +7350,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse other = - (com.google.bigtable.v2.ReadChangeStreamResponse) obj; + com.google.bigtable.v2.ReadChangeStreamResponse other = (com.google.bigtable.v2.ReadChangeStreamResponse) obj; if (!getStreamRecordCase().equals(other.getStreamRecordCase())) return false; switch (streamRecordCase_) { case 1: - if (!getDataChange().equals(other.getDataChange())) return false; + if (!getDataChange() + .equals(other.getDataChange())) return false; break; case 2: - if (!getHeartbeat().equals(other.getHeartbeat())) return false; + if (!getHeartbeat() + .equals(other.getHeartbeat())) return false; break; case 3: - if (!getCloseStream().equals(other.getCloseStream())) return false; + if (!getCloseStream() + .equals(other.getCloseStream())) return false; break; case 0: default: @@ -8381,104 +7406,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.ReadChangeStream.
@@ -8486,32 +7506,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse)
       com.google.bigtable.v2.ReadChangeStreamResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8531,9 +7552,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
@@ -8552,11 +7573,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamResponse buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamResponse result =
-          new com.google.bigtable.v2.ReadChangeStreamResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamResponse result = new com.google.bigtable.v2.ReadChangeStreamResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -8569,13 +7587,16 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse resul
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse result) {
       result.streamRecordCase_ = streamRecordCase_;
       result.streamRecord_ = this.streamRecord_;
-      if (streamRecordCase_ == 1 && dataChangeBuilder_ != null) {
+      if (streamRecordCase_ == 1 &&
+          dataChangeBuilder_ != null) {
         result.streamRecord_ = dataChangeBuilder_.build();
       }
-      if (streamRecordCase_ == 2 && heartbeatBuilder_ != null) {
+      if (streamRecordCase_ == 2 &&
+          heartbeatBuilder_ != null) {
         result.streamRecord_ = heartbeatBuilder_.build();
       }
-      if (streamRecordCase_ == 3 && closeStreamBuilder_ != null) {
+      if (streamRecordCase_ == 3 &&
+          closeStreamBuilder_ != null) {
         result.streamRecord_ = closeStreamBuilder_.build();
       }
     }
@@ -8584,39 +7605,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8624,28 +7644,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse other) {
-      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance()) return this;
       switch (other.getStreamRecordCase()) {
-        case DATA_CHANGE:
-          {
-            mergeDataChange(other.getDataChange());
-            break;
-          }
-        case HEARTBEAT:
-          {
-            mergeHeartbeat(other.getHeartbeat());
-            break;
-          }
-        case CLOSE_STREAM:
-          {
-            mergeCloseStream(other.getCloseStream());
-            break;
-          }
-        case STREAMRECORD_NOT_SET:
-          {
-            break;
-          }
+        case DATA_CHANGE: {
+          mergeDataChange(other.getDataChange());
+          break;
+        }
+        case HEARTBEAT: {
+          mergeHeartbeat(other.getHeartbeat());
+          break;
+        }
+        case CLOSE_STREAM: {
+          mergeCloseStream(other.getCloseStream());
+          break;
+        }
+        case STREAMRECORD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -8673,31 +7688,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataChangeFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getHeartbeatFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCloseStreamFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDataChangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getHeartbeatFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCloseStreamFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 3;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8707,12 +7724,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int streamRecordCase_ = 0;
     private java.lang.Object streamRecord_;
-
-    public StreamRecordCase getStreamRecordCase() {
-      return StreamRecordCase.forNumber(streamRecordCase_);
+    public StreamRecordCase
+        getStreamRecordCase() {
+      return StreamRecordCase.forNumber(
+          streamRecordCase_);
     }
 
     public Builder clearStreamRecord() {
@@ -8725,19 +7742,13 @@ public Builder clearStreamRecord() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>
-        dataChangeBuilder_;
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> dataChangeBuilder_;
     /**
-     *
-     *
      * 
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8745,14 +7756,11 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override @@ -8770,8 +7778,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8792,8 +7798,6 @@ public Builder setDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.Dat return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8812,26 +7816,18 @@ public Builder setDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public Builder mergeDataChange( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { + public Builder mergeDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { if (dataChangeBuilder_ == null) { - if (streamRecordCase_ == 1 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 1 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -8847,8 +7843,6 @@ public Builder mergeDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8872,21 +7866,16 @@ public Builder clearDataChange() { return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder - getDataChangeBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder getDataChangeBuilder() { return getDataChangeFieldBuilder().getBuilder(); } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8894,8 +7883,7 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if ((streamRecordCase_ == 1) && (dataChangeBuilder_ != null)) { return dataChangeBuilder_.getMessageOrBuilder(); } else { @@ -8906,8 +7894,6 @@ public Builder clearDataChange() { } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8915,20 +7901,14 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> getDataChangeFieldBuilder() { if (dataChangeBuilder_ == null) { if (!(streamRecordCase_ == 1)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); - } - dataChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); + } + dataChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_, getParentForChildren(), isClean()); @@ -8940,19 +7920,13 @@ public Builder clearDataChange() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> - heartbeatBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> heartbeatBuilder_; /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8960,14 +7934,11 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override @@ -8985,8 +7956,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9007,8 +7976,6 @@ public Builder setHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Hear return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9027,8 +7994,6 @@ public Builder setHeartbeat( return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9037,14 +8002,10 @@ public Builder setHeartbeat( */ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat value) { if (heartbeatBuilder_ == null) { - if (streamRecordCase_ == 2 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 2 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -9060,8 +8021,6 @@ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.He return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9085,8 +8044,6 @@ public Builder clearHeartbeat() { return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9097,8 +8054,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear return getHeartbeatFieldBuilder().getBuilder(); } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9106,8 +8061,7 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if ((streamRecordCase_ == 2) && (heartbeatBuilder_ != null)) { return heartbeatBuilder_.getMessageOrBuilder(); } else { @@ -9118,8 +8072,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9127,20 +8079,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> getHeartbeatFieldBuilder() { if (heartbeatBuilder_ == null) { if (!(streamRecordCase_ == 2)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); - } - heartbeatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); + } + heartbeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_, getParentForChildren(), isClean()); @@ -9152,19 +8098,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> - closeStreamBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> closeStreamBuilder_; /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -9172,14 +8112,11 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override @@ -9197,16 +8134,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea } } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder setCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder setCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9220,8 +8154,6 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9240,26 +8172,18 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder mergeCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder mergeCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { - if (streamRecordCase_ == 3 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 3 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -9275,8 +8199,6 @@ public Builder mergeCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9300,21 +8222,16 @@ public Builder clearCloseStream() { return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder - getCloseStreamBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder getCloseStreamBuilder() { return getCloseStreamFieldBuilder().getBuilder(); } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9322,8 +8239,7 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if ((streamRecordCase_ == 3) && (closeStreamBuilder_ != null)) { return closeStreamBuilder_.getMessageOrBuilder(); } else { @@ -9334,8 +8250,6 @@ public Builder clearCloseStream() { } } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9343,20 +8257,14 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> getCloseStreamFieldBuilder() { if (closeStreamBuilder_ == null) { if (!(streamRecordCase_ == 3)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); - } - closeStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); + } + closeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_, getParentForChildren(), isClean()); @@ -9366,9 +8274,9 @@ public Builder clearCloseStream() { onChanged(); return closeStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9378,12 +8286,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse) private static final com.google.bigtable.v2.ReadChangeStreamResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse(); } @@ -9392,27 +8300,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadChangeStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadChangeStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9427,4 +8335,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java index 074d396159..c767e8646c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadChangeStreamResponseOrBuilder - extends +public interface ReadChangeStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ boolean hasDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
@@ -60,32 +36,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ boolean hasHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -95,32 +63,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ boolean hasCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index 27c28bac65..82e101a76b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * ReadIterationStats captures information about the iteration of rows or cells
  * over the course of a read, e.g. how many results were scanned in a read
@@ -30,51 +13,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
  */
-public final class ReadIterationStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadIterationStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIterationStats)
     ReadIterationStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadIterationStats.newBuilder() to construct.
   private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadIterationStats() {}
+  private ReadIterationStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadIterationStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadIterationStats.class,
-            com.google.bigtable.v2.ReadIterationStats.Builder.class);
+            com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
   }
 
   public static final int ROWS_SEEN_COUNT_FIELD_NUMBER = 1;
   private long rowsSeenCount_ = 0L;
   /**
-   *
-   *
    * 
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -85,14 +64,11 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_ = 0L; /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -103,15 +79,12 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; private long cellsSeenCount_ = 0L; /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -122,14 +95,11 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_ = 0L; /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -138,7 +108,6 @@ public long getCellsReturnedCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowsSeenCount_ != 0L) { output.writeInt64(1, rowsSeenCount_); } @@ -173,16 +143,20 @@ public int getSerializedSize() { size = 0; if (rowsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, rowsSeenCount_); } if (rowsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, rowsReturnedCount_); } if (cellsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, cellsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, cellsSeenCount_); } if (cellsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, cellsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, cellsReturnedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,18 +166,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadIterationStats)) { return super.equals(obj); } - com.google.bigtable.v2.ReadIterationStats other = - (com.google.bigtable.v2.ReadIterationStats) obj; + com.google.bigtable.v2.ReadIterationStats other = (com.google.bigtable.v2.ReadIterationStats) obj; - if (getRowsSeenCount() != other.getRowsSeenCount()) return false; - if (getRowsReturnedCount() != other.getRowsReturnedCount()) return false; - if (getCellsSeenCount() != other.getCellsSeenCount()) return false; - if (getCellsReturnedCount() != other.getCellsReturnedCount()) return false; + if (getRowsSeenCount() + != other.getRowsSeenCount()) return false; + if (getRowsReturnedCount() + != other.getRowsReturnedCount()) return false; + if (getCellsSeenCount() + != other.getCellsSeenCount()) return false; + if (getCellsReturnedCount() + != other.getCellsReturnedCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,116 +193,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROWS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsSeenCount()); hash = (37 * hash) + ROWS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsReturnedCount()); hash = (37 * hash) + CELLS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsSeenCount()); hash = (37 * hash) + CELLS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsReturnedCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadIterationStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadIterationStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReadIterationStats captures information about the iteration of rows or cells
    * over the course of a read, e.g. how many results were scanned in a read
@@ -334,32 +310,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIterationStats)
       com.google.bigtable.v2.ReadIterationStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadIterationStats.class,
-              com.google.bigtable.v2.ReadIterationStats.Builder.class);
+              com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadIterationStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -372,9 +349,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
@@ -393,11 +370,8 @@ public com.google.bigtable.v2.ReadIterationStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadIterationStats buildPartial() {
-      com.google.bigtable.v2.ReadIterationStats result =
-          new com.google.bigtable.v2.ReadIterationStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadIterationStats result = new com.google.bigtable.v2.ReadIterationStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -422,39 +396,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadIterationStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadIterationStats) {
-        return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other);
+        return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,37 +474,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                rowsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                rowsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                cellsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                cellsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              rowsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              rowsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              cellsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              cellsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -541,20 +509,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long rowsSeenCount_;
+    private long rowsSeenCount_ ;
     /**
-     *
-     *
      * 
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -562,15 +526,12 @@ public long getRowsSeenCount() { return rowsSeenCount_; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @param value The rowsSeenCount to set. * @return This builder for chaining. */ @@ -582,15 +543,12 @@ public Builder setRowsSeenCount(long value) { return this; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return This builder for chaining. */ public Builder clearRowsSeenCount() { @@ -600,16 +558,13 @@ public Builder clearRowsSeenCount() { return this; } - private long rowsReturnedCount_; + private long rowsReturnedCount_ ; /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -617,14 +572,11 @@ public long getRowsReturnedCount() { return rowsReturnedCount_; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @param value The rowsReturnedCount to set. * @return This builder for chaining. */ @@ -636,14 +588,11 @@ public Builder setRowsReturnedCount(long value) { return this; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { @@ -653,17 +602,14 @@ public Builder clearRowsReturnedCount() { return this; } - private long cellsSeenCount_; + private long cellsSeenCount_ ; /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -671,15 +617,12 @@ public long getCellsSeenCount() { return cellsSeenCount_; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @param value The cellsSeenCount to set. * @return This builder for chaining. */ @@ -691,15 +634,12 @@ public Builder setCellsSeenCount(long value) { return this; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return This builder for chaining. */ public Builder clearCellsSeenCount() { @@ -709,16 +649,13 @@ public Builder clearCellsSeenCount() { return this; } - private long cellsReturnedCount_; + private long cellsReturnedCount_ ; /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -726,14 +663,11 @@ public long getCellsReturnedCount() { return cellsReturnedCount_; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @param value The cellsReturnedCount to set. * @return This builder for chaining. */ @@ -745,14 +679,11 @@ public Builder setCellsReturnedCount(long value) { return this; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { @@ -761,9 +692,9 @@ public Builder clearCellsReturnedCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -773,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIterationStats) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIterationStats) private static final com.google.bigtable.v2.ReadIterationStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIterationStats(); } @@ -787,27 +718,27 @@ public static com.google.bigtable.v2.ReadIterationStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadIterationStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadIterationStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -822,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index edc6650b49..1428fd528b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -1,79 +1,51 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadIterationStatsOrBuilder - extends +public interface ReadIterationStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIterationStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ long getRowsSeenCount(); /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ long getRowsReturnedCount(); /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ long getCellsSeenCount(); /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ long getCellsReturnedCount(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index 1096b13218..798c2c17e6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ -public final class ReadModifyWriteRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowRequest) ReadModifyWriteRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowRequest.newBuilder() to construct. private ReadModifyWriteRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadModifyWriteRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -47,42 +29,35 @@ private ReadModifyWriteRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -91,33 +66,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -126,19 +99,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -147,30 +116,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -181,15 +150,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * 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]; - * * @return The rowKey. */ @java.lang.Override @@ -198,98 +164,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int RULES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { return rules_.get(index); } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -327,10 +273,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rules_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -343,18 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowRequest other = - (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; + com.google.bigtable.v2.ReadModifyWriteRowRequest other = (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,136 +332,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.bigtable.v2.ReadModifyWriteRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -529,9 +476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override @@ -550,18 +497,14 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowRequest buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowRequest result = - new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); + com.google.bigtable.v2.ReadModifyWriteRowRequest result = new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.ReadModifyWriteRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadModifyWriteRowRequest result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -590,39 +533,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); } else { super.mergeFrom(other); return this; @@ -630,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -663,10 +604,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -698,44 +638,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.ReadModifyWriteRule m = - input.readMessage( - com.google.bigtable.v2.ReadModifyWriteRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.ReadModifyWriteRule m = + input.readMessage( + com.google.bigtable.v2.ReadModifyWriteRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -745,29 +681,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -776,25 +707,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -802,43 +730,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -848,25 +765,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -876,21 +787,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -899,22 +808,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -922,37 +830,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -962,22 +863,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -987,15 +884,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * 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]; - * * @return The rowKey. */ @java.lang.Override @@ -1003,37 +897,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * 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]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * 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]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1044,33 +930,25 @@ public Builder clearRowKey() { } private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> rulesBuilder_; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -1080,17 +958,13 @@ public java.util.List getRulesList() } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -1100,17 +974,13 @@ public int getRulesCount() { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { if (rulesBuilder_ == null) { @@ -1120,19 +990,16 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder setRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1146,17 +1013,13 @@ public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1170,17 +1033,13 @@ public Builder setRules( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { @@ -1196,19 +1055,16 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder addRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1222,19 +1078,16 @@ public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1245,17 +1098,13 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder build return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1269,23 +1118,20 @@ public Builder addRules( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1293,17 +1139,13 @@ public Builder addAllRules( return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -1316,17 +1158,13 @@ public Builder clearRules() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -1339,56 +1177,45 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1396,76 +1223,62 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1475,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowRequest) private static final com.google.bigtable.v2.ReadModifyWriteRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowRequest(); } @@ -1489,27 +1302,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1524,4 +1337,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java index 8148ae31f6..667bba6481 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -1,172 +1,121 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadModifyWriteRowRequestOrBuilder - extends +public interface ReadModifyWriteRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * 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]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.ReadModifyWriteRule getRules(int index); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getRulesCount(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java index d9912ac432..21887362d8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,59 +5,53 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ -public final class ReadModifyWriteRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowResponse) ReadModifyWriteRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowResponse.newBuilder() to construct. private ReadModifyWriteRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadModifyWriteRowResponse() {} + private ReadModifyWriteRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } private int bitField0_; public static final int ROW_FIELD_NUMBER = 1; private com.google.bigtable.v2.Row row_; /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasRow() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ @java.lang.Override @@ -95,8 +71,6 @@ public com.google.bigtable.v2.Row getRow() { return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
@@ -109,7 +83,6 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getRow()); } @@ -135,7 +109,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRow()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowResponse other = - (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; + com.google.bigtable.v2.ReadModifyWriteRowResponse other = (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; if (hasRow() != other.hasRow()) return false; if (hasRow()) { - if (!getRow().equals(other.getRow())) return false; + if (!getRow() + .equals(other.getRow())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -178,126 +153,119 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowResponse) com.google.bigtable.v2.ReadModifyWriteRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowResponse.newBuilder() @@ -305,17 +273,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRowFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override @@ -350,11 +318,8 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowResponse result = - new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadModifyWriteRowResponse result = new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,7 +328,9 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse res int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); + result.row_ = rowBuilder_ == null + ? row_ + : rowBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -373,39 +340,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse)other); } else { super.mergeFrom(other); return this; @@ -413,8 +379,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowResponse other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) return this; if (other.hasRow()) { mergeRow(other.getRow()); } @@ -444,19 +409,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,38 +431,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.Row row_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> - rowBuilder_; + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> rowBuilder_; /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ public boolean hasRow() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ public com.google.bigtable.v2.Row getRow() { @@ -508,8 +463,6 @@ public com.google.bigtable.v2.Row getRow() { } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -530,15 +483,14 @@ public Builder setRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; */ - public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { + public Builder setRow( + com.google.bigtable.v2.Row.Builder builderForValue) { if (rowBuilder_ == null) { row_ = builderForValue.build(); } else { @@ -549,8 +501,6 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -559,9 +509,9 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { */ public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && row_ != null - && row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + row_ != null && + row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { getRowBuilder().mergeFrom(value); } else { row_ = value; @@ -576,8 +526,6 @@ public Builder mergeRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -595,8 +543,6 @@ public Builder clearRow() { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -609,8 +555,6 @@ public com.google.bigtable.v2.Row.Builder getRowBuilder() { return getRowFieldBuilder().getBuilder(); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -621,12 +565,11 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { if (rowBuilder_ != null) { return rowBuilder_.getMessageOrBuilder(); } else { - return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; + return row_ == null ? + com.google.bigtable.v2.Row.getDefaultInstance() : row_; } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -634,23 +577,21 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { * .google.bigtable.v2.Row row = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> getRowFieldBuilder() { if (rowBuilder_ == null) { - rowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder>(getRow(), getParentForChildren(), isClean()); + rowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder>( + getRow(), + getParentForChildren(), + isClean()); row_ = null; } return rowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -660,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowResponse) private static final com.google.bigtable.v2.ReadModifyWriteRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowResponse(); } @@ -674,27 +615,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -709,4 +650,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java index 9e39c57197..2159302937 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadModifyWriteRowResponseOrBuilder - extends +public interface ReadModifyWriteRowResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ boolean hasRow(); /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ com.google.bigtable.v2.Row getRow(); /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java similarity index 72% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java index ae29d07838..3b461c6fa6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies an atomic read/modify/write operation on the latest value of the
  * specified column.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
  */
-public final class ReadModifyWriteRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadModifyWriteRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRule)
     ReadModifyWriteRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadModifyWriteRule.newBuilder() to construct.
   private ReadModifyWriteRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadModifyWriteRule() {
     familyName_ = "";
     columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -46,39 +28,34 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadModifyWriteRule.class,
-            com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+            com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
   }
 
   private int ruleCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rule_;
-
   public enum RuleCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_VALUE(3),
     INCREMENT_AMOUNT(4),
     RULE_NOT_SET(0);
     private final int value;
-
     private RuleCase(int value) {
       this.value = value;
     }
@@ -94,40 +71,33 @@ public static RuleCase valueOf(int value) {
 
     public static RuleCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APPEND_VALUE;
-        case 4:
-          return INCREMENT_AMOUNT;
-        case 0:
-          return RULE_NOT_SET;
-        default:
-          return null;
+        case 3: return APPEND_VALUE;
+        case 4: return INCREMENT_AMOUNT;
+        case 0: return RULE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RuleCase getRuleCase() {
-    return RuleCase.forNumber(ruleCase_);
+  public RuleCase
+  getRuleCase() {
+    return RuleCase.forNumber(
+        ruleCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -136,30 +106,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -170,8 +140,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -179,7 +147,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -189,8 +156,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int APPEND_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -198,7 +163,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -206,8 +170,6 @@ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -215,7 +177,6 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ @java.lang.Override @@ -228,8 +189,6 @@ public com.google.protobuf.ByteString getAppendValue() { public static final int INCREMENT_AMOUNT_FIELD_NUMBER = 4; /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -238,7 +197,6 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -246,8 +204,6 @@ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -256,7 +212,6 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ @java.lang.Override @@ -268,7 +223,6 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -288,10 +243,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBytes(2, columnQualifier_); } if (ruleCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) rule_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) rule_)); + output.writeInt64( + 4, (long)((java.lang.Long) rule_)); } getUnknownFields().writeTo(output); } @@ -306,17 +263,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) rule_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) rule_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -326,23 +284,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRule)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRule other = - (com.google.bigtable.v2.ReadModifyWriteRule) obj; + com.google.bigtable.v2.ReadModifyWriteRule other = (com.google.bigtable.v2.ReadModifyWriteRule) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 3: - if (!getAppendValue().equals(other.getAppendValue())) return false; + if (!getAppendValue() + .equals(other.getAppendValue())) return false; break; case 4: - if (getIncrementAmount() != other.getIncrementAmount()) return false; + if (getIncrementAmount() + != other.getIncrementAmount()) return false; break; case 0: default: @@ -369,7 +330,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIncrementAmount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIncrementAmount()); break; case 0: default: @@ -379,104 +341,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies an atomic read/modify/write operation on the latest value of the
    * specified column.
@@ -484,32 +441,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRule)
       com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadModifyWriteRule.class,
-              com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+              com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadModifyWriteRule.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -522,9 +480,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
@@ -543,11 +501,8 @@ public com.google.bigtable.v2.ReadModifyWriteRule build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadModifyWriteRule buildPartial() {
-      com.google.bigtable.v2.ReadModifyWriteRule result =
-          new com.google.bigtable.v2.ReadModifyWriteRule(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadModifyWriteRule result = new com.google.bigtable.v2.ReadModifyWriteRule(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -572,39 +527,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadModifyWriteRule resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,20 +576,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) {
         setColumnQualifier(other.getColumnQualifier());
       }
       switch (other.getRuleCase()) {
-        case APPEND_VALUE:
-          {
-            setAppendValue(other.getAppendValue());
-            break;
-          }
-        case INCREMENT_AMOUNT:
-          {
-            setIncrementAmount(other.getIncrementAmount());
-            break;
-          }
-        case RULE_NOT_SET:
-          {
-            break;
-          }
+        case APPEND_VALUE: {
+          setAppendValue(other.getAppendValue());
+          break;
+        }
+        case INCREMENT_AMOUNT: {
+          setIncrementAmount(other.getIncrementAmount());
+          break;
+        }
+        case RULE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -663,37 +614,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                columnQualifier_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                rule_ = input.readBytes();
-                ruleCase_ = 3;
-                break;
-              } // case 26
-            case 32:
-              {
-                rule_ = input.readInt64();
-                ruleCase_ = 4;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              columnQualifier_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              rule_ = input.readBytes();
+              ruleCase_ = 3;
+              break;
+            } // case 26
+            case 32: {
+              rule_ = input.readInt64();
+              ruleCase_ = 4;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -703,12 +649,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int ruleCase_ = 0;
     private java.lang.Object rule_;
-
-    public RuleCase getRuleCase() {
-      return RuleCase.forNumber(ruleCase_);
+    public RuleCase
+        getRuleCase() {
+      return RuleCase.forNumber(
+          ruleCase_);
     }
 
     public Builder clearRule() {
@@ -722,21 +668,19 @@ public Builder clearRule() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -745,22 +689,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -768,37 +711,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -808,22 +744,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -833,8 +765,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -842,7 +772,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -850,8 +779,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -859,22 +786,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -882,7 +804,6 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -893,8 +814,6 @@ public Builder clearColumnQualifier() { } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -902,15 +821,12 @@ public Builder clearColumnQualifier() {
      * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -918,7 +834,6 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; - * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -928,8 +843,6 @@ public com.google.protobuf.ByteString getAppendValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -937,22 +850,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ruleCase_ = 3; rule_ = value; onChanged(); return this; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -960,7 +868,6 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; - * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -973,8 +880,6 @@ public Builder clearAppendValue() { } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -983,15 +888,12 @@ public Builder clearAppendValue() {
      * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1000,7 +902,6 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -1010,8 +911,6 @@ public long getIncrementAmount() { return 0L; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1020,7 +919,6 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -1032,8 +930,6 @@ public Builder setIncrementAmount(long value) { return this; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1042,7 +938,6 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; - * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -1053,9 +948,9 @@ public Builder clearIncrementAmount() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +960,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRule) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRule) private static final com.google.bigtable.v2.ReadModifyWriteRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRule(); } @@ -1079,27 +974,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1114,4 +1009,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java index 87b75fb264..f277813e6d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java @@ -1,59 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadModifyWriteRuleOrBuilder - extends +public interface ReadModifyWriteRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -61,14 +38,11 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -76,13 +50,10 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ boolean hasAppendValue(); /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -90,14 +61,11 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ com.google.protobuf.ByteString getAppendValue(); /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -106,13 +74,10 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ boolean hasIncrementAmount(); /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -121,7 +86,6 @@ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index 17ed10b7c9..4480974af8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.ReadRows.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ -public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,28 +28,25 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } /** - * - * *
    * The desired view into RequestStats that should be returned in the response.
    *
@@ -76,10 +55,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.bigtable.v2.ReadRowsRequest.RequestStatsView}
    */
-  public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RequestStatsView
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -88,8 +66,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ REQUEST_STATS_VIEW_UNSPECIFIED(0), /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -99,8 +75,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     REQUEST_STATS_NONE(1),
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -113,8 +87,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -123,8 +95,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ public static final int REQUEST_STATS_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -134,8 +104,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -145,6 +113,7 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -169,42 +138,39 @@ public static RequestStatsView valueOf(int value) {
      */
     public static RequestStatsView forNumber(int value) {
       switch (value) {
-        case 0:
-          return REQUEST_STATS_VIEW_UNSPECIFIED;
-        case 1:
-          return REQUEST_STATS_NONE;
-        case 2:
-          return REQUEST_STATS_FULL;
-        default:
-          return null;
+        case 0: return REQUEST_STATS_VIEW_UNSPECIFIED;
+        case 1: return REQUEST_STATS_NONE;
+        case 2: return REQUEST_STATS_FULL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RequestStatsView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RequestStatsView findValueByNumber(int number) {
+              return RequestStatsView.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RequestStatsView findValueByNumber(int number) {
-                return RequestStatsView.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.v2.ReadRowsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -213,7 +179,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RequestStatsView valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -232,22 +199,16 @@ private RequestStatsView(int value) {
 
   private int bitField0_;
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -256,33 +217,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -291,19 +250,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ @java.lang.Override @@ -312,30 +267,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -346,15 +301,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROWS_FIELD_NUMBER = 2; private com.google.bigtable.v2.RowSet rows_; /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ @java.lang.Override @@ -362,15 +314,12 @@ public boolean hasRows() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ @java.lang.Override @@ -378,8 +327,6 @@ public com.google.bigtable.v2.RowSet getRows() { return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_; } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -395,15 +342,12 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
   public static final int FILTER_FIELD_NUMBER = 3;
   private com.google.bigtable.v2.RowFilter filter_;
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -411,15 +355,12 @@ public boolean hasFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ @java.lang.Override @@ -427,8 +368,6 @@ public com.google.bigtable.v2.RowFilter getFilter() { return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_; } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -444,15 +383,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   private long rowsLimit_ = 0L;
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ @java.lang.Override @@ -463,45 +399,32 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_ = 0; /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ - @java.lang.Override - public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } public static final int REVERSED_FIELD_NUMBER = 7; private boolean reversed_ = false; /** - * - * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -518,7 +441,6 @@ public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsVi
    * 
* * bool reversed = 7; - * * @return The reversed. */ @java.lang.Override @@ -527,7 +449,6 @@ public boolean getReversed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,7 +460,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -555,9 +477,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(6, requestStatsView_); } if (reversed_ != false) { @@ -576,24 +496,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRows()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFilter()); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, rowsLimit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, requestStatsView_); + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, requestStatsView_); } if (reversed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, reversed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, reversed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -603,26 +526,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.ReadRowsRequest other = (com.google.bigtable.v2.ReadRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasRows() != other.hasRows()) return false; if (hasRows()) { - if (!getRows().equals(other.getRows())) return false; + if (!getRows() + .equals(other.getRows())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; } - if (getRowsLimit() != other.getRowsLimit()) return false; + if (getRowsLimit() + != other.getRowsLimit()) return false; if (requestStatsView_ != other.requestStatsView_) return false; - if (getReversed() != other.getReversed()) return false; + if (getReversed() + != other.getReversed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -647,137 +576,132 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsLimit()); hash = (37 * hash) + REQUEST_STATS_VIEW_FIELD_NUMBER; hash = (53 * hash) + requestStatsView_; hash = (37 * hash) + REVERSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReversed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReversed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsRequest) com.google.bigtable.v2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsRequest.newBuilder() @@ -785,18 +709,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRowsFieldBuilder(); getFilterFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -820,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override @@ -841,11 +765,8 @@ public com.google.bigtable.v2.ReadRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest buildPartial() { - com.google.bigtable.v2.ReadRowsRequest result = - new com.google.bigtable.v2.ReadRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadRowsRequest result = new com.google.bigtable.v2.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -860,11 +781,15 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null + ? rows_ + : rowsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null + ? filter_ + : filterBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -883,39 +808,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsRequest) { - return mergeFrom((com.google.bigtable.v2.ReadRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -975,55 +899,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 32: - { - rowsLimit_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 32 - case 42: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 48: - { - requestStatsView_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - reversed_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRowsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 32: { + rowsLimit_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: { + requestStatsView_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + reversed_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1033,29 +953,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1064,25 +979,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1090,43 +1002,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1136,25 +1037,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1164,21 +1059,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1187,22 +1080,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1210,37 +1102,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1250,22 +1135,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1275,35 +1156,26 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.RowSet rows_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowSet, - com.google.bigtable.v2.RowSet.Builder, - com.google.bigtable.v2.RowSetOrBuilder> - rowsBuilder_; + com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder> rowsBuilder_; /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1314,8 +1186,6 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1337,8 +1207,6 @@ public Builder setRows(com.google.bigtable.v2.RowSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1346,7 +1214,8 @@ public Builder setRows(com.google.bigtable.v2.RowSet value) {
      *
      * .google.bigtable.v2.RowSet rows = 2;
      */
-    public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
+    public Builder setRows(
+        com.google.bigtable.v2.RowSet.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         rows_ = builderForValue.build();
       } else {
@@ -1357,8 +1226,6 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1368,9 +1235,9 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
      */
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && rows_ != null
-            && rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          rows_ != null &&
+          rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
           getRowsBuilder().mergeFrom(value);
         } else {
           rows_ = value;
@@ -1385,8 +1252,6 @@ public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1405,8 +1270,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1420,8 +1283,6 @@ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
       return getRowsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1433,12 +1294,11 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilder();
       } else {
-        return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_;
+        return rows_ == null ?
+            com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_;
       }
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1447,17 +1307,14 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
      * .google.bigtable.v2.RowSet rows = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowSet,
-            com.google.bigtable.v2.RowSet.Builder,
-            com.google.bigtable.v2.RowSetOrBuilder>
+        com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder> 
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowSet,
-                com.google.bigtable.v2.RowSet.Builder,
-                com.google.bigtable.v2.RowSetOrBuilder>(
-                getRows(), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder>(
+                getRows(),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1465,35 +1322,26 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
 
     private com.google.bigtable.v2.RowFilter filter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
-        filterBuilder_;
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filterBuilder_;
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1504,8 +1352,6 @@ public com.google.bigtable.v2.RowFilter getFilter() { } } /** - * - * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1527,8 +1373,6 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1536,7 +1380,8 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter filter = 3;
      */
-    public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         filter_ = builderForValue.build();
       } else {
@@ -1547,8 +1392,6 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1558,9 +1401,9 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValu
      */
     public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && filter_ != null
-            && filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          filter_ != null &&
+          filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getFilterBuilder().mergeFrom(value);
         } else {
           filter_ = value;
@@ -1575,8 +1418,6 @@ public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1595,8 +1436,6 @@ public Builder clearFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1610,8 +1449,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1623,12 +1460,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
       if (filterBuilder_ != null) {
         return filterBuilder_.getMessageOrBuilder();
       } else {
-        return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_;
+        return filter_ == null ?
+            com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1637,33 +1473,27 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
      * .google.bigtable.v2.RowFilter filter = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
-        filterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter,
-                com.google.bigtable.v2.RowFilter.Builder,
-                com.google.bigtable.v2.RowFilterOrBuilder>(
-                getFilter(), getParentForChildren(), isClean());
+        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                getFilter(),
+                getParentForChildren(),
+                isClean());
         filter_ = null;
       }
       return filterBuilder_;
     }
 
-    private long rowsLimit_;
+    private long rowsLimit_ ;
     /**
-     *
-     *
      * 
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ @java.lang.Override @@ -1671,15 +1501,12 @@ public long getRowsLimit() { return rowsLimit_; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @param value The rowsLimit to set. * @return This builder for chaining. */ @@ -1691,15 +1518,12 @@ public Builder setRowsLimit(long value) { return this; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @return This builder for chaining. */ public Builder clearRowsLimit() { @@ -1711,29 +1535,22 @@ public Builder clearRowsLimit() { private int requestStatsView_ = 0; /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The enum numeric value on the wire for requestStatsView to set. * @return This builder for chaining. */ @@ -1744,38 +1561,28 @@ public Builder setRequestStatsViewValue(int value) { return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The requestStatsView to set. * @return This builder for chaining. */ - public Builder setRequestStatsView( - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { + public Builder setRequestStatsView(com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { if (value == null) { throw new NullPointerException(); } @@ -1785,14 +1592,11 @@ public Builder setRequestStatsView( return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return This builder for chaining. */ public Builder clearRequestStatsView() { @@ -1802,10 +1606,8 @@ public Builder clearRequestStatsView() { return this; } - private boolean reversed_; + private boolean reversed_ ; /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1822,7 +1624,6 @@ public Builder clearRequestStatsView() {
      * 
* * bool reversed = 7; - * * @return The reversed. */ @java.lang.Override @@ -1830,8 +1631,6 @@ public boolean getReversed() { return reversed_; } /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1848,7 +1647,6 @@ public boolean getReversed() {
      * 
* * bool reversed = 7; - * * @param value The reversed to set. * @return This builder for chaining. */ @@ -1860,8 +1658,6 @@ public Builder setReversed(boolean value) { return this; } /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1878,7 +1674,6 @@ public Builder setReversed(boolean value) {
      * 
* * bool reversed = 7; - * * @return This builder for chaining. */ public Builder clearReversed() { @@ -1887,9 +1682,9 @@ public Builder clearReversed() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1899,12 +1694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsRequest) private static final com.google.bigtable.v2.ReadRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsRequest(); } @@ -1913,27 +1708,27 @@ public static com.google.bigtable.v2.ReadRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1948,4 +1743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java index 46e0bb52bc..3b17fa456f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java @@ -1,118 +1,80 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ReadRowsRequestOrBuilder - extends +public interface ReadRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ boolean hasRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ com.google.bigtable.v2.RowSet getRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -123,34 +85,26 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ com.google.bigtable.v2.RowFilter getFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -161,47 +115,36 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ long getRowsLimit(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ int getRequestStatsViewValue(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView(); /** - * - * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -218,7 +161,6 @@ public interface ReadRowsRequestOrBuilder
    * 
* * bool reversed = 7; - * * @return The reversed. */ boolean getReversed(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java index c0523de12e..0263ad669f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadRows.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ -public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse) ReadRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsResponse.newBuilder() to construct. private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsResponse() { chunks_ = java.util.Collections.emptyList(); lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; @@ -45,33 +27,29 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } - public interface CellChunkOrBuilder - extends + public interface CellChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse.CellChunk) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -80,14 +58,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -98,13 +73,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ boolean hasFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -115,13 +87,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ com.google.protobuf.StringValue getFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -136,8 +105,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder();
 
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -147,13 +114,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ boolean hasQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -163,13 +127,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ com.google.protobuf.BytesValue getQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -183,8 +144,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder();
 
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -197,14 +156,11 @@ public interface CellChunkOrBuilder
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -212,13 +168,11 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -226,13 +180,10 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ int getLabelsCount(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -240,14 +191,11 @@ 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); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -255,15 +203,13 @@ 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); + com.google.protobuf.ByteString + getLabelsBytes(int index); /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -273,14 +219,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes value = 6; - * * @return The value. */ com.google.protobuf.ByteString getValue(); /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -289,61 +232,48 @@ public interface CellChunkOrBuilder
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ int getValueSize(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ boolean hasResetRow(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ boolean getResetRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ boolean hasCommitRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ boolean getCommitRow(); @@ -351,8 +281,6 @@ public interface CellChunkOrBuilder com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** - * - * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -360,58 +288,53 @@ public interface CellChunkOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
    */
-  public static final class CellChunk extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CellChunk extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
       CellChunkOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CellChunk.newBuilder() to construct.
     private CellChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CellChunk() {
       rowKey_ = com.google.protobuf.ByteString.EMPTY;
-      labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      labels_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       value_ = com.google.protobuf.ByteString.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
     }
 
     private int bitField0_;
     private int rowStatusCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object rowStatus_;
-
     public enum RowStatusCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       RESET_ROW(8),
       COMMIT_ROW(9),
       ROWSTATUS_NOT_SET(0);
       private final int value;
-
       private RowStatusCase(int value) {
         this.value = value;
       }
@@ -427,31 +350,26 @@ public static RowStatusCase valueOf(int value) {
 
       public static RowStatusCase forNumber(int value) {
         switch (value) {
-          case 8:
-            return RESET_ROW;
-          case 9:
-            return COMMIT_ROW;
-          case 0:
-            return ROWSTATUS_NOT_SET;
-          default:
-            return null;
+          case 8: return RESET_ROW;
+          case 9: return COMMIT_ROW;
+          case 0: return ROWSTATUS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public RowStatusCase getRowStatusCase() {
-      return RowStatusCase.forNumber(rowStatusCase_);
+    public RowStatusCase
+    getRowStatusCase() {
+      return RowStatusCase.forNumber(
+          rowStatusCase_);
     }
 
     public static final int ROW_KEY_FIELD_NUMBER = 1;
     private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -460,7 +378,6 @@ public RowStatusCase getRowStatusCase() {
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -471,8 +388,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int FAMILY_NAME_FIELD_NUMBER = 2; private com.google.protobuf.StringValue familyName_; /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -483,7 +398,6 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ @java.lang.Override @@ -491,8 +405,6 @@ public boolean hasFamilyName() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -503,18 +415,13 @@ public boolean hasFamilyName() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ @java.lang.Override public com.google.protobuf.StringValue getFamilyName() { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -528,16 +435,12 @@ public com.google.protobuf.StringValue getFamilyName() {
      */
     @java.lang.Override
     public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
-      return familyName_ == null
-          ? com.google.protobuf.StringValue.getDefaultInstance()
-          : familyName_;
+      return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
     }
 
     public static final int QUALIFIER_FIELD_NUMBER = 3;
     private com.google.protobuf.BytesValue qualifier_;
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -547,7 +450,6 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -555,8 +457,6 @@ public boolean hasQualifier() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -566,7 +466,6 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ @java.lang.Override @@ -574,8 +473,6 @@ public com.google.protobuf.BytesValue getQualifier() { return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -594,8 +491,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_ = 0L;
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -608,7 +503,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -617,13 +511,10 @@ public long getTimestampMicros() { } public static final int LABELS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -631,15 +522,13 @@ public long getTimestampMicros() {
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -647,15 +536,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -663,7 +549,6 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -671,8 +556,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -680,19 +563,17 @@ 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) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } public static final int VALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -702,7 +583,6 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
      * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -713,8 +593,6 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; private int valueSize_ = 0; /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -723,7 +601,6 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -733,15 +610,12 @@ public int getValueSize() { public static final int RESET_ROW_FIELD_NUMBER = 8; /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ @java.lang.Override @@ -749,15 +623,12 @@ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ @java.lang.Override @@ -770,15 +641,12 @@ public boolean getResetRow() { public static final int COMMIT_ROW_FIELD_NUMBER = 9; /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ @java.lang.Override @@ -786,15 +654,12 @@ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ @java.lang.Override @@ -806,7 +671,6 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -818,7 +682,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -841,10 +706,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(7, valueSize_); } if (rowStatusCase_ == 8) { - output.writeBool(8, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - output.writeBool(9, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } getUnknownFields().writeTo(output); } @@ -856,16 +723,20 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFamilyName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFamilyName()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getQualifier()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getQualifier()); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, timestampMicros_); } { int dataSize = 0; @@ -876,20 +747,22 @@ public int getSerializedSize() { size += 1 * getLabelsList().size(); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, value_); } if (valueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, valueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, valueSize_); } if (rowStatusCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 8, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 9, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -899,34 +772,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk)) { return super.equals(obj); } - com.google.bigtable.v2.ReadRowsResponse.CellChunk other = - (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; + com.google.bigtable.v2.ReadRowsResponse.CellChunk other = (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; - if (!getRowKey().equals(other.getRowKey())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; if (hasFamilyName() != other.hasFamilyName()) return false; if (hasFamilyName()) { - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; } if (hasQualifier() != other.hasQualifier()) return false; if (hasQualifier()) { - if (!getQualifier().equals(other.getQualifier())) return false; - } - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; - if (!getValue().equals(other.getValue())) return false; - if (getValueSize() != other.getValueSize()) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + } + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getValueSize() + != other.getValueSize()) return false; if (!getRowStatusCase().equals(other.getRowStatusCase())) return false; switch (rowStatusCase_) { case 8: - if (getResetRow() != other.getResetRow()) return false; + if (getResetRow() + != other.getResetRow()) return false; break; case 9: - if (getCommitRow() != other.getCommitRow()) return false; + if (getCommitRow() + != other.getCommitRow()) return false; break; case 0: default: @@ -953,7 +834,8 @@ public int hashCode() { hash = (53 * hash) + getQualifier().hashCode(); } hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); if (getLabelsCount() > 0) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + getLabelsList().hashCode(); @@ -965,11 +847,13 @@ public int hashCode() { switch (rowStatusCase_) { case 8: hash = (37 * hash) + RESET_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResetRow()); break; case 9: hash = (37 * hash) + COMMIT_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCommitRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCommitRow()); break; case 0: default: @@ -980,93 +864,89 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1076,8 +956,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -1085,24 +963,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
         com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadRowsResponse.CellChunk.newBuilder()
@@ -1110,18 +985,18 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getFamilyNameFieldBuilder();
           getQualifierFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1138,7 +1013,8 @@ public Builder clear() {
           qualifierBuilder_ = null;
         }
         timestampMicros_ = 0L;
-        labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        labels_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         value_ = com.google.protobuf.ByteString.EMPTY;
         valueSize_ = 0;
         rowStatusCase_ = 0;
@@ -1147,9 +1023,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
@@ -1168,11 +1044,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
-        com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
-            new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1185,12 +1058,15 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse.CellChunk res
         }
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.familyName_ =
-              familyNameBuilder_ == null ? familyName_ : familyNameBuilder_.build();
+          result.familyName_ = familyNameBuilder_ == null
+              ? familyName_
+              : familyNameBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.qualifier_ = qualifierBuilder_ == null ? qualifier_ : qualifierBuilder_.build();
+          result.qualifier_ = qualifierBuilder_ == null
+              ? qualifier_
+              : qualifierBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -1218,41 +1094,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadRowsResponse.CellChun
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk) {
-          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk) other);
+          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1260,8 +1133,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other) {
-        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()) return this;
         if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) {
           setRowKey(other.getRowKey());
         }
@@ -1291,20 +1163,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other
           setValueSize(other.getValueSize());
         }
         switch (other.getRowStatusCase()) {
-          case RESET_ROW:
-            {
-              setResetRow(other.getResetRow());
-              break;
-            }
-          case COMMIT_ROW:
-            {
-              setCommitRow(other.getCommitRow());
-              break;
-            }
-          case ROWSTATUS_NOT_SET:
-            {
-              break;
-            }
+          case RESET_ROW: {
+            setResetRow(other.getResetRow());
+            break;
+          }
+          case COMMIT_ROW: {
+            setCommitRow(other.getCommitRow());
+            break;
+          }
+          case ROWSTATUS_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1332,68 +1201,62 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 32:
-                {
-                  timestampMicros_ = input.readInt64();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 32
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureLabelsIsMutable();
-                  labels_.add(s);
-                  break;
-                } // case 42
-              case 50:
-                {
-                  value_ = input.readBytes();
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 50
-              case 56:
-                {
-                  valueSize_ = input.readInt32();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 56
-              case 64:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 8;
-                  break;
-                } // case 64
-              case 72:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 9;
-                  break;
-                } // case 72
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getFamilyNameFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getQualifierFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 32: {
+                timestampMicros_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLabelsIsMutable();
+                labels_.add(s);
+                break;
+              } // case 42
+              case 50: {
+                value_ = input.readBytes();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+              case 56: {
+                valueSize_ = input.readInt32();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+              case 64: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 8;
+                break;
+              } // case 64
+              case 72: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 9;
+                break;
+              } // case 72
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1403,12 +1266,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int rowStatusCase_ = 0;
       private java.lang.Object rowStatus_;
-
-      public RowStatusCase getRowStatusCase() {
-        return RowStatusCase.forNumber(rowStatusCase_);
+      public RowStatusCase
+          getRowStatusCase() {
+        return RowStatusCase.forNumber(
+            rowStatusCase_);
       }
 
       public Builder clearRowStatus() {
@@ -1422,8 +1285,6 @@ public Builder clearRowStatus() {
 
       private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
       /**
-       *
-       *
        * 
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1432,7 +1293,6 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -1440,8 +1300,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1450,22 +1308,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1474,7 +1327,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1486,13 +1338,8 @@ public Builder clearRowKey() { private com.google.protobuf.StringValue familyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> - familyNameBuilder_; + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> familyNameBuilder_; /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1503,15 +1350,12 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1522,21 +1366,16 @@ public boolean hasFamilyName() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ public com.google.protobuf.StringValue getFamilyName() { if (familyNameBuilder_ == null) { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } else { return familyNameBuilder_.getMessage(); } } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1562,8 +1401,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1575,7 +1412,8 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
        *
        * .google.protobuf.StringValue family_name = 2;
        */
-      public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForValue) {
+      public Builder setFamilyName(
+          com.google.protobuf.StringValue.Builder builderForValue) {
         if (familyNameBuilder_ == null) {
           familyName_ = builderForValue.build();
         } else {
@@ -1586,8 +1424,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1601,9 +1437,9 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
        */
       public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && familyName_ != null
-              && familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            familyName_ != null &&
+            familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
             getFamilyNameBuilder().mergeFrom(value);
           } else {
             familyName_ = value;
@@ -1618,8 +1454,6 @@ public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1642,8 +1476,6 @@ public Builder clearFamilyName() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1661,8 +1493,6 @@ public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
         return getFamilyNameFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1678,14 +1508,11 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
         if (familyNameBuilder_ != null) {
           return familyNameBuilder_.getMessageOrBuilder();
         } else {
-          return familyName_ == null
-              ? com.google.protobuf.StringValue.getDefaultInstance()
-              : familyName_;
+          return familyName_ == null ?
+              com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
         }
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1698,17 +1525,14 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * .google.protobuf.StringValue family_name = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.StringValue,
-              com.google.protobuf.StringValue.Builder,
-              com.google.protobuf.StringValueOrBuilder>
+          com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> 
           getFamilyNameFieldBuilder() {
         if (familyNameBuilder_ == null) {
-          familyNameBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.StringValue,
-                  com.google.protobuf.StringValue.Builder,
-                  com.google.protobuf.StringValueOrBuilder>(
-                  getFamilyName(), getParentForChildren(), isClean());
+          familyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
+                  getFamilyName(),
+                  getParentForChildren(),
+                  isClean());
           familyName_ = null;
         }
         return familyNameBuilder_;
@@ -1716,13 +1540,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
 
       private com.google.protobuf.BytesValue qualifier_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
-          qualifierBuilder_;
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> qualifierBuilder_;
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1732,15 +1551,12 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1750,21 +1566,16 @@ public boolean hasQualifier() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ public com.google.protobuf.BytesValue getQualifier() { if (qualifierBuilder_ == null) { - return qualifier_ == null - ? com.google.protobuf.BytesValue.getDefaultInstance() - : qualifier_; + return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } else { return qualifierBuilder_.getMessage(); } } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1789,8 +1600,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1801,7 +1610,8 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
        *
        * .google.protobuf.BytesValue qualifier = 3;
        */
-      public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForValue) {
+      public Builder setQualifier(
+          com.google.protobuf.BytesValue.Builder builderForValue) {
         if (qualifierBuilder_ == null) {
           qualifier_ = builderForValue.build();
         } else {
@@ -1812,8 +1622,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1826,9 +1634,9 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
        */
       public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && qualifier_ != null
-              && qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            qualifier_ != null &&
+            qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
             getQualifierBuilder().mergeFrom(value);
           } else {
             qualifier_ = value;
@@ -1843,8 +1651,6 @@ public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1866,8 +1672,6 @@ public Builder clearQualifier() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1884,8 +1688,6 @@ public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
         return getQualifierFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1900,14 +1702,11 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
         if (qualifierBuilder_ != null) {
           return qualifierBuilder_.getMessageOrBuilder();
         } else {
-          return qualifier_ == null
-              ? com.google.protobuf.BytesValue.getDefaultInstance()
-              : qualifier_;
+          return qualifier_ == null ?
+              com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_;
         }
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1919,26 +1718,21 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * .google.protobuf.BytesValue qualifier = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> 
           getQualifierFieldBuilder() {
         if (qualifierBuilder_ == null) {
-          qualifierBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.BytesValue,
-                  com.google.protobuf.BytesValue.Builder,
-                  com.google.protobuf.BytesValueOrBuilder>(
-                  getQualifier(), getParentForChildren(), isClean());
+          qualifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>(
+                  getQualifier(),
+                  getParentForChildren(),
+                  isClean());
           qualifier_ = null;
         }
         return qualifierBuilder_;
       }
 
-      private long timestampMicros_;
+      private long timestampMicros_ ;
       /**
-       *
-       *
        * 
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1951,7 +1745,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -1959,8 +1752,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1973,7 +1764,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -1985,8 +1775,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1999,7 +1787,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -2011,7 +1798,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -2019,8 +1805,6 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2028,16 +1812,14 @@ private void ensureLabelsIsMutable() {
        * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2045,15 +1827,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
        * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2061,7 +1840,6 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -2069,8 +1847,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2078,16 +1854,14 @@ 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) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2095,15 +1869,13 @@ 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) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000010; @@ -2111,8 +1883,6 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2120,14 +1890,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000010; @@ -2135,8 +1903,6 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2144,20 +1910,19 @@ 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) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2165,19 +1930,16 @@ public Builder addAllLabels(java.lang.Iterable values) {
        * 
* * repeated string labels = 5; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2185,14 +1947,12 @@ 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) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -2203,8 +1963,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2214,7 +1972,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -2222,8 +1979,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2233,22 +1988,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2258,7 +2008,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -2268,10 +2017,8 @@ public Builder clearValue() { return this; } - private int valueSize_; + private int valueSize_ ; /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2280,7 +2027,6 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -2288,8 +2034,6 @@ public int getValueSize() { return valueSize_; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2298,7 +2042,6 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; - * * @param value The valueSize to set. * @return This builder for chaining. */ @@ -2310,8 +2053,6 @@ public Builder setValueSize(int value) { return this; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2320,7 +2061,6 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; - * * @return This builder for chaining. */ public Builder clearValueSize() { @@ -2331,30 +2071,24 @@ public Builder clearValueSize() { } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return The resetRow. */ public boolean getResetRow() { @@ -2364,15 +2098,12 @@ public boolean getResetRow() { return false; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @param value The resetRow to set. * @return This builder for chaining. */ @@ -2384,15 +2115,12 @@ public Builder setResetRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return This builder for chaining. */ public Builder clearResetRow() { @@ -2405,30 +2133,24 @@ public Builder clearResetRow() { } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return The commitRow. */ public boolean getCommitRow() { @@ -2438,15 +2160,12 @@ public boolean getCommitRow() { return false; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @param value The commitRow to set. * @return This builder for chaining. */ @@ -2458,15 +2177,12 @@ public Builder setCommitRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return This builder for chaining. */ public Builder clearCommitRow() { @@ -2477,7 +2193,6 @@ public Builder clearCommitRow() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2490,12 +2205,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) private static final com.google.bigtable.v2.ReadRowsResponse.CellChunk DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(); } @@ -2504,28 +2219,27 @@ public static com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CellChunk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CellChunk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2540,16 +2254,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int CHUNKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2561,8 +2273,6 @@ public java.util.List getChun return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2570,13 +2280,11 @@ public java.util.List getChun * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChunksOrBuilderList() { return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2588,8 +2296,6 @@ public int getChunksCount() { return chunks_.size(); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2601,8 +2307,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { return chunks_.get(index); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2610,15 +2314,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index) { return chunks_.get(index); } public static final int LAST_SCANNED_ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -2630,7 +2333,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2641,8 +2343,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { public static final int REQUEST_STATS_FIELD_NUMBER = 3; private com.google.bigtable.v2.RequestStats requestStats_; /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2667,7 +2367,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2675,8 +2374,6 @@ public boolean hasRequestStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2701,18 +2398,13 @@ public boolean hasRequestStats() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ @java.lang.Override public com.google.bigtable.v2.RequestStats getRequestStats() { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2740,13 +2432,10 @@ public com.google.bigtable.v2.RequestStats getRequestStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
-    return requestStats_ == null
-        ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-        : requestStats_;
+    return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2758,7 +2447,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < chunks_.size(); i++) {
       output.writeMessage(1, chunks_.get(i));
     }
@@ -2778,13 +2468,16 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < chunks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, chunks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, chunks_.get(i));
     }
     if (!lastScannedRowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, lastScannedRowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, lastScannedRowKey_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequestStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2794,18 +2487,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.ReadRowsResponse other = (com.google.bigtable.v2.ReadRowsResponse) obj;
 
-    if (!getChunksList().equals(other.getChunksList())) return false;
-    if (!getLastScannedRowKey().equals(other.getLastScannedRowKey())) return false;
+    if (!getChunksList()
+        .equals(other.getChunksList())) return false;
+    if (!getLastScannedRowKey()
+        .equals(other.getLastScannedRowKey())) return false;
     if (hasRequestStats() != other.hasRequestStats()) return false;
     if (hasRequestStats()) {
-      if (!getRequestStats().equals(other.getRequestStats())) return false;
+      if (!getRequestStats()
+          .equals(other.getRequestStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2833,127 +2529,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse) com.google.bigtable.v2.ReadRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsResponse.newBuilder() @@ -2961,18 +2650,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getChunksFieldBuilder(); getRequestStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2994,9 +2683,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override @@ -3015,12 +2704,9 @@ public com.google.bigtable.v2.ReadRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsResponse buildPartial() { - com.google.bigtable.v2.ReadRowsResponse result = - new com.google.bigtable.v2.ReadRowsResponse(this); + com.google.bigtable.v2.ReadRowsResponse result = new com.google.bigtable.v2.ReadRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3044,8 +2730,9 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestStats_ = - requestStatsBuilder_ == null ? requestStats_ : requestStatsBuilder_.build(); + result.requestStats_ = requestStatsBuilder_ == null + ? requestStats_ + : requestStatsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -3055,39 +2742,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -3114,10 +2800,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse other) { chunksBuilder_ = null; chunks_ = other.chunks_; bitField0_ = (bitField0_ & ~0x00000001); - chunksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChunksFieldBuilder() - : null; + chunksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChunksFieldBuilder() : null; } else { chunksBuilder_.addAllMessages(other.chunks_); } @@ -3155,39 +2840,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.ReadRowsResponse.CellChunk m = - input.readMessage( - com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), - extensionRegistry); - if (chunksBuilder_ == null) { - ensureChunksIsMutable(); - chunks_.add(m); - } else { - chunksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - lastScannedRowKey_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.ReadRowsResponse.CellChunk m = + input.readMessage( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), + extensionRegistry); + if (chunksBuilder_ == null) { + ensureChunksIsMutable(); + chunks_.add(m); + } else { + chunksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + lastScannedRowKey_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3197,29 +2880,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List chunks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - chunks_ = - new java.util.ArrayList(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> chunksBuilder_; /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3234,8 +2909,6 @@ public java.util.List getChun } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3250,8 +2923,6 @@ public int getChunksCount() { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3266,15 +2937,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { } } /** - * - * *
      * 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) { + public Builder setChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3288,8 +2958,6 @@ public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3308,8 +2976,6 @@ public Builder setChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3330,15 +2996,14 @@ public Builder addChunks(com.google.bigtable.v2.ReadRowsResponse.CellChunk value return this; } /** - * - * *
      * 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) { + public Builder addChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3352,8 +3017,6 @@ public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3372,8 +3035,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3392,8 +3053,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3404,7 +3063,8 @@ public Builder addAllChunks( java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -3412,8 +3072,6 @@ public Builder addAllChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3431,8 +3089,6 @@ public Builder clearChunks() { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3450,20 +3106,17 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
      * 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) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder( + int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3473,22 +3126,19 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilde public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * 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() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -3496,8 +3146,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3505,59 +3153,49 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui * 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()); + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * 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()); + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder( + int index) { + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * 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() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private com.google.protobuf.ByteString lastScannedRowKey_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3569,7 +3207,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3577,8 +3214,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { return lastScannedRowKey_; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3590,22 +3225,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } lastScannedRowKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3617,7 +3247,6 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; - * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { @@ -3629,13 +3258,8 @@ public Builder clearLastScannedRowKey() { private com.google.bigtable.v2.RequestStats requestStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestStats, - com.google.bigtable.v2.RequestStats.Builder, - com.google.bigtable.v2.RequestStatsOrBuilder> - requestStatsBuilder_; + com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> requestStatsBuilder_; /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3660,15 +3284,12 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3693,21 +3314,16 @@ public boolean hasRequestStats() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ public com.google.bigtable.v2.RequestStats getRequestStats() { if (requestStatsBuilder_ == null) { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } else { return requestStatsBuilder_.getMessage(); } } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3747,8 +3363,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3774,7 +3388,8 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
      *
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
-    public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder builderForValue) {
+    public Builder setRequestStats(
+        com.google.bigtable.v2.RequestStats.Builder builderForValue) {
       if (requestStatsBuilder_ == null) {
         requestStats_ = builderForValue.build();
       } else {
@@ -3785,8 +3400,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3814,9 +3427,9 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
      */
     public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && requestStats_ != null
-            && requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          requestStats_ != null &&
+          requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
           getRequestStatsBuilder().mergeFrom(value);
         } else {
           requestStats_ = value;
@@ -3831,8 +3444,6 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3869,8 +3480,6 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3902,8 +3511,6 @@ public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3933,14 +3540,11 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
       if (requestStatsBuilder_ != null) {
         return requestStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestStats_ == null
-            ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-            : requestStats_;
+        return requestStats_ == null ?
+            com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
       }
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3967,24 +3571,21 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestStats,
-            com.google.bigtable.v2.RequestStats.Builder,
-            com.google.bigtable.v2.RequestStatsOrBuilder>
+        com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> 
         getRequestStatsFieldBuilder() {
       if (requestStatsBuilder_ == null) {
-        requestStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestStats,
-                com.google.bigtable.v2.RequestStats.Builder,
-                com.google.bigtable.v2.RequestStatsOrBuilder>(
-                getRequestStats(), getParentForChildren(), isClean());
+        requestStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder>(
+                getRequestStats(),
+                getParentForChildren(),
+                isClean());
         requestStats_ = null;
       }
       return requestStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3994,12 +3595,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse)
   private static final com.google.bigtable.v2.ReadRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse();
   }
@@ -4008,27 +3609,27 @@ public static com.google.bigtable.v2.ReadRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4043,4 +3644,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
similarity index 87%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
index 16c74dee19..d3e574d0ed 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
@@ -1,42 +1,23 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface ReadRowsResponseOrBuilder
-    extends
+public interface ReadRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * 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(); + java.util.List + getChunksList(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -45,8 +26,6 @@ public interface ReadRowsResponseOrBuilder */ com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -55,30 +34,25 @@ public interface ReadRowsResponseOrBuilder */ int getChunksCount(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - java.util.List + java.util.List getChunksOrBuilderList(); /** - * - * *
    * 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); + com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index); /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -90,14 +64,11 @@ public interface ReadRowsResponseOrBuilder
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ com.google.protobuf.ByteString getLastScannedRowKey(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -122,13 +93,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ boolean hasRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -153,13 +121,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ com.google.bigtable.v2.RequestStats getRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
index 0cf5a9b2d0..ad9353d885 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestLatencyStats provides a measurement of the latency of the request as
  * it interacts with different systems over its lifetime, e.g. how long the
@@ -30,45 +13,42 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
  */
-public final class RequestLatencyStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestLatencyStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestLatencyStats)
     RequestLatencyStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestLatencyStats.newBuilder() to construct.
   private RequestLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestLatencyStats() {}
+  private RequestLatencyStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestLatencyStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestLatencyStats.class,
-            com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+            com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
   }
 
   private int bitField0_;
   public static final int FRONTEND_SERVER_LATENCY_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration frontendServerLatency_;
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -90,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -98,8 +77,6 @@ public boolean hasFrontendServerLatency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -121,18 +98,13 @@ public boolean hasFrontendServerLatency() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ @java.lang.Override public com.google.protobuf.Duration getFrontendServerLatency() { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -157,13 +129,10 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() {
-    return frontendServerLatency_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : frontendServerLatency_;
+    return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -175,7 +144,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getFrontendServerLatency());
     }
@@ -189,8 +159,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFrontendServerLatency());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getFrontendServerLatency());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -200,17 +170,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestLatencyStats)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.RequestLatencyStats other =
-        (com.google.bigtable.v2.RequestLatencyStats) obj;
+    com.google.bigtable.v2.RequestLatencyStats other = (com.google.bigtable.v2.RequestLatencyStats) obj;
 
     if (hasFrontendServerLatency() != other.hasFrontendServerLatency()) return false;
     if (hasFrontendServerLatency()) {
-      if (!getFrontendServerLatency().equals(other.getFrontendServerLatency())) return false;
+      if (!getFrontendServerLatency()
+          .equals(other.getFrontendServerLatency())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -232,104 +202,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestLatencyStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestLatencyStats provides a measurement of the latency of the request as
    * it interacts with different systems over its lifetime, e.g. how long the
@@ -338,23 +303,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestLatencyStats)
       com.google.bigtable.v2.RequestLatencyStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestLatencyStats.class,
-              com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+              com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestLatencyStats.newBuilder()
@@ -362,17 +325,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getFrontendServerLatencyFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +349,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
@@ -407,11 +370,8 @@ public com.google.bigtable.v2.RequestLatencyStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
-      com.google.bigtable.v2.RequestLatencyStats result =
-          new com.google.bigtable.v2.RequestLatencyStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.RequestLatencyStats result = new com.google.bigtable.v2.RequestLatencyStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -420,10 +380,9 @@ private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.frontendServerLatency_ =
-            frontendServerLatencyBuilder_ == null
-                ? frontendServerLatency_
-                : frontendServerLatencyBuilder_.build();
+        result.frontendServerLatency_ = frontendServerLatencyBuilder_ == null
+            ? frontendServerLatency_
+            : frontendServerLatencyBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -433,39 +392,38 @@ private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,20 +461,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFrontendServerLatencyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFrontendServerLatencyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -526,18 +483,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Duration frontendServerLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        frontendServerLatencyBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> frontendServerLatencyBuilder_;
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -559,15 +510,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -589,21 +537,16 @@ public boolean hasFrontendServerLatency() {
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ public com.google.protobuf.Duration getFrontendServerLatency() { if (frontendServerLatencyBuilder_ == null) { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } else { return frontendServerLatencyBuilder_.getMessage(); } } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -640,8 +583,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -664,7 +605,8 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
-    public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setFrontendServerLatency(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (frontendServerLatencyBuilder_ == null) {
         frontendServerLatency_ = builderForValue.build();
       } else {
@@ -675,8 +617,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -701,9 +641,9 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
      */
     public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       if (frontendServerLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && frontendServerLatency_ != null
-            && frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          frontendServerLatency_ != null &&
+          frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getFrontendServerLatencyBuilder().mergeFrom(value);
         } else {
           frontendServerLatency_ = value;
@@ -718,8 +658,6 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -753,8 +691,6 @@ public Builder clearFrontendServerLatency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -783,8 +719,6 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
       return getFrontendServerLatencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -811,14 +745,11 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
       if (frontendServerLatencyBuilder_ != null) {
         return frontendServerLatencyBuilder_.getMessageOrBuilder();
       } else {
-        return frontendServerLatency_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : frontendServerLatency_;
+        return frontendServerLatency_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
       }
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -842,24 +773,21 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getFrontendServerLatencyFieldBuilder() {
       if (frontendServerLatencyBuilder_ == null) {
-        frontendServerLatencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getFrontendServerLatency(), getParentForChildren(), isClean());
+        frontendServerLatencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getFrontendServerLatency(),
+                getParentForChildren(),
+                isClean());
         frontendServerLatency_ = null;
       }
       return frontendServerLatencyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -869,12 +797,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestLatencyStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestLatencyStats)
   private static final com.google.bigtable.v2.RequestLatencyStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestLatencyStats();
   }
@@ -883,27 +811,27 @@ public static com.google.bigtable.v2.RequestLatencyStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestLatencyStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestLatencyStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -918,4 +846,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestLatencyStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
similarity index 85%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
index 710adf95f9..5bc445526a 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface RequestLatencyStatsOrBuilder
-    extends
+public interface RequestLatencyStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestLatencyStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -48,13 +30,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ boolean hasFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -76,13 +55,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ com.google.protobuf.Duration getFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
similarity index 69%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
index f14ad6ea6c..99b893900c 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestStats is the container for additional information pertaining to a
  * single request, helpful for evaluating the performance of the sent request.
@@ -31,52 +14,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestStats}
  */
-public final class RequestStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestStats)
     RequestStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestStats.newBuilder() to construct.
   private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestStats() {}
+  private RequestStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestStats.class,
-            com.google.bigtable.v2.RequestStats.Builder.class);
+            com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
   }
 
   private int statsViewCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object statsView_;
-
   public enum StatsViewCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FULL_READ_STATS_VIEW(1),
     STATSVIEW_NOT_SET(0);
     private final int value;
-
     private StatsViewCase(int value) {
       this.value = value;
     }
@@ -92,35 +70,30 @@ public static StatsViewCase valueOf(int value) {
 
     public static StatsViewCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return FULL_READ_STATS_VIEW;
-        case 0:
-          return STATSVIEW_NOT_SET;
-        default:
-          return null;
+        case 1: return FULL_READ_STATS_VIEW;
+        case 0: return STATSVIEW_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StatsViewCase getStatsViewCase() {
-    return StatsViewCase.forNumber(statsViewCase_);
+  public StatsViewCase
+  getStatsViewCase() {
+    return StatsViewCase.forNumber(
+        statsViewCase_);
   }
 
   public static final int FULL_READ_STATS_VIEW_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -128,27 +101,22 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { if (statsViewCase_ == 1) { - return (com.google.bigtable.v2.FullReadStatsView) statsView_; + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
@@ -159,13 +127,12 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() {
   @java.lang.Override
   public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() {
     if (statsViewCase_ == 1) {
-      return (com.google.bigtable.v2.FullReadStatsView) statsView_;
+       return (com.google.bigtable.v2.FullReadStatsView) statsView_;
     }
     return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,7 +144,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (statsViewCase_ == 1) {
       output.writeMessage(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
@@ -191,9 +159,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (statsViewCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -203,7 +170,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestStats)) {
       return super.equals(obj);
@@ -213,7 +180,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStatsViewCase().equals(other.getStatsViewCase())) return false;
     switch (statsViewCase_) {
       case 1:
-        if (!getFullReadStatsView().equals(other.getFullReadStatsView())) return false;
+        if (!getFullReadStatsView()
+            .equals(other.getFullReadStatsView())) return false;
         break;
       case 0:
       default:
@@ -242,103 +210,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.RequestStats parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestStats is the container for additional information pertaining to a
    * single request, helpful for evaluating the performance of the sent request.
@@ -348,32 +312,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestStats)
       com.google.bigtable.v2.RequestStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestStats.class,
-              com.google.bigtable.v2.RequestStats.Builder.class);
+              com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
@@ -409,9 +374,7 @@ public com.google.bigtable.v2.RequestStats build() {
     @java.lang.Override
     public com.google.bigtable.v2.RequestStats buildPartial() {
       com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -424,7 +387,8 @@ private void buildPartial0(com.google.bigtable.v2.RequestStats result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
       result.statsViewCase_ = statsViewCase_;
       result.statsView_ = this.statsView_;
-      if (statsViewCase_ == 1 && fullReadStatsViewBuilder_ != null) {
+      if (statsViewCase_ == 1 &&
+          fullReadStatsViewBuilder_ != null) {
         result.statsView_ = fullReadStatsViewBuilder_.build();
       }
     }
@@ -433,39 +397,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -475,15 +438,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RequestStats other) {
       if (other == com.google.bigtable.v2.RequestStats.getDefaultInstance()) return this;
       switch (other.getStatsViewCase()) {
-        case FULL_READ_STATS_VIEW:
-          {
-            mergeFullReadStatsView(other.getFullReadStatsView());
-            break;
-          }
-        case STATSVIEW_NOT_SET:
-          {
-            break;
-          }
+        case FULL_READ_STATS_VIEW: {
+          mergeFullReadStatsView(other.getFullReadStatsView());
+          break;
+        }
+        case STATSVIEW_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -511,20 +472,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFullReadStatsViewFieldBuilder().getBuilder(), extensionRegistry);
-                statsViewCase_ = 1;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFullReadStatsViewFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              statsViewCase_ = 1;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -534,12 +494,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int statsViewCase_ = 0;
     private java.lang.Object statsView_;
-
-    public StatsViewCase getStatsViewCase() {
-      return StatsViewCase.forNumber(statsViewCase_);
+    public StatsViewCase
+        getStatsViewCase() {
+      return StatsViewCase.forNumber(
+          statsViewCase_);
     }
 
     public Builder clearStatsView() {
@@ -552,20 +512,14 @@ public Builder clearStatsView() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
-        fullReadStatsViewBuilder_;
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> fullReadStatsViewBuilder_;
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -573,15 +527,12 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override @@ -599,8 +550,6 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { } } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -622,8 +571,6 @@ public Builder setFullReadStatsView(com.google.bigtable.v2.FullReadStatsView val
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -643,8 +590,6 @@ public Builder setFullReadStatsView(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -654,13 +599,10 @@ public Builder setFullReadStatsView(
      */
     public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) {
       if (fullReadStatsViewBuilder_ == null) {
-        if (statsViewCase_ == 1
-            && statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
-          statsView_ =
-              com.google.bigtable.v2.FullReadStatsView.newBuilder(
-                      (com.google.bigtable.v2.FullReadStatsView) statsView_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (statsViewCase_ == 1 &&
+            statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
+          statsView_ = com.google.bigtable.v2.FullReadStatsView.newBuilder((com.google.bigtable.v2.FullReadStatsView) statsView_)
+              .mergeFrom(value).buildPartial();
         } else {
           statsView_ = value;
         }
@@ -676,8 +618,6 @@ public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView v
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -702,8 +642,6 @@ public Builder clearFullReadStatsView() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -715,8 +653,6 @@ public com.google.bigtable.v2.FullReadStatsView.Builder getFullReadStatsViewBuil
       return getFullReadStatsViewFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -736,8 +672,6 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       }
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -746,19 +680,14 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
      * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> 
         getFullReadStatsViewFieldBuilder() {
       if (fullReadStatsViewBuilder_ == null) {
         if (!(statsViewCase_ == 1)) {
           statsView_ = com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
         }
-        fullReadStatsViewBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.FullReadStatsView,
-                com.google.bigtable.v2.FullReadStatsView.Builder,
-                com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
+        fullReadStatsViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
                 (com.google.bigtable.v2.FullReadStatsView) statsView_,
                 getParentForChildren(),
                 isClean());
@@ -768,9 +697,9 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       onChanged();
       return fullReadStatsViewBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -780,12 +709,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestStats)
   private static final com.google.bigtable.v2.RequestStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestStats();
   }
@@ -794,27 +723,27 @@ public static com.google.bigtable.v2.RequestStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -829,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
index 2b20731131..2e2a6c110b 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface RequestStatsOrBuilder
-    extends
+public interface RequestStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ boolean hasFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ com.google.bigtable.v2.FullReadStatsView getFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
new file mode 100644
index 0000000000..916b4dce24
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
@@ -0,0 +1,101 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/v2/request_stats.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.bigtable.v2;
+
+public final class RequestStatsProto {
+  private RequestStatsProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n&google/bigtable/v2/request_stats.proto" +
+      "\022\022google.bigtable.v2\032\036google/protobuf/du" +
+      "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" +
+      "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" +
+      "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" +
+      "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" +
+      "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" +
+      "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" +
+      "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" +
+      "2&.google.bigtable.v2.ReadIterationStats" +
+      "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" +
+      ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" +
+      "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" +
+      ".google.bigtable.v2.FullReadStatsViewH\000B" +
+      "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" +
+      "B\021RequestStatsProtoP\001Z:google.golang.org" +
+      "/genproto/googleapis/bigtable/v2;bigtabl" +
+      "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" +
+      "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" +
+      "e::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.DurationProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_v2_ReadIterationStats_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_ReadIterationStats_descriptor,
+        new java.lang.String[] { "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", });
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestLatencyStats_descriptor,
+        new java.lang.String[] { "FrontendServerLatency", });
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_FullReadStatsView_descriptor,
+        new java.lang.String[] { "ReadIterationStats", "RequestLatencyStats", });
+    internal_static_google_bigtable_v2_RequestStats_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestStats_descriptor,
+        new java.lang.String[] { "FullReadStatsView", "StatsView", });
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
similarity index 70%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
index 2979c64bcc..240d3075b3 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/response_params.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response metadata proto
  * This is an experimental feature that will be used to get zone_id and
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ResponseParams}
  */
-public final class ResponseParams extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResponseParams extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ResponseParams)
     ResponseParamsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResponseParams.newBuilder() to construct.
   private ResponseParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResponseParams() {
     zoneId_ = "";
     clusterId_ = "";
@@ -48,39 +30,34 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ResponseParams.class,
-            com.google.bigtable.v2.ResponseParams.Builder.class);
+            com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
   }
 
   private int bitField0_;
   public static final int ZONE_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object zoneId_ = "";
   /**
-   *
-   *
    * 
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ @java.lang.Override @@ -88,14 +65,11 @@ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -104,29 +78,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -135,19 +109,15 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ @java.lang.Override @@ -155,15 +125,12 @@ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ @java.lang.Override @@ -172,30 +139,30 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -204,7 +171,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -246,7 +213,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ResponseParams)) { return super.equals(obj); @@ -255,11 +222,13 @@ public boolean equals(final java.lang.Object obj) { if (hasZoneId() != other.hasZoneId()) return false; if (hasZoneId()) { - if (!getZoneId().equals(other.getZoneId())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; } if (hasClusterId() != other.hasClusterId()) return false; if (hasClusterId()) { - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -285,103 +254,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ResponseParams parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ResponseParams prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response metadata proto
    * This is an experimental feature that will be used to get zone_id and
@@ -391,32 +356,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ResponseParams}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ResponseParams)
       com.google.bigtable.v2.ResponseParamsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ResponseParams.class,
-              com.google.bigtable.v2.ResponseParams.Builder.class);
+              com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ResponseParams.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +393,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
@@ -448,11 +414,8 @@ public com.google.bigtable.v2.ResponseParams build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ResponseParams buildPartial() {
-      com.google.bigtable.v2.ResponseParams result =
-          new com.google.bigtable.v2.ResponseParams(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ResponseParams result = new com.google.bigtable.v2.ResponseParams(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -475,39 +438,38 @@ private void buildPartial0(com.google.bigtable.v2.ResponseParams result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -552,25 +514,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              zoneId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -580,39 +539,33 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -621,21 +574,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -643,35 +595,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -681,21 +626,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -705,36 +646,31 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -743,22 +679,21 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -766,37 +701,30 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional 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) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -806,31 +734,27 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional 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) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -840,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ResponseParams) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ResponseParams) private static final com.google.bigtable.v2.ResponseParams DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ResponseParams(); } @@ -854,27 +778,27 @@ public static com.google.bigtable.v2.ResponseParams getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseParams parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseParams parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -889,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java index c4dbb4c8c2..edc42ed5db 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java @@ -1,103 +1,71 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/response_params.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ResponseParamsOrBuilder - extends +public interface ResponseParamsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ResponseParams) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ boolean hasZoneId(); /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ boolean hasClusterId(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java new file mode 100644 index 0000000000..7efed7fa2e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java @@ -0,0 +1,55 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/response_params.proto + +// Protobuf Java Version: 3.25.2 +package com.google.bigtable.v2; + +public final class ResponseParamsProto { + private ResponseParamsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ResponseParams_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/bigtable/v2/response_params.pro" + + "to\022\022google.bigtable.v2\"Z\n\016ResponseParams" + + "\022\024\n\007zone_id\030\001 \001(\tH\000\210\001\001\022\027\n\ncluster_id\030\002 \001" + + "(\tH\001\210\001\001B\n\n\010_zone_idB\r\n\013_cluster_idB\277\001\n\026c" + + "om.google.bigtable.v2B\023ResponseParamsPro" + + "toP\001Z:google.golang.org/genproto/googlea" + + "pis/bigtable/v2;bigtable\252\002\030Google.Cloud." + + "Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002" + + "\033Google::Cloud::Bigtable::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_ResponseParams_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ResponseParams_descriptor, + new java.lang.String[] { "ZoneId", "ClusterId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java similarity index 75% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index 7b65efb6f3..3c33a7f957 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies the complete (requested) contents of a single row of a table.
  * Rows which exceed 256MiB in size cannot be read in full.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Row}
  */
-public final class Row extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Row extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Row)
     RowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Row.newBuilder() to construct.
   private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Row() {
     key_ = com.google.protobuf.ByteString.EMPTY;
     families_ = java.util.Collections.emptyList();
@@ -46,19 +28,20 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Row();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
   }
@@ -66,8 +49,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -75,7 +56,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -84,12 +64,9 @@ public com.google.protobuf.ByteString getKey() { } public static final int FAMILIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List families_; /** - * - * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -102,8 +79,6 @@ public java.util.List getFamiliesList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -112,13 +87,11 @@ public java.util.List getFamiliesList() {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFamiliesOrBuilderList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -131,8 +104,6 @@ public int getFamiliesCount() {
     return families_.size();
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -145,8 +116,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
     return families_.get(index);
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -155,12 +124,12 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+      int index) {
     return families_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -172,7 +141,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!key_.isEmpty()) {
       output.writeBytes(1, key_);
     }
@@ -189,10 +159,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (!key_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(1, key_);
     }
     for (int i = 0; i < families_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, families_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, families_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -202,15 +174,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.Row)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.Row other = (com.google.bigtable.v2.Row) obj;
 
-    if (!getKey().equals(other.getKey())) return false;
-    if (!getFamiliesList().equals(other.getFamiliesList())) return false;
+    if (!getKey()
+        .equals(other.getKey())) return false;
+    if (!getFamiliesList()
+        .equals(other.getFamiliesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -233,103 +207,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.Row parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.Row prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Specifies the complete (requested) contents of a single row of a table.
    * Rows which exceed 256MiB in size cannot be read in full.
@@ -337,30 +307,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Row}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Row)
       com.google.bigtable.v2.RowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Row.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -377,7 +350,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
@@ -399,9 +373,7 @@ 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);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -429,39 +401,38 @@ private void buildPartial0(com.google.bigtable.v2.Row result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row) other);
+        return mergeFrom((com.google.bigtable.v2.Row)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -491,10 +462,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            familiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFamiliesFieldBuilder()
-                    : null;
+            familiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFamiliesFieldBuilder() : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -526,31 +496,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Family m =
-                    input.readMessage(com.google.bigtable.v2.Family.parser(), extensionRegistry);
-                if (familiesBuilder_ == null) {
-                  ensureFamiliesIsMutable();
-                  families_.add(m);
-                } else {
-                  familiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              key_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Family m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Family.parser(),
+                      extensionRegistry);
+              if (familiesBuilder_ == null) {
+                ensureFamiliesIsMutable();
+                families_.add(m);
+              } else {
+                familiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -560,13 +529,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -574,7 +540,6 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -582,8 +547,6 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -591,22 +554,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -614,7 +572,6 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -625,24 +582,18 @@ public Builder clearKey() { } private java.util.List families_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Family, - com.google.bigtable.v2.Family.Builder, - com.google.bigtable.v2.FamilyOrBuilder> - familiesBuilder_; + com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> familiesBuilder_; /** - * - * *
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -658,8 +609,6 @@ public java.util.List getFamiliesList() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -675,8 +624,6 @@ public int getFamiliesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -692,8 +639,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -701,7 +646,8 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -715,8 +661,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -724,7 +668,8 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.set(index, builderForValue.build());
@@ -735,8 +680,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -758,8 +701,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -767,7 +708,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,8 +723,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -790,7 +730,8 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(builderForValue.build());
@@ -801,8 +742,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -810,7 +749,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(index, builderForValue.build());
@@ -821,8 +761,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -834,7 +772,8 @@ public Builder addAllFamilies(
         java.lang.Iterable values) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, families_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, families_);
         onChanged();
       } else {
         familiesBuilder_.addAllMessages(values);
@@ -842,8 +781,6 @@ public Builder addAllFamilies(
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -862,8 +799,6 @@ public Builder clearFamilies() {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -882,8 +817,6 @@ public Builder removeFamilies(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -891,12 +824,11 @@ public Builder removeFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
+    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(
+        int index) {
       return getFamiliesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -904,16 +836,14 @@ public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+        int index) {
       if (familiesBuilder_ == null) {
-        return families_.get(index);
-      } else {
+        return families_.get(index);  } else {
         return familiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -921,8 +851,8 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List
-        getFamiliesOrBuilderList() {
+    public java.util.List 
+         getFamiliesOrBuilderList() {
       if (familiesBuilder_ != null) {
         return familiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -930,8 +860,6 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -940,12 +868,10 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      * repeated .google.bigtable.v2.Family families = 2;
      */
     public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
-      return getFamiliesFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Family.getDefaultInstance());
+      return getFamiliesFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -953,13 +879,12 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
-      return getFamiliesFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Family.getDefaultInstance());
+    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(
+        int index) {
+      return getFamiliesFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -967,29 +892,27 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List getFamiliesBuilderList() {
+    public java.util.List 
+         getFamiliesBuilderList() {
       return getFamiliesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Family,
-            com.google.bigtable.v2.Family.Builder,
-            com.google.bigtable.v2.FamilyOrBuilder>
+        com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> 
         getFamiliesFieldBuilder() {
       if (familiesBuilder_ == null) {
-        familiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Family,
-                com.google.bigtable.v2.Family.Builder,
-                com.google.bigtable.v2.FamilyOrBuilder>(
-                families_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        familiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder>(
+                families_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         families_ = null;
       }
       return familiesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -999,12 +922,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Row)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.Row)
   private static final com.google.bigtable.v2.Row DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.Row();
   }
@@ -1013,27 +936,27 @@ public static com.google.bigtable.v2.Row getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Row parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Row parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1048,4 +971,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.Row getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
similarity index 82%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
index 5b43714ce9..61ac43af93 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
@@ -20,8 +5,6 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Takes a row as input and produces an alternate view of the row based on
  * specified rules. For example, a RowFilter might trim down a row to include
@@ -60,45 +43,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.RowFilter}
  */
-public final class RowFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RowFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter)
     RowFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RowFilter.newBuilder() to construct.
   private RowFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RowFilter() {}
+  private RowFilter() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RowFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
   }
 
-  public interface ChainOrBuilder
-      extends
+  public interface ChainOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Chain)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -107,10 +88,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -121,8 +101,6 @@ public interface ChainOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -133,8 +111,6 @@ public interface ChainOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -143,10 +119,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -155,59 +130,53 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends rows through several RowFilters in sequence.
    * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Chain extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Chain extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Chain) ChainOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Chain.newBuilder() to construct. private Chain(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Chain() { filters_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Chain(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } public static final int FILTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List filters_; /** - * - * *
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -221,8 +190,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -232,13 +199,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -252,8 +217,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -267,8 +230,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -278,12 +239,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -295,7 +256,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -309,7 +271,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -319,14 +282,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Chain)) {
         return super.equals(obj);
       }
       com.google.bigtable.v2.RowFilter.Chain other = (com.google.bigtable.v2.RowFilter.Chain) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -347,94 +311,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Chain prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -444,41 +404,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends rows through several RowFilters in sequence.
      * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Chain) com.google.bigtable.v2.RowFilter.ChainOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } // Construct using com.google.bigtable.v2.RowFilter.Chain.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override @@ -515,12 +473,9 @@ public com.google.bigtable.v2.RowFilter.Chain build() { @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain buildPartial() { - com.google.bigtable.v2.RowFilter.Chain result = - new com.google.bigtable.v2.RowFilter.Chain(this); + com.google.bigtable.v2.RowFilter.Chain result = new com.google.bigtable.v2.RowFilter.Chain(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -545,41 +500,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Chain result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowFilter.Chain) { - return mergeFrom((com.google.bigtable.v2.RowFilter.Chain) other); + return mergeFrom((com.google.bigtable.v2.RowFilter.Chain)other); } else { super.mergeFrom(other); return this; @@ -606,10 +558,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Chain other) { filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -641,26 +592,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.RowFilter m = - input.readMessage( - com.google.bigtable.v2.RowFilter.parser(), extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.RowFilter m = + input.readMessage( + com.google.bigtable.v2.RowFilter.parser(), + extensionRegistry); + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(m); + } else { + filtersBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -670,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - filtersBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_; /** - * - * *
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -708,8 +651,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -726,8 +667,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -744,8 +683,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -754,7 +691,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -768,8 +706,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -790,8 +726,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -814,8 +748,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -824,7 +756,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -838,8 +771,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -848,7 +779,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -859,8 +791,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -881,8 +811,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -895,7 +823,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -903,8 +832,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -924,8 +851,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -945,8 +870,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -955,12 +878,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -969,16 +891,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -987,8 +907,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -996,8 +916,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1007,12 +925,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1021,13 +937,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1036,27 +951,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1069,12 +981,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Chain)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Chain)
     private static final com.google.bigtable.v2.RowFilter.Chain DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Chain();
     }
@@ -1083,28 +995,27 @@ public static com.google.bigtable.v2.RowFilter.Chain getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Chain parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Chain parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1119,16 +1030,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Chain getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface InterleaveOrBuilder
-      extends
+  public interface InterleaveOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Interleave)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1159,10 +1068,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1195,8 +1103,6 @@ public interface InterleaveOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1229,8 +1135,6 @@ public interface InterleaveOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1261,10 +1165,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1295,11 +1198,10 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends each row to each of several component
    * RowFilters and interleaves the results.
@@ -1307,48 +1209,43 @@ public interface InterleaveOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
    */
-  public static final class Interleave extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Interleave extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Interleave)
       InterleaveOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Interleave.newBuilder() to construct.
     private Interleave(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Interleave() {
       filters_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Interleave();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Interleave.class,
-              com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+              com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
     }
 
     public static final int FILTERS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List filters_;
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1384,8 +1281,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1417,13 +1312,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1459,8 +1352,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1496,8 +1387,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1529,12 +1418,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1546,7 +1435,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -1560,7 +1450,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1570,15 +1461,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Interleave)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Interleave other =
-          (com.google.bigtable.v2.RowFilter.Interleave) obj;
+      com.google.bigtable.v2.RowFilter.Interleave other = (com.google.bigtable.v2.RowFilter.Interleave) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1599,94 +1490,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Interleave prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1696,8 +1583,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1705,33 +1590,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Interleave)
         com.google.bigtable.v2.RowFilter.InterleaveOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Interleave.class,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+                com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Interleave.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1747,9 +1632,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
@@ -1768,12 +1653,9 @@ public com.google.bigtable.v2.RowFilter.Interleave build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Interleave buildPartial() {
-        com.google.bigtable.v2.RowFilter.Interleave result =
-            new com.google.bigtable.v2.RowFilter.Interleave(this);
+        com.google.bigtable.v2.RowFilter.Interleave result = new com.google.bigtable.v2.RowFilter.Interleave(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1798,41 +1680,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Interleave result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Interleave) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1859,10 +1738,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Interleave other) {
               filtersBuilder_ = null;
               filters_ = other.filters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              filtersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getFiltersFieldBuilder()
-                      : null;
+              filtersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getFiltersFieldBuilder() : null;
             } else {
               filtersBuilder_.addAllMessages(other.filters_);
             }
@@ -1894,26 +1772,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.bigtable.v2.RowFilter m =
-                      input.readMessage(
-                          com.google.bigtable.v2.RowFilter.parser(), extensionRegistry);
-                  if (filtersBuilder_ == null) {
-                    ensureFiltersIsMutable();
-                    filters_.add(m);
-                  } else {
-                    filtersBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.bigtable.v2.RowFilter m =
+                    input.readMessage(
+                        com.google.bigtable.v2.RowFilter.parser(),
+                        extensionRegistry);
+                if (filtersBuilder_ == null) {
+                  ensureFiltersIsMutable();
+                  filters_.add(m);
+                } else {
+                  filtersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1923,28 +1800,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List filters_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureFiltersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           filters_ = new java.util.ArrayList(filters_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          filtersBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_;
 
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -1983,8 +1853,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2023,8 +1891,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2063,8 +1929,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2095,7 +1959,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2109,8 +1974,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2153,8 +2016,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2199,8 +2060,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2231,7 +2090,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2245,8 +2105,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2277,7 +2135,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -2288,8 +2147,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2332,8 +2189,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2368,7 +2223,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -2376,8 +2232,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2419,8 +2273,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2462,8 +2314,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2494,12 +2344,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2530,16 +2379,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2570,8 +2417,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -2579,8 +2426,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2612,12 +2457,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2648,13 +2491,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2685,27 +2527,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2718,12 +2557,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Interleave)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Interleave)
     private static final com.google.bigtable.v2.RowFilter.Interleave DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Interleave();
     }
@@ -2732,28 +2571,27 @@ public static com.google.bigtable.v2.RowFilter.Interleave getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Interleave parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Interleave parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2768,42 +2606,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Interleave getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface ConditionOrBuilder
-      extends
+  public interface ConditionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Condition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2814,34 +2644,26 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ boolean hasTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ com.google.bigtable.v2.RowFilter getTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -2852,8 +2674,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2861,13 +2681,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ boolean hasFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2875,13 +2692,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ com.google.bigtable.v2.RowFilter getFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2893,8 +2707,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A RowFilter which evaluates one of two possible RowFilters, depending on
    * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -2907,52 +2719,48 @@ public interface ConditionOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
    */
-  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Condition extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Condition)
       ConditionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Condition() {}
+    private Condition() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Condition();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Condition.class,
-              com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+              com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
     }
 
     private int bitField0_;
     public static final int PREDICATE_FILTER_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.RowFilter predicateFilter_;
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -2960,26 +2768,19 @@ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2989,23 +2790,18 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-      return predicateFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : predicateFilter_;
+      return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
     }
 
     public static final int TRUE_FILTER_FIELD_NUMBER = 2;
     private com.google.bigtable.v2.RowFilter trueFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ @java.lang.Override @@ -3013,26 +2809,19 @@ public boolean hasTrueFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getTrueFilter() { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -3042,16 +2831,12 @@ public com.google.bigtable.v2.RowFilter getTrueFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
-      return trueFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : trueFilter_;
+      return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
     }
 
     public static final int FALSE_FILTER_FIELD_NUMBER = 3;
     private com.google.bigtable.v2.RowFilter falseFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3059,7 +2844,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ @java.lang.Override @@ -3067,8 +2851,6 @@ public boolean hasFalseFilter() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3076,18 +2858,13 @@ public boolean hasFalseFilter() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getFalseFilter() { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3098,13 +2875,10 @@ public com.google.bigtable.v2.RowFilter getFalseFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
-      return falseFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : falseFilter_;
+      return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3116,7 +2890,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getPredicateFilter());
       }
@@ -3136,13 +2911,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredicateFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getPredicateFilter());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTrueFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTrueFilter());
       }
       if (((bitField0_ & 0x00000004) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFalseFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getFalseFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3152,25 +2930,27 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Condition)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Condition other =
-          (com.google.bigtable.v2.RowFilter.Condition) obj;
+      com.google.bigtable.v2.RowFilter.Condition other = (com.google.bigtable.v2.RowFilter.Condition) obj;
 
       if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
       if (hasPredicateFilter()) {
-        if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+        if (!getPredicateFilter()
+            .equals(other.getPredicateFilter())) return false;
       }
       if (hasTrueFilter() != other.hasTrueFilter()) return false;
       if (hasTrueFilter()) {
-        if (!getTrueFilter().equals(other.getTrueFilter())) return false;
+        if (!getTrueFilter()
+            .equals(other.getTrueFilter())) return false;
       }
       if (hasFalseFilter() != other.hasFalseFilter()) return false;
       if (hasFalseFilter()) {
-        if (!getFalseFilter().equals(other.getFalseFilter())) return false;
+        if (!getFalseFilter()
+            .equals(other.getFalseFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3200,94 +2980,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Condition prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3297,8 +3073,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which evaluates one of two possible RowFilters, depending on
      * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -3311,24 +3085,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Condition)
         com.google.bigtable.v2.RowFilter.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Condition.class,
-                com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+                com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Condition.newBuilder()
@@ -3336,19 +3107,19 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getPredicateFilterFieldBuilder();
           getTrueFilterFieldBuilder();
           getFalseFilterFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3372,9 +3143,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -3393,11 +3164,8 @@ public com.google.bigtable.v2.RowFilter.Condition build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
-        com.google.bigtable.v2.RowFilter.Condition result =
-            new com.google.bigtable.v2.RowFilter.Condition(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.RowFilter.Condition result = new com.google.bigtable.v2.RowFilter.Condition(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -3406,18 +3174,21 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.predicateFilter_ =
-              predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build();
+          result.predicateFilter_ = predicateFilterBuilder_ == null
+              ? predicateFilter_
+              : predicateFilterBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.trueFilter_ =
-              trueFilterBuilder_ == null ? trueFilter_ : trueFilterBuilder_.build();
+          result.trueFilter_ = trueFilterBuilder_ == null
+              ? trueFilter_
+              : trueFilterBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.falseFilter_ =
-              falseFilterBuilder_ == null ? falseFilter_ : falseFilterBuilder_.build();
+          result.falseFilter_ = falseFilterBuilder_ == null
+              ? falseFilter_
+              : falseFilterBuilder_.build();
           to_bitField0_ |= 0x00000004;
         }
         result.bitField0_ |= to_bitField0_;
@@ -3427,41 +3198,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Condition) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3505,32 +3273,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getPredicateFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getTrueFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getFalseFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3540,54 +3309,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.RowFilter predicateFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          predicateFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_;
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3609,8 +3364,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3618,7 +3371,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
-      public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setPredicateFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (predicateFilterBuilder_ == null) {
           predicateFilter_ = builderForValue.build();
         } else {
@@ -3629,8 +3383,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3640,9 +3392,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
        */
       public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && predicateFilter_ != null
-              && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            predicateFilter_ != null &&
+            predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getPredicateFilterBuilder().mergeFrom(value);
           } else {
             predicateFilter_ = value;
@@ -3657,8 +3409,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3677,8 +3427,6 @@ public Builder clearPredicateFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3692,8 +3440,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
         return getPredicateFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3705,14 +3451,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
         if (predicateFilterBuilder_ != null) {
           return predicateFilterBuilder_.getMessageOrBuilder();
         } else {
-          return predicateFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : predicateFilter_;
+          return predicateFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3721,17 +3464,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getPredicateFilterFieldBuilder() {
         if (predicateFilterBuilder_ == null) {
-          predicateFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getPredicateFilter(), getParentForChildren(), isClean());
+          predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getPredicateFilter(),
+                  getParentForChildren(),
+                  isClean());
           predicateFilter_ = null;
         }
         return predicateFilterBuilder_;
@@ -3739,49 +3479,36 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter trueFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          trueFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> trueFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ public boolean hasTrueFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ public com.google.bigtable.v2.RowFilter getTrueFilter() { if (trueFilterBuilder_ == null) { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } else { return trueFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3803,8 +3530,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3812,7 +3537,8 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
-      public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setTrueFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (trueFilterBuilder_ == null) {
           trueFilter_ = builderForValue.build();
         } else {
@@ -3823,8 +3549,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3834,9 +3558,9 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
        */
       public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && trueFilter_ != null
-              && trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            trueFilter_ != null &&
+            trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getTrueFilterBuilder().mergeFrom(value);
           } else {
             trueFilter_ = value;
@@ -3851,8 +3575,6 @@ public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3871,8 +3593,6 @@ public Builder clearTrueFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3886,8 +3606,6 @@ public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
         return getTrueFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3899,14 +3617,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
         if (trueFilterBuilder_ != null) {
           return trueFilterBuilder_.getMessageOrBuilder();
         } else {
-          return trueFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : trueFilter_;
+          return trueFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3915,17 +3630,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getTrueFilterFieldBuilder() {
         if (trueFilterBuilder_ == null) {
-          trueFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getTrueFilter(), getParentForChildren(), isClean());
+          trueFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getTrueFilter(),
+                  getParentForChildren(),
+                  isClean());
           trueFilter_ = null;
         }
         return trueFilterBuilder_;
@@ -3933,13 +3645,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter falseFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          falseFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> falseFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3947,15 +3654,12 @@ 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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3963,21 +3667,16 @@ public boolean hasFalseFilter() {
        * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ public com.google.bigtable.v2.RowFilter getFalseFilter() { if (falseFilterBuilder_ == null) { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } else { return falseFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4000,8 +3699,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4010,7 +3707,8 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
-      public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setFalseFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (falseFilterBuilder_ == null) {
           falseFilter_ = builderForValue.build();
         } else {
@@ -4021,8 +3719,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4033,9 +3729,9 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
        */
       public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && falseFilter_ != null
-              && falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            falseFilter_ != null &&
+            falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getFalseFilterBuilder().mergeFrom(value);
           } else {
             falseFilter_ = value;
@@ -4050,8 +3746,6 @@ public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4071,8 +3765,6 @@ public Builder clearFalseFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4087,8 +3779,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
         return getFalseFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4101,14 +3791,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
         if (falseFilterBuilder_ != null) {
           return falseFilterBuilder_.getMessageOrBuilder();
         } else {
-          return falseFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : falseFilter_;
+          return falseFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4118,22 +3805,18 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFalseFilterFieldBuilder() {
         if (falseFilterBuilder_ == null) {
-          falseFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getFalseFilter(), getParentForChildren(), isClean());
+          falseFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getFalseFilter(),
+                  getParentForChildren(),
+                  isClean());
           falseFilter_ = null;
         }
         return falseFilterBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4146,12 +3829,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Condition)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Condition)
     private static final com.google.bigtable.v2.RowFilter.Condition DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Condition();
     }
@@ -4160,28 +3843,27 @@ public static com.google.bigtable.v2.RowFilter.Condition getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Condition parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Condition parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4196,16 +3878,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int filterCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
-
   public enum FilterCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CHAIN(1),
     INTERLEAVE(2),
@@ -4228,7 +3908,6 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
-
     private FilterCase(int value) {
       this.value = value;
     }
@@ -4244,71 +3923,48 @@ public static FilterCase valueOf(int value) {
 
     public static FilterCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CHAIN;
-        case 2:
-          return INTERLEAVE;
-        case 3:
-          return CONDITION;
-        case 16:
-          return SINK;
-        case 17:
-          return PASS_ALL_FILTER;
-        case 18:
-          return BLOCK_ALL_FILTER;
-        case 4:
-          return ROW_KEY_REGEX_FILTER;
-        case 14:
-          return ROW_SAMPLE_FILTER;
-        case 5:
-          return FAMILY_NAME_REGEX_FILTER;
-        case 6:
-          return COLUMN_QUALIFIER_REGEX_FILTER;
-        case 7:
-          return COLUMN_RANGE_FILTER;
-        case 8:
-          return TIMESTAMP_RANGE_FILTER;
-        case 9:
-          return VALUE_REGEX_FILTER;
-        case 15:
-          return VALUE_RANGE_FILTER;
-        case 10:
-          return CELLS_PER_ROW_OFFSET_FILTER;
-        case 11:
-          return CELLS_PER_ROW_LIMIT_FILTER;
-        case 12:
-          return CELLS_PER_COLUMN_LIMIT_FILTER;
-        case 13:
-          return STRIP_VALUE_TRANSFORMER;
-        case 19:
-          return APPLY_LABEL_TRANSFORMER;
-        case 0:
-          return FILTER_NOT_SET;
-        default:
-          return null;
+        case 1: return CHAIN;
+        case 2: return INTERLEAVE;
+        case 3: return CONDITION;
+        case 16: return SINK;
+        case 17: return PASS_ALL_FILTER;
+        case 18: return BLOCK_ALL_FILTER;
+        case 4: return ROW_KEY_REGEX_FILTER;
+        case 14: return ROW_SAMPLE_FILTER;
+        case 5: return FAMILY_NAME_REGEX_FILTER;
+        case 6: return COLUMN_QUALIFIER_REGEX_FILTER;
+        case 7: return COLUMN_RANGE_FILTER;
+        case 8: return TIMESTAMP_RANGE_FILTER;
+        case 9: return VALUE_REGEX_FILTER;
+        case 15: return VALUE_RANGE_FILTER;
+        case 10: return CELLS_PER_ROW_OFFSET_FILTER;
+        case 11: return CELLS_PER_ROW_LIMIT_FILTER;
+        case 12: return CELLS_PER_COLUMN_LIMIT_FILTER;
+        case 13: return STRIP_VALUE_TRANSFORMER;
+        case 19: return APPLY_LABEL_TRANSFORMER;
+        case 0: return FILTER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public FilterCase getFilterCase() {
-    return FilterCase.forNumber(filterCase_);
+  public FilterCase
+  getFilterCase() {
+    return FilterCase.forNumber(
+        filterCase_);
   }
 
   public static final int CHAIN_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -4316,27 +3972,22 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain getChain() { if (filterCase_ == 1) { - return (com.google.bigtable.v2.RowFilter.Chain) filter_; + return (com.google.bigtable.v2.RowFilter.Chain) filter_; } return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -4347,22 +3998,19 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     if (filterCase_ == 1) {
-      return (com.google.bigtable.v2.RowFilter.Chain) filter_;
+       return (com.google.bigtable.v2.RowFilter.Chain) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
   }
 
   public static final int INTERLEAVE_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -4370,27 +4018,22 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { if (filterCase_ == 2) { - return (com.google.bigtable.v2.RowFilter.Interleave) filter_; + return (com.google.bigtable.v2.RowFilter.Interleave) filter_; } return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -4401,22 +4044,19 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder() {
     if (filterCase_ == 2) {
-      return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
+       return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
   }
 
   public static final int CONDITION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -4424,27 +4064,22 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Condition getCondition() { if (filterCase_ == 3) { - return (com.google.bigtable.v2.RowFilter.Condition) filter_; + return (com.google.bigtable.v2.RowFilter.Condition) filter_; } return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance(); } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -4455,15 +4090,13 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder() {
     if (filterCase_ == 3) {
-      return (com.google.bigtable.v2.RowFilter.Condition) filter_;
+       return (com.google.bigtable.v2.RowFilter.Condition) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
   }
 
   public static final int SINK_FIELD_NUMBER = 16;
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4527,7 +4160,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ @java.lang.Override @@ -4535,8 +4167,6 @@ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4600,7 +4230,6 @@ public boolean hasSink() {
    * 
* * bool sink = 16; - * * @return The sink. */ @java.lang.Override @@ -4613,15 +4242,12 @@ public boolean getSink() { public static final int PASS_ALL_FILTER_FIELD_NUMBER = 17; /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ @java.lang.Override @@ -4629,15 +4255,12 @@ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ @java.lang.Override @@ -4650,15 +4273,12 @@ public boolean getPassAllFilter() { public static final int BLOCK_ALL_FILTER_FIELD_NUMBER = 18; /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ @java.lang.Override @@ -4666,15 +4286,12 @@ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ @java.lang.Override @@ -4687,8 +4304,6 @@ public boolean getBlockAllFilter() { public static final int ROW_KEY_REGEX_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4700,7 +4315,6 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4708,8 +4322,6 @@ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4721,7 +4333,6 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4734,15 +4345,12 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { public static final int ROW_SAMPLE_FILTER_FIELD_NUMBER = 14; /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ @java.lang.Override @@ -4750,15 +4358,12 @@ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ @java.lang.Override @@ -4771,8 +4376,6 @@ public double getRowSampleFilter() { public static final int FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4783,15 +4386,12 @@ public double getRowSampleFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4802,7 +4402,6 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4813,7 +4412,8 @@ public java.lang.String getFamilyNameRegexFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -4822,8 +4422,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4834,17 +4432,18 @@ public java.lang.String getFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -4856,8 +4455,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { public static final int COLUMN_QUALIFIER_REGEX_FILTER_FIELD_NUMBER = 6; /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4868,7 +4465,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4876,8 +4472,6 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4888,7 +4482,6 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4901,14 +4494,11 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { public static final int COLUMN_RANGE_FILTER_FIELD_NUMBER = 7; /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -4916,26 +4506,21 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -4945,21 +4530,18 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } public static final int TIMESTAMP_RANGE_FILTER_FIELD_NUMBER = 8; /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -4967,26 +4549,21 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -4996,15 +4573,13 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } public static final int VALUE_REGEX_FILTER_FIELD_NUMBER = 9; /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -5014,7 +4589,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -5022,8 +4596,6 @@ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -5033,7 +4605,6 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ @java.lang.Override @@ -5046,14 +4617,11 @@ public com.google.protobuf.ByteString getValueRegexFilter() { public static final int VALUE_RANGE_FILTER_FIELD_NUMBER = 15; /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -5061,26 +4629,21 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ValueRange getValueRangeFilter() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -5090,15 +4653,13 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } public static final int CELLS_PER_ROW_OFFSET_FILTER_FIELD_NUMBER = 10; /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5106,7 +4667,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ @java.lang.Override @@ -5114,8 +4674,6 @@ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5123,7 +4681,6 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -5136,8 +4693,6 @@ public int getCellsPerRowOffsetFilter() { public static final int CELLS_PER_ROW_LIMIT_FILTER_FIELD_NUMBER = 11; /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5145,7 +4700,6 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -5153,8 +4707,6 @@ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5162,7 +4714,6 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -5175,8 +4726,6 @@ public int getCellsPerRowLimitFilter() { public static final int CELLS_PER_COLUMN_LIMIT_FILTER_FIELD_NUMBER = 12; /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5187,7 +4736,6 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -5195,8 +4743,6 @@ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5207,7 +4753,6 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -5220,14 +4765,11 @@ public int getCellsPerColumnLimitFilter() { public static final int STRIP_VALUE_TRANSFORMER_FIELD_NUMBER = 13; /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ @java.lang.Override @@ -5235,14 +4777,11 @@ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ @java.lang.Override @@ -5255,8 +4794,6 @@ public boolean getStripValueTransformer() { public static final int APPLY_LABEL_TRANSFORMER_FIELD_NUMBER = 19; /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5274,15 +4811,12 @@ public boolean getStripValueTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5300,7 +4834,6 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -5311,7 +4844,8 @@ public java.lang.String getApplyLabelTransformer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -5320,8 +4854,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5339,17 +4871,18 @@ public java.lang.String getApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -5360,7 +4893,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5372,7 +4904,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (filterCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } @@ -5383,13 +4916,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } if (filterCase_ == 6) { - output.writeBytes(6, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { output.writeMessage(7, (com.google.bigtable.v2.ColumnRange) filter_); @@ -5398,34 +4933,43 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - output.writeBytes(9, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - output.writeInt32(10, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - output.writeInt32(11, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - output.writeInt32(12, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - output.writeBool(13, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - output.writeDouble(14, (double) ((java.lang.Double) filter_)); + output.writeDouble( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { output.writeMessage(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - output.writeBool(16, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - output.writeBool(17, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - output.writeBool(18, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, filter_); @@ -5440,92 +4984,86 @@ public int getSerializedSize() { size = 0; if (filterCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.RowFilter.Chain) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } if (filterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); } if (filterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.RowFilter.Condition) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (filterCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 6, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.v2.ColumnRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.v2.ColumnRange) filter_); } if (filterCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.bigtable.v2.TimestampRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 9, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 10, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 11, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 12, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 13, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 14, (double) ((java.lang.Double) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.bigtable.v2.ValueRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 16, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 17, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 18, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, filter_); @@ -5538,7 +5076,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowFilter)) { return super.equals(obj); @@ -5548,63 +5086,81 @@ public boolean equals(final java.lang.Object obj) { if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 1: - if (!getChain().equals(other.getChain())) return false; + if (!getChain() + .equals(other.getChain())) return false; break; case 2: - if (!getInterleave().equals(other.getInterleave())) return false; + if (!getInterleave() + .equals(other.getInterleave())) return false; break; case 3: - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; break; case 16: - if (getSink() != other.getSink()) return false; + if (getSink() + != other.getSink()) return false; break; case 17: - if (getPassAllFilter() != other.getPassAllFilter()) return false; + if (getPassAllFilter() + != other.getPassAllFilter()) return false; break; case 18: - if (getBlockAllFilter() != other.getBlockAllFilter()) return false; + if (getBlockAllFilter() + != other.getBlockAllFilter()) return false; break; case 4: - if (!getRowKeyRegexFilter().equals(other.getRowKeyRegexFilter())) return false; + if (!getRowKeyRegexFilter() + .equals(other.getRowKeyRegexFilter())) return false; break; case 14: if (java.lang.Double.doubleToLongBits(getRowSampleFilter()) - != java.lang.Double.doubleToLongBits(other.getRowSampleFilter())) return false; + != java.lang.Double.doubleToLongBits( + other.getRowSampleFilter())) return false; break; case 5: - if (!getFamilyNameRegexFilter().equals(other.getFamilyNameRegexFilter())) return false; + if (!getFamilyNameRegexFilter() + .equals(other.getFamilyNameRegexFilter())) return false; break; case 6: - if (!getColumnQualifierRegexFilter().equals(other.getColumnQualifierRegexFilter())) - return false; + if (!getColumnQualifierRegexFilter() + .equals(other.getColumnQualifierRegexFilter())) return false; break; case 7: - if (!getColumnRangeFilter().equals(other.getColumnRangeFilter())) return false; + if (!getColumnRangeFilter() + .equals(other.getColumnRangeFilter())) return false; break; case 8: - if (!getTimestampRangeFilter().equals(other.getTimestampRangeFilter())) return false; + if (!getTimestampRangeFilter() + .equals(other.getTimestampRangeFilter())) return false; break; case 9: - if (!getValueRegexFilter().equals(other.getValueRegexFilter())) return false; + if (!getValueRegexFilter() + .equals(other.getValueRegexFilter())) return false; break; case 15: - if (!getValueRangeFilter().equals(other.getValueRangeFilter())) return false; + if (!getValueRangeFilter() + .equals(other.getValueRangeFilter())) return false; break; case 10: - if (getCellsPerRowOffsetFilter() != other.getCellsPerRowOffsetFilter()) return false; + if (getCellsPerRowOffsetFilter() + != other.getCellsPerRowOffsetFilter()) return false; break; case 11: - if (getCellsPerRowLimitFilter() != other.getCellsPerRowLimitFilter()) return false; + if (getCellsPerRowLimitFilter() + != other.getCellsPerRowLimitFilter()) return false; break; case 12: - if (getCellsPerColumnLimitFilter() != other.getCellsPerColumnLimitFilter()) return false; + if (getCellsPerColumnLimitFilter() + != other.getCellsPerColumnLimitFilter()) return false; break; case 13: - if (getStripValueTransformer() != other.getStripValueTransformer()) return false; + if (getStripValueTransformer() + != other.getStripValueTransformer()) return false; break; case 19: - if (!getApplyLabelTransformer().equals(other.getApplyLabelTransformer())) return false; + if (!getApplyLabelTransformer() + .equals(other.getApplyLabelTransformer())) return false; break; case 0: default: @@ -5635,15 +5191,18 @@ public int hashCode() { break; case 16: hash = (37 * hash) + SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSink()); break; case 17: hash = (37 * hash) + PASS_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassAllFilter()); break; case 18: hash = (37 * hash) + BLOCK_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBlockAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBlockAllFilter()); break; case 4: hash = (37 * hash) + ROW_KEY_REGEX_FILTER_FIELD_NUMBER; @@ -5651,10 +5210,8 @@ public int hashCode() { break; case 14: hash = (37 * hash) + ROW_SAMPLE_FILTER_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRowSampleFilter())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRowSampleFilter())); break; case 5: hash = (37 * hash) + FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER; @@ -5694,7 +5251,8 @@ public int hashCode() { break; case 13: hash = (37 * hash) + STRIP_VALUE_TRANSFORMER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStripValueTransformer()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStripValueTransformer()); break; case 19: hash = (37 * hash) + APPLY_LABEL_TRANSFORMER_FIELD_NUMBER; @@ -5708,103 +5266,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowFilter parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowFilter parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Takes a row as input and produces an alternate view of the row based on
    * specified rules. For example, a RowFilter might trim down a row to include
@@ -5843,32 +5397,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter)
       com.google.bigtable.v2.RowFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.class,
-              com.google.bigtable.v2.RowFilter.Builder.class);
+              com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RowFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5897,9 +5452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
@@ -5919,9 +5474,7 @@ public com.google.bigtable.v2.RowFilter build() {
     @java.lang.Override
     public com.google.bigtable.v2.RowFilter buildPartial() {
       com.google.bigtable.v2.RowFilter result = new com.google.bigtable.v2.RowFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5934,22 +5487,28 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 1 && chainBuilder_ != null) {
+      if (filterCase_ == 1 &&
+          chainBuilder_ != null) {
         result.filter_ = chainBuilder_.build();
       }
-      if (filterCase_ == 2 && interleaveBuilder_ != null) {
+      if (filterCase_ == 2 &&
+          interleaveBuilder_ != null) {
         result.filter_ = interleaveBuilder_.build();
       }
-      if (filterCase_ == 3 && conditionBuilder_ != null) {
+      if (filterCase_ == 3 &&
+          conditionBuilder_ != null) {
         result.filter_ = conditionBuilder_.build();
       }
-      if (filterCase_ == 7 && columnRangeFilterBuilder_ != null) {
+      if (filterCase_ == 7 &&
+          columnRangeFilterBuilder_ != null) {
         result.filter_ = columnRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 8 && timestampRangeFilterBuilder_ != null) {
+      if (filterCase_ == 8 &&
+          timestampRangeFilterBuilder_ != null) {
         result.filter_ = timestampRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 15 && valueRangeFilterBuilder_ != null) {
+      if (filterCase_ == 15 &&
+          valueRangeFilterBuilder_ != null) {
         result.filter_ = valueRangeFilterBuilder_.build();
       }
     }
@@ -5958,39 +5517,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6000,109 +5558,89 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RowFilter other) {
       if (other == com.google.bigtable.v2.RowFilter.getDefaultInstance()) return this;
       switch (other.getFilterCase()) {
-        case CHAIN:
-          {
-            mergeChain(other.getChain());
-            break;
-          }
-        case INTERLEAVE:
-          {
-            mergeInterleave(other.getInterleave());
-            break;
-          }
-        case CONDITION:
-          {
-            mergeCondition(other.getCondition());
-            break;
-          }
-        case SINK:
-          {
-            setSink(other.getSink());
-            break;
-          }
-        case PASS_ALL_FILTER:
-          {
-            setPassAllFilter(other.getPassAllFilter());
-            break;
-          }
-        case BLOCK_ALL_FILTER:
-          {
-            setBlockAllFilter(other.getBlockAllFilter());
-            break;
-          }
-        case ROW_KEY_REGEX_FILTER:
-          {
-            setRowKeyRegexFilter(other.getRowKeyRegexFilter());
-            break;
-          }
-        case ROW_SAMPLE_FILTER:
-          {
-            setRowSampleFilter(other.getRowSampleFilter());
-            break;
-          }
-        case FAMILY_NAME_REGEX_FILTER:
-          {
-            filterCase_ = 5;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case COLUMN_QUALIFIER_REGEX_FILTER:
-          {
-            setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
-            break;
-          }
-        case COLUMN_RANGE_FILTER:
-          {
-            mergeColumnRangeFilter(other.getColumnRangeFilter());
-            break;
-          }
-        case TIMESTAMP_RANGE_FILTER:
-          {
-            mergeTimestampRangeFilter(other.getTimestampRangeFilter());
-            break;
-          }
-        case VALUE_REGEX_FILTER:
-          {
-            setValueRegexFilter(other.getValueRegexFilter());
-            break;
-          }
-        case VALUE_RANGE_FILTER:
-          {
-            mergeValueRangeFilter(other.getValueRangeFilter());
-            break;
-          }
-        case CELLS_PER_ROW_OFFSET_FILTER:
-          {
-            setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
-            break;
-          }
-        case CELLS_PER_ROW_LIMIT_FILTER:
-          {
-            setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
-            break;
-          }
-        case CELLS_PER_COLUMN_LIMIT_FILTER:
-          {
-            setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
-            break;
-          }
-        case STRIP_VALUE_TRANSFORMER:
-          {
-            setStripValueTransformer(other.getStripValueTransformer());
-            break;
-          }
-        case APPLY_LABEL_TRANSFORMER:
-          {
-            filterCase_ = 19;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case FILTER_NOT_SET:
-          {
-            break;
-          }
+        case CHAIN: {
+          mergeChain(other.getChain());
+          break;
+        }
+        case INTERLEAVE: {
+          mergeInterleave(other.getInterleave());
+          break;
+        }
+        case CONDITION: {
+          mergeCondition(other.getCondition());
+          break;
+        }
+        case SINK: {
+          setSink(other.getSink());
+          break;
+        }
+        case PASS_ALL_FILTER: {
+          setPassAllFilter(other.getPassAllFilter());
+          break;
+        }
+        case BLOCK_ALL_FILTER: {
+          setBlockAllFilter(other.getBlockAllFilter());
+          break;
+        }
+        case ROW_KEY_REGEX_FILTER: {
+          setRowKeyRegexFilter(other.getRowKeyRegexFilter());
+          break;
+        }
+        case ROW_SAMPLE_FILTER: {
+          setRowSampleFilter(other.getRowSampleFilter());
+          break;
+        }
+        case FAMILY_NAME_REGEX_FILTER: {
+          filterCase_ = 5;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case COLUMN_QUALIFIER_REGEX_FILTER: {
+          setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
+          break;
+        }
+        case COLUMN_RANGE_FILTER: {
+          mergeColumnRangeFilter(other.getColumnRangeFilter());
+          break;
+        }
+        case TIMESTAMP_RANGE_FILTER: {
+          mergeTimestampRangeFilter(other.getTimestampRangeFilter());
+          break;
+        }
+        case VALUE_REGEX_FILTER: {
+          setValueRegexFilter(other.getValueRegexFilter());
+          break;
+        }
+        case VALUE_RANGE_FILTER: {
+          mergeValueRangeFilter(other.getValueRangeFilter());
+          break;
+        }
+        case CELLS_PER_ROW_OFFSET_FILTER: {
+          setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
+          break;
+        }
+        case CELLS_PER_ROW_LIMIT_FILTER: {
+          setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
+          break;
+        }
+        case CELLS_PER_COLUMN_LIMIT_FILTER: {
+          setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
+          break;
+        }
+        case STRIP_VALUE_TRANSFORMER: {
+          setStripValueTransformer(other.getStripValueTransformer());
+          break;
+        }
+        case APPLY_LABEL_TRANSFORMER: {
+          filterCase_ = 19;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case FILTER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -6130,132 +5668,121 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getChainFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getInterleaveFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 5;
-                filter_ = s;
-                break;
-              } // case 42
-            case 50:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getColumnRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getTimestampRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 9;
-                break;
-              } // case 74
-            case 80:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 10;
-                break;
-              } // case 80
-            case 88:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 11;
-                break;
-              } // case 88
-            case 96:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 12;
-                break;
-              } // case 96
-            case 104:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 13;
-                break;
-              } // case 104
-            case 113:
-              {
-                filter_ = input.readDouble();
-                filterCase_ = 14;
-                break;
-              } // case 113
-            case 122:
-              {
-                input.readMessage(
-                    getValueRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 15;
-                break;
-              } // case 122
-            case 128:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 16;
-                break;
-              } // case 128
-            case 136:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 17;
-                break;
-              } // case 136
-            case 144:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 18;
-                break;
-              } // case 144
-            case 154:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 19;
-                filter_ = s;
-                break;
-              } // case 154
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getChainFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getInterleaveFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getConditionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readBytes();
+              filterCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 5;
+              filter_ = s;
+              break;
+            } // case 42
+            case 50: {
+              filter_ = input.readBytes();
+              filterCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getColumnRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTimestampRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              filter_ = input.readBytes();
+              filterCase_ = 9;
+              break;
+            } // case 74
+            case 80: {
+              filter_ = input.readInt32();
+              filterCase_ = 10;
+              break;
+            } // case 80
+            case 88: {
+              filter_ = input.readInt32();
+              filterCase_ = 11;
+              break;
+            } // case 88
+            case 96: {
+              filter_ = input.readInt32();
+              filterCase_ = 12;
+              break;
+            } // case 96
+            case 104: {
+              filter_ = input.readBool();
+              filterCase_ = 13;
+              break;
+            } // case 104
+            case 113: {
+              filter_ = input.readDouble();
+              filterCase_ = 14;
+              break;
+            } // case 113
+            case 122: {
+              input.readMessage(
+                  getValueRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 15;
+              break;
+            } // case 122
+            case 128: {
+              filter_ = input.readBool();
+              filterCase_ = 16;
+              break;
+            } // case 128
+            case 136: {
+              filter_ = input.readBool();
+              filterCase_ = 17;
+              break;
+            } // case 136
+            case 144: {
+              filter_ = input.readBool();
+              filterCase_ = 18;
+              break;
+            } // case 144
+            case 154: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 19;
+              filter_ = s;
+              break;
+            } // case 154
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6265,12 +5792,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-
-    public FilterCase getFilterCase() {
-      return FilterCase.forNumber(filterCase_);
+    public FilterCase
+        getFilterCase() {
+      return FilterCase.forNumber(
+          filterCase_);
     }
 
     public Builder clearFilter() {
@@ -6283,20 +5810,14 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
-        chainBuilder_;
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> chainBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -6304,15 +5825,12 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override @@ -6330,8 +5848,6 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6353,8 +5869,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6362,7 +5876,8 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
      *
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
-    public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
+    public Builder setChain(
+        com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
       if (chainBuilder_ == null) {
         filter_ = builderForValue.build();
         onChanged();
@@ -6373,8 +5888,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6384,13 +5897,10 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
      */
     public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       if (chainBuilder_ == null) {
-        if (filterCase_ == 1
-            && filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Chain.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Chain) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 1 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Chain.newBuilder((com.google.bigtable.v2.RowFilter.Chain) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6406,8 +5916,6 @@ public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6432,8 +5940,6 @@ public Builder clearChain() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6445,8 +5951,6 @@ public com.google.bigtable.v2.RowFilter.Chain.Builder getChainBuilder() {
       return getChainFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6466,8 +5970,6 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6476,19 +5978,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> 
         getChainFieldBuilder() {
       if (chainBuilder_ == null) {
         if (!(filterCase_ == 1)) {
           filter_ = com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
         }
-        chainBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Chain,
-                com.google.bigtable.v2.RowFilter.Chain.Builder,
-                com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
+        chainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Chain) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6500,20 +5997,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
-        interleaveBuilder_;
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> interleaveBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -6521,15 +6012,12 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override @@ -6547,8 +6035,6 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6570,8 +6056,6 @@ public Builder setInterleave(com.google.bigtable.v2.RowFilter.Interleave value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6591,8 +6075,6 @@ public Builder setInterleave(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6602,13 +6084,10 @@ public Builder setInterleave(
      */
     public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value) {
       if (interleaveBuilder_ == null) {
-        if (filterCase_ == 2
-            && filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Interleave.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Interleave) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 2 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Interleave.newBuilder((com.google.bigtable.v2.RowFilter.Interleave) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6624,8 +6103,6 @@ public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6650,8 +6127,6 @@ public Builder clearInterleave() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6663,8 +6138,6 @@ public com.google.bigtable.v2.RowFilter.Interleave.Builder getInterleaveBuilder(
       return getInterleaveFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6684,8 +6157,6 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6694,19 +6165,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
      * .google.bigtable.v2.RowFilter.Interleave interleave = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> 
         getInterleaveFieldBuilder() {
       if (interleaveBuilder_ == null) {
         if (!(filterCase_ == 2)) {
           filter_ = com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
         }
-        interleaveBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Interleave,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder,
-                com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
+        interleaveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Interleave) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6718,20 +6184,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
-        conditionBuilder_;
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> conditionBuilder_;
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -6739,15 +6199,12 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override @@ -6765,8 +6222,6 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() { } } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6788,8 +6243,6 @@ public Builder setCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6809,8 +6262,6 @@ public Builder setCondition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6820,13 +6271,10 @@ public Builder setCondition(
      */
     public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       if (conditionBuilder_ == null) {
-        if (filterCase_ == 3
-            && filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Condition.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Condition) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 3 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Condition.newBuilder((com.google.bigtable.v2.RowFilter.Condition) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6842,8 +6290,6 @@ public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6868,8 +6314,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6881,8 +6325,6 @@ public com.google.bigtable.v2.RowFilter.Condition.Builder getConditionBuilder()
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6902,8 +6344,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6912,19 +6352,14 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * .google.bigtable.v2.RowFilter.Condition condition = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
         if (!(filterCase_ == 3)) {
           filter_ = com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
         }
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Condition,
-                com.google.bigtable.v2.RowFilter.Condition.Builder,
-                com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Condition) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6936,8 +6371,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
     }
 
     /**
-     *
-     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7001,15 +6434,12 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7073,7 +6503,6 @@ public boolean hasSink() {
      * 
* * bool sink = 16; - * * @return The sink. */ public boolean getSink() { @@ -7083,8 +6512,6 @@ public boolean getSink() { return false; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7148,7 +6575,6 @@ public boolean getSink() {
      * 
* * bool sink = 16; - * * @param value The sink to set. * @return This builder for chaining. */ @@ -7160,8 +6586,6 @@ public Builder setSink(boolean value) { return this; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7225,7 +6649,6 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; - * * @return This builder for chaining. */ public Builder clearSink() { @@ -7238,30 +6661,24 @@ public Builder clearSink() { } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ public boolean getPassAllFilter() { @@ -7271,15 +6688,12 @@ public boolean getPassAllFilter() { return false; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @param value The passAllFilter to set. * @return This builder for chaining. */ @@ -7291,15 +6705,12 @@ public Builder setPassAllFilter(boolean value) { return this; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return This builder for chaining. */ public Builder clearPassAllFilter() { @@ -7312,30 +6723,24 @@ public Builder clearPassAllFilter() { } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ public boolean getBlockAllFilter() { @@ -7345,15 +6750,12 @@ public boolean getBlockAllFilter() { return false; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @param value The blockAllFilter to set. * @return This builder for chaining. */ @@ -7365,15 +6767,12 @@ public Builder setBlockAllFilter(boolean value) { return this; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return This builder for chaining. */ public Builder clearBlockAllFilter() { @@ -7386,8 +6785,6 @@ public Builder clearBlockAllFilter() { } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7399,15 +6796,12 @@ public Builder clearBlockAllFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7419,7 +6813,6 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -7429,8 +6822,6 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7442,22 +6833,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 4; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7469,7 +6855,6 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; - * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -7482,30 +6867,24 @@ public Builder clearRowKeyRegexFilter() { } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ public double getRowSampleFilter() { @@ -7515,15 +6894,12 @@ public double getRowSampleFilter() { return 0D; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @param value The rowSampleFilter to set. * @return This builder for chaining. */ @@ -7535,15 +6911,12 @@ public Builder setRowSampleFilter(double value) { return this; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return This builder for chaining. */ public Builder clearRowSampleFilter() { @@ -7556,8 +6929,6 @@ public Builder clearRowSampleFilter() { } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7568,7 +6939,6 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -7576,8 +6946,6 @@ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7588,7 +6956,6 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -7598,7 +6965,8 @@ public java.lang.String getFamilyNameRegexFilter() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -7609,8 +6977,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7621,18 +6987,19 @@ public java.lang.String getFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -7642,8 +7009,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7654,22 +7019,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 5; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7680,7 +7041,6 @@ public Builder setFamilyNameRegexFilter(java.lang.String value) {
      * 
* * string family_name_regex_filter = 5; - * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -7692,8 +7052,6 @@ public Builder clearFamilyNameRegexFilter() { return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7704,14 +7062,12 @@ 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) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; @@ -7720,8 +7076,6 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7732,15 +7086,12 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7751,7 +7102,6 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7761,8 +7111,6 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7773,22 +7121,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 6; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7799,7 +7142,6 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7812,19 +7154,13 @@ public Builder clearColumnQualifierRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> - columnRangeFilterBuilder_; + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> columnRangeFilterBuilder_; /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -7832,14 +7168,11 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override @@ -7857,8 +7190,6 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7879,8 +7210,6 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7899,8 +7228,6 @@ public Builder setColumnRangeFilter( return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7909,13 +7236,10 @@ public Builder setColumnRangeFilter( */ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { if (columnRangeFilterBuilder_ == null) { - if (filterCase_ == 7 - && filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ColumnRange.newBuilder( - (com.google.bigtable.v2.ColumnRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 7 && + filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ColumnRange.newBuilder((com.google.bigtable.v2.ColumnRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -7931,8 +7255,6 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7956,8 +7278,6 @@ public Builder clearColumnRangeFilter() { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7968,8 +7288,6 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7988,8 +7306,6 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7997,20 +7313,17 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder * .google.bigtable.v2.ColumnRange column_range_filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> getColumnRangeFilterFieldBuilder() { if (columnRangeFilterBuilder_ == null) { if (!(filterCase_ == 7)) { filter_ = com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } - columnRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder>( - (com.google.bigtable.v2.ColumnRange) filter_, getParentForChildren(), isClean()); + columnRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder>( + (com.google.bigtable.v2.ColumnRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 7; @@ -8019,19 +7332,13 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timestampRangeFilterBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timestampRangeFilterBuilder_; /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -8039,14 +7346,11 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override @@ -8064,8 +7368,6 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8086,8 +7388,6 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8106,8 +7406,6 @@ public Builder setTimestampRangeFilter( return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8116,13 +7414,10 @@ public Builder setTimestampRangeFilter( */ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange value) { if (timestampRangeFilterBuilder_ == null) { - if (filterCase_ == 8 - && filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.TimestampRange.newBuilder( - (com.google.bigtable.v2.TimestampRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 8 && + filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.TimestampRange.newBuilder((com.google.bigtable.v2.TimestampRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8138,8 +7433,6 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8163,8 +7456,6 @@ public Builder clearTimestampRangeFilter() { return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8175,8 +7466,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8195,8 +7484,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8204,20 +7491,17 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimestampRangeFilterFieldBuilder() { if (timestampRangeFilterBuilder_ == null) { if (!(filterCase_ == 8)) { filter_ = com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } - timestampRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - (com.google.bigtable.v2.TimestampRange) filter_, getParentForChildren(), isClean()); + timestampRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + (com.google.bigtable.v2.TimestampRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 8; @@ -8226,8 +7510,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8237,15 +7519,12 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
      * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8255,7 +7534,6 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -8265,8 +7543,6 @@ public com.google.protobuf.ByteString getValueRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8276,22 +7552,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 9; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8301,7 +7572,6 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; - * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -8314,19 +7584,13 @@ public Builder clearValueRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> - valueRangeFilterBuilder_; + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> valueRangeFilterBuilder_; /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -8334,14 +7598,11 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override @@ -8359,8 +7620,6 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8381,15 +7640,14 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; */ - public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder builderForValue) { + public Builder setValueRangeFilter( + com.google.bigtable.v2.ValueRange.Builder builderForValue) { if (valueRangeFilterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); @@ -8400,8 +7658,6 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8410,13 +7666,10 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui */ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { if (valueRangeFilterBuilder_ == null) { - if (filterCase_ == 15 - && filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ValueRange.newBuilder( - (com.google.bigtable.v2.ValueRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 15 && + filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ValueRange.newBuilder((com.google.bigtable.v2.ValueRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8432,8 +7685,6 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8457,8 +7708,6 @@ public Builder clearValueRangeFilter() { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8469,8 +7718,6 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8489,8 +7736,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8498,20 +7743,17 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() * .google.bigtable.v2.ValueRange value_range_filter = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> getValueRangeFilterFieldBuilder() { if (valueRangeFilterBuilder_ == null) { if (!(filterCase_ == 15)) { filter_ = com.google.bigtable.v2.ValueRange.getDefaultInstance(); } - valueRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder>( - (com.google.bigtable.v2.ValueRange) filter_, getParentForChildren(), isClean()); + valueRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder>( + (com.google.bigtable.v2.ValueRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 15; @@ -8520,8 +7762,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8529,15 +7769,12 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8545,7 +7782,6 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -8555,8 +7791,6 @@ public int getCellsPerRowOffsetFilter() { return 0; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8564,7 +7798,6 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -8576,8 +7809,6 @@ public Builder setCellsPerRowOffsetFilter(int value) { return this; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8585,7 +7816,6 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -8598,8 +7828,6 @@ public Builder clearCellsPerRowOffsetFilter() { } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8607,15 +7835,12 @@ public Builder clearCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8623,7 +7848,6 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -8633,8 +7857,6 @@ public int getCellsPerRowLimitFilter() { return 0; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8642,7 +7864,6 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -8654,8 +7875,6 @@ public Builder setCellsPerRowLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8663,7 +7882,6 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -8676,8 +7894,6 @@ public Builder clearCellsPerRowLimitFilter() { } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8688,15 +7904,12 @@ public Builder clearCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8707,7 +7920,6 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -8717,8 +7929,6 @@ public int getCellsPerColumnLimitFilter() { return 0; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8729,7 +7939,6 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -8741,8 +7950,6 @@ public Builder setCellsPerColumnLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8753,7 +7960,6 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -8766,28 +7972,22 @@ public Builder clearCellsPerColumnLimitFilter() { } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ public boolean getStripValueTransformer() { @@ -8797,14 +7997,11 @@ public boolean getStripValueTransformer() { return false; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @param value The stripValueTransformer to set. * @return This builder for chaining. */ @@ -8816,14 +8013,11 @@ public Builder setStripValueTransformer(boolean value) { return this; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return This builder for chaining. */ public Builder clearStripValueTransformer() { @@ -8836,8 +8030,6 @@ public Builder clearStripValueTransformer() { } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8855,7 +8047,6 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -8863,8 +8054,6 @@ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8882,7 +8071,6 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ @java.lang.Override @@ -8892,7 +8080,8 @@ public java.lang.String getApplyLabelTransformer() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -8903,8 +8092,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8922,18 +8109,19 @@ public java.lang.String getApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ @java.lang.Override - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -8943,8 +8131,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8962,22 +8148,18 @@ 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) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 19; filter_ = value; onChanged(); return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8995,7 +8177,6 @@ public Builder setApplyLabelTransformer(java.lang.String value) {
      * 
* * string apply_label_transformer = 19; - * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -9007,8 +8188,6 @@ public Builder clearApplyLabelTransformer() { return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -9026,23 +8205,21 @@ 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) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 19; filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9052,12 +8229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter) private static final com.google.bigtable.v2.RowFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter(); } @@ -9066,27 +8243,27 @@ public static com.google.bigtable.v2.RowFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9101,4 +8278,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java similarity index 94% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java index 32016dd296..0d7ab6c174 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface RowFilterOrBuilder - extends +public interface RowFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ boolean hasChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ com.google.bigtable.v2.RowFilter.Chain getChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -63,34 +39,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ boolean hasInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ com.google.bigtable.v2.RowFilter.Interleave getInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -101,34 +69,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ com.google.bigtable.v2.RowFilter.Condition getCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -139,8 +99,6 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder();
 
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -204,13 +162,10 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ boolean hasSink(); /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -274,68 +229,53 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return The sink. */ boolean getSink(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ boolean hasPassAllFilter(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ boolean getPassAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ boolean hasBlockAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ boolean getBlockAllFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -347,13 +287,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ boolean hasRowKeyRegexFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -365,41 +302,32 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ com.google.protobuf.ByteString getRowKeyRegexFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ boolean hasRowSampleFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ double getRowSampleFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -410,13 +338,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ boolean hasFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -427,13 +352,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ java.lang.String getFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -444,14 +366,12 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - com.google.protobuf.ByteString getFamilyNameRegexFilterBytes(); + com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -462,13 +382,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ boolean hasColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -479,38 +396,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ com.google.protobuf.ByteString getColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ boolean hasColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ com.google.bigtable.v2.ColumnRange getColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -520,32 +428,24 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ boolean hasTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ com.google.bigtable.v2.TimestampRange getTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -555,8 +455,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -566,13 +464,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ boolean hasValueRegexFilter(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -582,38 +477,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ com.google.protobuf.ByteString getValueRegexFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ boolean hasValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ com.google.bigtable.v2.ValueRange getValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -623,8 +509,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -632,13 +516,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ boolean hasCellsPerRowOffsetFilter(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -646,14 +527,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ int getCellsPerRowOffsetFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -661,13 +539,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ boolean hasCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -675,14 +550,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ int getCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -693,13 +565,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ boolean hasCellsPerColumnLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -710,39 +579,30 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ int getCellsPerColumnLimitFilter(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ boolean hasStripValueTransformer(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ boolean getStripValueTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -760,13 +620,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ boolean hasApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -784,13 +641,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ java.lang.String getApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -808,10 +662,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - com.google.protobuf.ByteString getApplyLabelTransformerBytes(); + com.google.protobuf.ByteString + getApplyLabelTransformerBytes(); com.google.bigtable.v2.RowFilter.FilterCase getFilterCase(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java index a0d4cfa67d..6cba23785f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface RowOrBuilder - extends +public interface RowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Row) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -34,14 +16,11 @@ public interface RowOrBuilder
    * 
* * bytes key = 1; - * * @return The key. */ com.google.protobuf.ByteString getKey(); /** - * - * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -49,10 +28,9 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  java.util.List getFamiliesList();
+  java.util.List 
+      getFamiliesList();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -62,8 +40,6 @@ public interface RowOrBuilder
    */
   com.google.bigtable.v2.Family getFamilies(int index);
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -73,8 +49,6 @@ public interface RowOrBuilder
    */
   int getFamiliesCount();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -82,10 +56,9 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  java.util.List getFamiliesOrBuilderList();
+  java.util.List 
+      getFamiliesOrBuilderList();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -93,5 +66,6 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index);
+  com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
similarity index 70%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
index dfeceb7232..6c5190baaf 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
@@ -20,59 +5,54 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a contiguous range of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ -public final class RowRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowRange) RowRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowRange.newBuilder() to construct. private RowRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RowRange() {} + private RowRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } private int startKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startKey_; - public enum StartKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_KEY_CLOSED(1), START_KEY_OPEN(2), STARTKEY_NOT_SET(0); private final int value; - private StartKeyCase(int value) { this.value = value; } @@ -88,40 +68,33 @@ public static StartKeyCase valueOf(int value) { public static StartKeyCase forNumber(int value) { switch (value) { - case 1: - return START_KEY_CLOSED; - case 2: - return START_KEY_OPEN; - case 0: - return STARTKEY_NOT_SET; - default: - return null; + case 1: return START_KEY_CLOSED; + case 2: return START_KEY_OPEN; + case 0: return STARTKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } private int endKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endKey_; - public enum EndKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_KEY_OPEN(3), END_KEY_CLOSED(4), ENDKEY_NOT_SET(0); private final int value; - private EndKeyCase(int value) { this.value = value; } @@ -137,36 +110,30 @@ public static EndKeyCase valueOf(int value) { public static EndKeyCase forNumber(int value) { switch (value) { - case 3: - return END_KEY_OPEN; - case 4: - return END_KEY_CLOSED; - case 0: - return ENDKEY_NOT_SET; - default: - return null; + case 3: return END_KEY_OPEN; + case 4: return END_KEY_CLOSED; + case 0: return ENDKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public static final int START_KEY_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ @java.lang.Override @@ -174,14 +141,11 @@ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ @java.lang.Override @@ -194,14 +158,11 @@ public com.google.protobuf.ByteString getStartKeyClosed() { public static final int START_KEY_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ @java.lang.Override @@ -209,14 +170,11 @@ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ @java.lang.Override @@ -229,14 +187,11 @@ public com.google.protobuf.ByteString getStartKeyOpen() { public static final int END_KEY_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ @java.lang.Override @@ -244,14 +199,11 @@ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ @java.lang.Override @@ -264,14 +216,11 @@ public com.google.protobuf.ByteString getEndKeyOpen() { public static final int END_KEY_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ @java.lang.Override @@ -279,14 +228,11 @@ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ @java.lang.Override @@ -298,7 +244,6 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,18 +255,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startKeyCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endKey_); } getUnknownFields().writeTo(output); } @@ -333,24 +283,24 @@ public int getSerializedSize() { size = 0; if (startKeyCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endKey_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,7 +310,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowRange)) { return super.equals(obj); @@ -370,10 +320,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartKeyCase().equals(other.getStartKeyCase())) return false; switch (startKeyCase_) { case 1: - if (!getStartKeyClosed().equals(other.getStartKeyClosed())) return false; + if (!getStartKeyClosed() + .equals(other.getStartKeyClosed())) return false; break; case 2: - if (!getStartKeyOpen().equals(other.getStartKeyOpen())) return false; + if (!getStartKeyOpen() + .equals(other.getStartKeyOpen())) return false; break; case 0: default: @@ -381,10 +333,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndKeyCase().equals(other.getEndKeyCase())) return false; switch (endKeyCase_) { case 3: - if (!getEndKeyOpen().equals(other.getEndKeyOpen())) return false; + if (!getEndKeyOpen() + .equals(other.getEndKeyOpen())) return false; break; case 4: - if (!getEndKeyClosed().equals(other.getEndKeyClosed())) return false; + if (!getEndKeyClosed() + .equals(other.getEndKeyClosed())) return false; break; case 0: default: @@ -429,134 +383,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowRange) com.google.bigtable.v2.RowRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } // Construct using com.google.bigtable.v2.RowRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override @@ -591,9 +543,7 @@ public com.google.bigtable.v2.RowRange build() { @java.lang.Override public com.google.bigtable.v2.RowRange buildPartial() { com.google.bigtable.v2.RowRange result = new com.google.bigtable.v2.RowRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -614,39 +564,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange) other); + return mergeFrom((com.google.bigtable.v2.RowRange)other); } else { super.mergeFrom(other); return this; @@ -656,36 +605,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.RowRange other) { if (other == com.google.bigtable.v2.RowRange.getDefaultInstance()) return this; switch (other.getStartKeyCase()) { - case START_KEY_CLOSED: - { - setStartKeyClosed(other.getStartKeyClosed()); - break; - } - case START_KEY_OPEN: - { - setStartKeyOpen(other.getStartKeyOpen()); - break; - } - case STARTKEY_NOT_SET: - { - break; - } + case START_KEY_CLOSED: { + setStartKeyClosed(other.getStartKeyClosed()); + break; + } + case START_KEY_OPEN: { + setStartKeyOpen(other.getStartKeyOpen()); + break; + } + case STARTKEY_NOT_SET: { + break; + } } switch (other.getEndKeyCase()) { - case END_KEY_OPEN: - { - setEndKeyOpen(other.getEndKeyOpen()); - break; - } - case END_KEY_CLOSED: - { - setEndKeyClosed(other.getEndKeyClosed()); - break; - } - case ENDKEY_NOT_SET: - { - break; - } + case END_KEY_OPEN: { + setEndKeyOpen(other.getEndKeyOpen()); + break; + } + case END_KEY_CLOSED: { + setEndKeyClosed(other.getEndKeyClosed()); + break; + } + case ENDKEY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -713,37 +656,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startKey_ = input.readBytes(); - startKeyCase_ = 1; - break; - } // case 10 - case 18: - { - startKey_ = input.readBytes(); - startKeyCase_ = 2; - break; - } // case 18 - case 26: - { - endKey_ = input.readBytes(); - endKeyCase_ = 3; - break; - } // case 26 - case 34: - { - endKey_ = input.readBytes(); - endKeyCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startKey_ = input.readBytes(); + startKeyCase_ = 1; + break; + } // case 10 + case 18: { + startKey_ = input.readBytes(); + startKeyCase_ = 2; + break; + } // case 18 + case 26: { + endKey_ = input.readBytes(); + endKeyCase_ = 3; + break; + } // case 26 + case 34: { + endKey_ = input.readBytes(); + endKeyCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,12 +691,12 @@ public Builder mergeFrom( } // finally return this; } - private int startKeyCase_ = 0; private java.lang.Object startKey_; - - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } public Builder clearStartKey() { @@ -770,9 +708,10 @@ public Builder clearStartKey() { private int endKeyCase_ = 0; private java.lang.Object endKey_; - - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public Builder clearEndKey() { @@ -785,28 +724,22 @@ public Builder clearEndKey() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ public com.google.protobuf.ByteString getStartKeyClosed() { @@ -816,35 +749,27 @@ public com.google.protobuf.ByteString getStartKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 1; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartKeyClosed() { @@ -857,28 +782,22 @@ public Builder clearStartKeyClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ public com.google.protobuf.ByteString getStartKeyOpen() { @@ -888,35 +807,27 @@ public com.google.protobuf.ByteString getStartKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 2; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return This builder for chaining. */ public Builder clearStartKeyOpen() { @@ -929,28 +840,22 @@ public Builder clearStartKeyOpen() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ public com.google.protobuf.ByteString getEndKeyOpen() { @@ -960,35 +865,27 @@ public com.google.protobuf.ByteString getEndKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 3; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return This builder for chaining. */ public Builder clearEndKeyOpen() { @@ -1001,28 +898,22 @@ public Builder clearEndKeyOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ public com.google.protobuf.ByteString getEndKeyClosed() { @@ -1032,35 +923,27 @@ public com.google.protobuf.ByteString getEndKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 4; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndKeyClosed() { @@ -1071,9 +954,9 @@ public Builder clearEndKeyClosed() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,12 +966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowRange) private static final com.google.bigtable.v2.RowRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowRange(); } @@ -1097,27 +980,27 @@ public static com.google.bigtable.v2.RowRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1132,4 +1015,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java index 50ff01b94d..0d295fc0ea 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java @@ -1,125 +1,85 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface RowRangeOrBuilder - extends +public interface RowRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ boolean hasStartKeyClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ com.google.protobuf.ByteString getStartKeyClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ boolean hasStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ com.google.protobuf.ByteString getStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ boolean hasEndKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ com.google.protobuf.ByteString getEndKeyOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ boolean hasEndKeyClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java index 337a99363f..fb1a509c07 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies a non-contiguous set of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ -public final class RowSet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowSet) RowSetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowSet.newBuilder() to construct. private RowSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RowSet() { rowKeys_ = emptyList(com.google.protobuf.ByteString.class); rowRanges_ = java.util.Collections.emptyList(); @@ -45,66 +27,58 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowSet(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } public static final int ROW_KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList rowKeys_ = emptyList(com.google.protobuf.ByteString.class); /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ @java.lang.Override - public java.util.List getRowKeysList() { + public java.util.List + getRowKeysList() { return rowKeys_; } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -113,12 +87,9 @@ public com.google.protobuf.ByteString getRowKeys(int index) { } public static final int ROW_RANGES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rowRanges_; /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -130,8 +101,6 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -139,13 +108,11 @@ public java.util.List getRowRangesList() { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRowRangesOrBuilderList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -157,8 +124,6 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -170,8 +135,6 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -179,12 +142,12 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { return rowRanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rowKeys_.size(); i++) { output.writeBytes(1, rowKeys_.get(i)); } @@ -215,13 +179,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < rowKeys_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(rowKeys_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(rowKeys_.get(i)); } size += dataSize; size += 1 * getRowKeysList().size(); } for (int i = 0; i < rowRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rowRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rowRanges_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,15 +197,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowSet)) { return super.equals(obj); } com.google.bigtable.v2.RowSet other = (com.google.bigtable.v2.RowSet) obj; - if (!getRowKeysList().equals(other.getRowKeysList())) return false; - if (!getRowRangesList().equals(other.getRowRangesList())) return false; + if (!getRowKeysList() + .equals(other.getRowKeysList())) return false; + if (!getRowRangesList() + .equals(other.getRowRangesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,133 +232,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowSet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a non-contiguous set of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowSet) com.google.bigtable.v2.RowSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } // Construct using com.google.bigtable.v2.RowSet.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,7 +374,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @@ -429,9 +397,7 @@ public com.google.bigtable.v2.RowSet build() { public com.google.bigtable.v2.RowSet buildPartial() { com.google.bigtable.v2.RowSet result = new com.google.bigtable.v2.RowSet(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -460,39 +426,38 @@ private void buildPartial0(com.google.bigtable.v2.RowSet result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet) other); + return mergeFrom((com.google.bigtable.v2.RowSet)other); } else { super.mergeFrom(other); return this; @@ -530,10 +495,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowSet other) { rowRangesBuilder_ = null; rowRanges_ = other.rowRanges_; bitField0_ = (bitField0_ & ~0x00000002); - rowRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowRangesFieldBuilder() - : null; + rowRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowRangesFieldBuilder() : null; } else { rowRangesBuilder_.addAllMessages(other.rowRanges_); } @@ -565,32 +529,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.ByteString v = input.readBytes(); - ensureRowKeysIsMutable(); - rowKeys_.add(v); - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.RowRange m = - input.readMessage(com.google.bigtable.v2.RowRange.parser(), extensionRegistry); - if (rowRangesBuilder_ == null) { - ensureRowRangesIsMutable(); - rowRanges_.add(m); - } else { - rowRangesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureRowKeysIsMutable(); + rowKeys_.add(v); + break; + } // case 10 + case 18: { + com.google.bigtable.v2.RowRange m = + input.readMessage( + com.google.bigtable.v2.RowRange.parser(), + extensionRegistry); + if (rowRangesBuilder_ == null) { + ensureRowRangesIsMutable(); + rowRanges_.add(m); + } else { + rowRangesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -600,12 +563,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.Internal.ProtobufList rowKeys_ = - emptyList(com.google.protobuf.ByteString.class); - + private com.google.protobuf.Internal.ProtobufList rowKeys_ = emptyList(com.google.protobuf.ByteString.class); private void ensureRowKeysIsMutable() { if (!rowKeys_.isModifiable()) { rowKeys_ = makeMutableCopy(rowKeys_); @@ -613,43 +573,35 @@ private void ensureRowKeysIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ - public java.util.List getRowKeysList() { + public java.util.List + getRowKeysList() { rowKeys_.makeImmutable(); return rowKeys_; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -657,22 +609,18 @@ public com.google.protobuf.ByteString getRowKeys(int index) { return rowKeys_.get(index); } /** - * - * *
      * Single rows included in the set.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setRowKeys( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.set(index, value); bitField0_ |= 0x00000001; @@ -680,21 +628,16 @@ public Builder setRowKeys(int index, com.google.protobuf.ByteString value) { return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.add(value); bitField0_ |= 0x00000001; @@ -702,34 +645,29 @@ public Builder addRowKeys(com.google.protobuf.ByteString value) { return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param values The rowKeys to add. * @return This builder for chaining. */ public Builder addAllRowKeys( java.lang.Iterable values) { ensureRowKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowKeys_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return This builder for chaining. */ public Builder clearRowKeys() { @@ -740,24 +678,18 @@ public Builder clearRowKeys() { } private java.util.List rowRanges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowRangesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rowRanges_ = new java.util.ArrayList(rowRanges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> - rowRangesBuilder_; + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangesBuilder_; /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -772,8 +704,6 @@ public java.util.List getRowRangesList() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -788,8 +718,6 @@ public int getRowRangesCount() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -804,15 +732,14 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder setRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -826,8 +753,6 @@ public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -846,8 +771,6 @@ public Builder setRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -868,15 +791,14 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder addRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -890,15 +812,14 @@ public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForValue) { + public Builder addRowRanges( + com.google.bigtable.v2.RowRange.Builder builderForValue) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); rowRanges_.add(builderForValue.build()); @@ -909,8 +830,6 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForVa return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -929,8 +848,6 @@ public Builder addRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -941,7 +858,8 @@ public Builder addAllRowRanges( java.lang.Iterable values) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowRanges_); onChanged(); } else { rowRangesBuilder_.addAllMessages(values); @@ -949,8 +867,6 @@ public Builder addAllRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -968,8 +884,6 @@ public Builder clearRowRanges() { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -987,44 +901,39 @@ public Builder removeRowRanges(int index) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder(int index) { + public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder( + int index) { return getRowRangesFieldBuilder().getBuilder(index); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { if (rowRangesBuilder_ == null) { - return rowRanges_.get(index); - } else { + return rowRanges_.get(index); } else { return rowRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List - getRowRangesOrBuilderList() { + public java.util.List + getRowRangesOrBuilderList() { if (rowRangesBuilder_ != null) { return rowRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1032,8 +941,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -1041,54 +948,49 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder() { - return getRowRangesFieldBuilder() - .addBuilder(com.google.bigtable.v2.RowRange.getDefaultInstance()); + return getRowRangesFieldBuilder().addBuilder( + com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder(int index) { - return getRowRangesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.RowRange.getDefaultInstance()); + public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder( + int index) { + return getRowRangesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List getRowRangesBuilderList() { + public java.util.List + getRowRangesBuilderList() { return getRowRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> getRowRangesFieldBuilder() { if (rowRangesBuilder_ == null) { - rowRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder>( - rowRanges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rowRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>( + rowRanges_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); rowRanges_ = null; } return rowRangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowSet) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowSet) private static final com.google.bigtable.v2.RowSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowSet(); } @@ -1112,27 +1014,27 @@ public static com.google.bigtable.v2.RowSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java index 6156bafbb3..beb16aaae8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java @@ -1,80 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface RowSetOrBuilder - extends +public interface RowSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ java.util.List getRowKeysList(); /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ int getRowKeysCount(); /** - * - * *
    * Single rows included in the set.
    * 
* * 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); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - java.util.List getRowRangesList(); + java.util.List + getRowRangesList(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -83,8 +55,6 @@ public interface RowSetOrBuilder */ com.google.bigtable.v2.RowRange getRowRanges(int index); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -93,23 +63,21 @@ public interface RowSetOrBuilder */ int getRowRangesCount(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - java.util.List getRowRangesOrBuilderList(); + java.util.List + getRowRangesOrBuilderList(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index); + com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java index 2b024a0568..91c039d63b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,24 +5,21 @@ package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ -public final class SampleRowKeysRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysRequest) SampleRowKeysRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysRequest.newBuilder() to construct. private SampleRowKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysRequest() { tableName_ = ""; appProfileId_ = ""; @@ -45,42 +27,35 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -124,19 +97,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -145,30 +114,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -177,7 +146,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -219,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysRequest)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysRequest other = - (com.google.bigtable.v2.SampleRowKeysRequest) obj; + com.google.bigtable.v2.SampleRowKeysRequest other = (com.google.bigtable.v2.SampleRowKeysRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,136 +219,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysRequest) com.google.bigtable.v2.SampleRowKeysRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override @@ -410,11 +376,8 @@ public com.google.bigtable.v2.SampleRowKeysRequest build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysRequest buildPartial() { - com.google.bigtable.v2.SampleRowKeysRequest result = - new com.google.bigtable.v2.SampleRowKeysRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysRequest result = new com.google.bigtable.v2.SampleRowKeysRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,39 +396,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); } else { super.mergeFrom(other); return this; @@ -510,25 +472,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,29 +497,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -569,25 +523,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -595,43 +546,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -641,25 +581,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * 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) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -669,21 +603,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -692,22 +624,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -715,37 +646,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -755,31 +679,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * 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) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +709,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysRequest) private static final com.google.bigtable.v2.SampleRowKeysRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysRequest(); } @@ -803,27 +723,27 @@ public static com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java index 161abc78fa..9f0328a60e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java @@ -1,86 +1,56 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface SampleRowKeysRequestOrBuilder - extends +public interface SampleRowKeysRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.SampleRowKeysRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java index 38c8e04aca..fb8681f488 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto @@ -20,54 +5,48 @@ package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ -public final class SampleRowKeysResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysResponse) SampleRowKeysResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysResponse.newBuilder() to construct. private SampleRowKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysResponse() { rowKey_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -90,8 +68,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; private long offsetBytes_ = 0L; /** - * - * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -100,7 +76,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -109,7 +84,6 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +95,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -138,10 +113,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (offsetBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offsetBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, offsetBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,16 +128,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysResponse)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysResponse other = - (com.google.bigtable.v2.SampleRowKeysResponse) obj; + com.google.bigtable.v2.SampleRowKeysResponse other = (com.google.bigtable.v2.SampleRowKeysResponse) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (getOffsetBytes() != other.getOffsetBytes()) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (getOffsetBytes() + != other.getOffsetBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,142 +153,139 @@ public int hashCode() { hash = (37 * hash) + ROW_KEY_FIELD_NUMBER; hash = (53 * hash) + getRowKey().hashCode(); hash = (37 * hash) + OFFSET_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffsetBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffsetBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysResponse) com.google.bigtable.v2.SampleRowKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override @@ -342,11 +317,8 @@ public com.google.bigtable.v2.SampleRowKeysResponse build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysResponse buildPartial() { - com.google.bigtable.v2.SampleRowKeysResponse result = - new com.google.bigtable.v2.SampleRowKeysResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysResponse result = new com.google.bigtable.v2.SampleRowKeysResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +337,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -438,25 +409,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offsetBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offsetBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -484,7 +449,6 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -492,8 +456,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -505,22 +467,17 @@ 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -532,7 +489,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -542,10 +498,8 @@ public Builder clearRowKey() { return this; } - private long offsetBytes_; + private long offsetBytes_ ; /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -554,7 +508,6 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -562,8 +515,6 @@ public long getOffsetBytes() { return offsetBytes_; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -572,7 +523,6 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; - * * @param value The offsetBytes to set. * @return This builder for chaining. */ @@ -584,8 +534,6 @@ public Builder setOffsetBytes(long value) { return this; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -594,7 +542,6 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; - * * @return This builder for chaining. */ public Builder clearOffsetBytes() { @@ -603,9 +550,9 @@ public Builder clearOffsetBytes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,12 +562,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysResponse) private static final com.google.bigtable.v2.SampleRowKeysResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysResponse(); } @@ -629,27 +576,27 @@ public static com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java index 7455377681..68001b3f29 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface SampleRowKeysResponseOrBuilder - extends +public interface SampleRowKeysResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.SampleRowKeysResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -38,14 +20,11 @@ public interface SampleRowKeysResponseOrBuilder
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -54,7 +33,6 @@ 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/StreamContinuationToken.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java index de6cfa8f62..ba039e8312 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from a
@@ -30,53 +13,48 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
  */
-public final class StreamContinuationToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationToken)
     StreamContinuationTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationToken.newBuilder() to construct.
   private StreamContinuationToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationToken() {
     token_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationToken();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationToken.class,
-            com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+            com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
   }
 
   private int bitField0_;
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -84,25 +62,18 @@ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition that this token applies to.
    * 
@@ -111,24 +82,18 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ @java.lang.Override @@ -137,29 +102,29 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -168,7 +133,6 @@ public com.google.protobuf.ByteString getTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +144,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPartition()); } @@ -197,7 +162,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); @@ -210,19 +176,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationToken)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationToken other = - (com.google.bigtable.v2.StreamContinuationToken) obj; + com.google.bigtable.v2.StreamContinuationToken other = (com.google.bigtable.v2.StreamContinuationToken) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } - if (!getToken().equals(other.getToken())) return false; + if (!getToken() + .equals(other.getToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,104 +212,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from a
@@ -351,23 +313,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationToken)
       com.google.bigtable.v2.StreamContinuationTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationToken.class,
-              com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+              com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationToken.newBuilder()
@@ -375,17 +335,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -400,9 +360,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
@@ -421,11 +381,8 @@ public com.google.bigtable.v2.StreamContinuationToken build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
-      com.google.bigtable.v2.StreamContinuationToken result =
-          new com.google.bigtable.v2.StreamContinuationToken(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamContinuationToken result = new com.google.bigtable.v2.StreamContinuationToken(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -434,7 +391,9 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
@@ -447,39 +406,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationToken) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -522,25 +480,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                token_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              token_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,52 +507,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -616,15 +559,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -635,8 +577,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -645,9 +585,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -662,8 +602,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -681,8 +619,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -695,8 +631,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -707,14 +641,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -722,17 +653,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; @@ -740,20 +668,18 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { private java.lang.Object token_ = ""; /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -762,21 +688,20 @@ public java.lang.String getToken() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -784,35 +709,28 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -822,30 +740,26 @@ public Builder clearToken() { return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -855,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationToken) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationToken) private static final com.google.bigtable.v2.StreamContinuationToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationToken(); } @@ -869,27 +783,27 @@ public static com.google.bigtable.v2.StreamContinuationToken getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java index 31c8338ba3..96d06a454f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface StreamContinuationTokenOrBuilder - extends +public interface StreamContinuationTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
@@ -60,27 +36,22 @@ public interface StreamContinuationTokenOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java index 39798b0343..e75c95aabd 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from multiple
@@ -30,48 +13,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
  */
-public final class StreamContinuationTokens extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationTokens extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationTokens)
     StreamContinuationTokensOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationTokens.newBuilder() to construct.
   private StreamContinuationTokens(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationTokens() {
     tokens_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationTokens();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationTokens.class,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+            com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
   }
 
   public static final int TOKENS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tokens_;
   /**
-   *
-   *
    * 
    * List of continuation tokens.
    * 
@@ -83,8 +61,6 @@ public java.util.List getTokensL return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -92,13 +68,11 @@ public java.util.List getTokensL * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTokensOrBuilderList() { return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -110,8 +84,6 @@ public int getTokensCount() { return tokens_.size(); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -123,8 +95,6 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { return tokens_.get(index); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -132,12 +102,12 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { return tokens_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tokens_.size(); i++) { output.writeMessage(1, tokens_.get(i)); } @@ -163,7 +134,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tokens_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tokens_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tokens_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,15 +145,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationTokens)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationTokens other = - (com.google.bigtable.v2.StreamContinuationTokens) obj; + com.google.bigtable.v2.StreamContinuationTokens other = (com.google.bigtable.v2.StreamContinuationTokens) obj; - if (!getTokensList().equals(other.getTokensList())) return false; + if (!getTokensList() + .equals(other.getTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,104 +174,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationTokens prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from multiple
@@ -308,32 +275,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationTokens)
       com.google.bigtable.v2.StreamContinuationTokensOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationTokens.class,
-              com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+              com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationTokens.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,9 +317,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
@@ -370,18 +338,14 @@ public com.google.bigtable.v2.StreamContinuationTokens build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokens buildPartial() {
-      com.google.bigtable.v2.StreamContinuationTokens result =
-          new com.google.bigtable.v2.StreamContinuationTokens(this);
+      com.google.bigtable.v2.StreamContinuationTokens result = new com.google.bigtable.v2.StreamContinuationTokens(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.v2.StreamContinuationTokens result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.v2.StreamContinuationTokens result) {
       if (tokensBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tokens_ = java.util.Collections.unmodifiableList(tokens_);
@@ -401,39 +365,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationTokens resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationTokens) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -441,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other) {
-      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) return this;
       if (tokensBuilder_ == null) {
         if (!other.tokens_.isEmpty()) {
           if (tokens_.isEmpty()) {
@@ -461,10 +423,9 @@ public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other)
             tokensBuilder_ = null;
             tokens_ = other.tokens_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tokensBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTokensFieldBuilder()
-                    : null;
+            tokensBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTokensFieldBuilder() : null;
           } else {
             tokensBuilder_.addAllMessages(other.tokens_);
           }
@@ -496,26 +457,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.v2.StreamContinuationToken m =
-                    input.readMessage(
-                        com.google.bigtable.v2.StreamContinuationToken.parser(), extensionRegistry);
-                if (tokensBuilder_ == null) {
-                  ensureTokensIsMutable();
-                  tokens_.add(m);
-                } else {
-                  tokensBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.v2.StreamContinuationToken m =
+                  input.readMessage(
+                      com.google.bigtable.v2.StreamContinuationToken.parser(),
+                      extensionRegistry);
+              if (tokensBuilder_ == null) {
+                ensureTokensIsMutable();
+                tokens_.add(m);
+              } else {
+                tokensBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -525,28 +485,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tokens_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTokensIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tokens_ = new java.util.ArrayList(tokens_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationToken,
-            com.google.bigtable.v2.StreamContinuationToken.Builder,
-            com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-        tokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> tokensBuilder_;
 
     /**
-     *
-     *
      * 
      * List of continuation tokens.
      * 
@@ -561,8 +514,6 @@ public java.util.List getTokensL } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -577,8 +528,6 @@ public int getTokensCount() { } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -593,15 +542,14 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder setTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -615,8 +563,6 @@ public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -635,8 +581,6 @@ public Builder setTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -657,15 +601,14 @@ public Builder addTokens(com.google.bigtable.v2.StreamContinuationToken value) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder addTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,8 +622,6 @@ public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -699,8 +640,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -719,8 +658,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -731,7 +668,8 @@ public Builder addAllTokens( java.lang.Iterable values) { if (tokensBuilder_ == null) { ensureTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tokens_); onChanged(); } else { tokensBuilder_.addAllMessages(values); @@ -739,8 +677,6 @@ public Builder addAllTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -758,8 +694,6 @@ public Builder clearTokens() { return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -777,44 +711,39 @@ public Builder removeTokens(int index) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder( + int index) { return getTokensFieldBuilder().getBuilder(index); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { if (tokensBuilder_ == null) { - return tokens_.get(index); - } else { + return tokens_.get(index); } else { return tokensBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensOrBuilderList() { + public java.util.List + getTokensOrBuilderList() { if (tokensBuilder_ != null) { return tokensBuilder_.getMessageOrBuilderList(); } else { @@ -822,8 +751,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -831,55 +758,49 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder() { - return getTokensFieldBuilder() - .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + return getTokensFieldBuilder().addBuilder( + com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder(int index) { - return getTokensFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder( + int index) { + return getTokensFieldBuilder().addBuilder( + index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensBuilderList() { + public java.util.List + getTokensBuilderList() { return getTokensFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> getTokensFieldBuilder() { if (tokensBuilder_ == null) { - tokensBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( - tokens_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( + tokens_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tokens_ = null; } return tokensBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,12 +810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationTokens) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationTokens) private static final com.google.bigtable.v2.StreamContinuationTokens DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationTokens(); } @@ -903,27 +824,27 @@ public static com.google.bigtable.v2.StreamContinuationTokens getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationTokens parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationTokens parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -938,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationTokens getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java index 0965862953..5cfcea2202 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface StreamContinuationTokensOrBuilder - extends +public interface StreamContinuationTokensOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationTokens) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List getTokensList(); + java.util.List + getTokensList(); /** - * - * *
    * List of continuation tokens.
    * 
@@ -45,8 +26,6 @@ public interface StreamContinuationTokensOrBuilder */ com.google.bigtable.v2.StreamContinuationToken getTokens(int index); /** - * - * *
    * List of continuation tokens.
    * 
@@ -55,24 +34,21 @@ public interface StreamContinuationTokensOrBuilder */ int getTokensCount(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List + java.util.List getTokensOrBuilderList(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index); + com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java index ca306a9e2d..f67653da82 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,8 +5,6 @@ package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * A partition of a change stream.
@@ -29,52 +12,48 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamPartition}
  */
-public final class StreamPartition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamPartition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamPartition)
     StreamPartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamPartition.newBuilder() to construct.
   private StreamPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StreamPartition() {}
+  private StreamPartition() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamPartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamPartition.class,
-            com.google.bigtable.v2.StreamPartition.Builder.class);
+            com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
   }
 
   private int bitField0_;
   public static final int ROW_RANGE_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.RowRange rowRange_;
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ @java.lang.Override @@ -82,15 +61,12 @@ public boolean hasRowRange() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_; } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
@@ -113,7 +87,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -125,7 +98,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getRowRange());
     }
@@ -139,7 +113,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRowRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -149,7 +124,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.StreamPartition)) {
       return super.equals(obj);
@@ -158,7 +133,8 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowRange() != other.hasRowRange()) return false;
     if (hasRowRange()) {
-      if (!getRowRange().equals(other.getRowRange())) return false;
+      if (!getRowRange()
+          .equals(other.getRowRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -180,104 +156,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.StreamPartition parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.StreamPartition parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.StreamPartition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * A partition of a change stream.
@@ -285,23 +256,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamPartition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamPartition)
       com.google.bigtable.v2.StreamPartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamPartition.class,
-              com.google.bigtable.v2.StreamPartition.Builder.class);
+              com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamPartition.newBuilder()
@@ -309,17 +278,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getRowRangeFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -333,9 +302,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
@@ -354,11 +323,8 @@ public com.google.bigtable.v2.StreamPartition build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamPartition buildPartial() {
-      com.google.bigtable.v2.StreamPartition result =
-          new com.google.bigtable.v2.StreamPartition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamPartition result = new com.google.bigtable.v2.StreamPartition(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,7 +333,9 @@ private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.rowRange_ = rowRangeBuilder_ == null ? rowRange_ : rowRangeBuilder_.build();
+        result.rowRange_ = rowRangeBuilder_ == null
+            ? rowRange_
+            : rowRangeBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -377,39 +345,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamPartition) {
-        return mergeFrom((com.google.bigtable.v2.StreamPartition) other);
+        return mergeFrom((com.google.bigtable.v2.StreamPartition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -447,19 +414,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getRowRangeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getRowRangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -469,40 +436,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.RowRange rowRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
-        rowRangeBuilder_;
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangeBuilder_;
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ public boolean hasRowRange() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ public com.google.bigtable.v2.RowRange getRowRange() { @@ -513,8 +470,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { } } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -536,8 +491,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -545,7 +498,8 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
      *
      * .google.bigtable.v2.RowRange row_range = 1;
      */
-    public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForValue) {
+    public Builder setRowRange(
+        com.google.bigtable.v2.RowRange.Builder builderForValue) {
       if (rowRangeBuilder_ == null) {
         rowRange_ = builderForValue.build();
       } else {
@@ -556,8 +510,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -567,9 +519,9 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
      */
     public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       if (rowRangeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && rowRange_ != null
-            && rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          rowRange_ != null &&
+          rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
           getRowRangeBuilder().mergeFrom(value);
         } else {
           rowRange_ = value;
@@ -584,8 +536,6 @@ public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -604,8 +554,6 @@ public Builder clearRowRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -619,8 +567,6 @@ public com.google.bigtable.v2.RowRange.Builder getRowRangeBuilder() {
       return getRowRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -632,12 +578,11 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
       if (rowRangeBuilder_ != null) {
         return rowRangeBuilder_.getMessageOrBuilder();
       } else {
-        return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
+        return rowRange_ == null ?
+            com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
       }
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -646,24 +591,21 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
      * .google.bigtable.v2.RowRange row_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> 
         getRowRangeFieldBuilder() {
       if (rowRangeBuilder_ == null) {
-        rowRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowRange,
-                com.google.bigtable.v2.RowRange.Builder,
-                com.google.bigtable.v2.RowRangeOrBuilder>(
-                getRowRange(), getParentForChildren(), isClean());
+        rowRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>(
+                getRowRange(),
+                getParentForChildren(),
+                isClean());
         rowRange_ = null;
       }
       return rowRangeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -673,12 +615,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamPartition)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamPartition)
   private static final com.google.bigtable.v2.StreamPartition DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamPartition();
   }
@@ -687,27 +629,27 @@ public static com.google.bigtable.v2.StreamPartition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StreamPartition parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StreamPartition parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -722,4 +664,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.StreamPartition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
similarity index 62%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
index d6144bcc9c..a6f2de12fd 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.bigtable.v2;
 
-public interface StreamPartitionOrBuilder
-    extends
+public interface StreamPartitionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamPartition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ boolean hasRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ com.google.bigtable.v2.RowRange getRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
similarity index 99%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
index b154274117..98f1912341 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
index 2c7e1b542c..cec2e6ee0d 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
@@ -20,58 +5,52 @@
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specified a contiguous range of microsecond timestamps.
  * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } public static final int START_TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long startTimestampMicros_ = 0L; /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -82,14 +61,11 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_ = 0L; /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -98,7 +74,6 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,7 +85,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTimestampMicros_ != 0L) { output.writeInt64(1, startTimestampMicros_); } @@ -127,10 +103,12 @@ public int getSerializedSize() { size = 0; if (startTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, startTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, startTimestampMicros_); } if (endTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, endTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, endTimestampMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,15 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; - if (getStartTimestampMicros() != other.getStartTimestampMicros()) return false; - if (getEndTimestampMicros() != other.getEndTimestampMicros()) return false; + if (getStartTimestampMicros() + != other.getStartTimestampMicros()) return false; + if (getEndTimestampMicros() + != other.getEndTimestampMicros()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,143 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTimestampMicros()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.TimestampRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specified a contiguous range of microsecond timestamps.
    * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.TimestampRange) com.google.bigtable.v2.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } // Construct using com.google.bigtable.v2.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override @@ -329,11 +308,8 @@ public com.google.bigtable.v2.TimestampRange build() { @java.lang.Override public com.google.bigtable.v2.TimestampRange buildPartial() { - com.google.bigtable.v2.TimestampRange result = - new com.google.bigtable.v2.TimestampRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.TimestampRange result = new com.google.bigtable.v2.TimestampRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -352,39 +328,38 @@ private void buildPartial0(com.google.bigtable.v2.TimestampRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange) other); + return mergeFrom((com.google.bigtable.v2.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -425,25 +400,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - startTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - endTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + startTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + endTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,19 +425,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long startTimestampMicros_; + private long startTimestampMicros_ ; /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -473,14 +441,11 @@ public long getStartTimestampMicros() { return startTimestampMicros_; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @param value The startTimestampMicros to set. * @return This builder for chaining. */ @@ -492,14 +457,11 @@ public Builder setStartTimestampMicros(long value) { return this; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { @@ -509,16 +471,13 @@ public Builder clearStartTimestampMicros() { return this; } - private long endTimestampMicros_; + private long endTimestampMicros_ ; /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -526,14 +485,11 @@ public long getEndTimestampMicros() { return endTimestampMicros_; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @param value The endTimestampMicros to set. * @return This builder for chaining. */ @@ -545,14 +501,11 @@ public Builder setEndTimestampMicros(long value) { return this; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { @@ -561,9 +514,9 @@ public Builder clearEndTimestampMicros() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +526,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.TimestampRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.TimestampRange) private static final com.google.bigtable.v2.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.TimestampRange(); } @@ -587,27 +540,27 @@ public static com.google.bigtable.v2.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +575,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java similarity index 52% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java index be5e8ee0d4..65d10ebdcb 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java @@ -1,51 +1,29 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ long getStartTimestampMicros(); /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java index 9bc40cf763..99b18ab32c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto @@ -20,61 +5,54 @@ package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of raw byte values.
  * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ -public final class ValueRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValueRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ValueRange) ValueRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValueRange.newBuilder() to construct. private ValueRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ValueRange() {} + private ValueRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } private int startValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startValue_; - public enum StartValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_VALUE_CLOSED(1), START_VALUE_OPEN(2), STARTVALUE_NOT_SET(0); private final int value; - private StartValueCase(int value) { this.value = value; } @@ -90,40 +68,33 @@ public static StartValueCase valueOf(int value) { public static StartValueCase forNumber(int value) { switch (value) { - case 1: - return START_VALUE_CLOSED; - case 2: - return START_VALUE_OPEN; - case 0: - return STARTVALUE_NOT_SET; - default: - return null; + case 1: return START_VALUE_CLOSED; + case 2: return START_VALUE_OPEN; + case 0: return STARTVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } private int endValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endValue_; - public enum EndValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_VALUE_CLOSED(3), END_VALUE_OPEN(4), ENDVALUE_NOT_SET(0); private final int value; - private EndValueCase(int value) { this.value = value; } @@ -139,36 +110,30 @@ public static EndValueCase valueOf(int value) { public static EndValueCase forNumber(int value) { switch (value) { - case 3: - return END_VALUE_CLOSED; - case 4: - return END_VALUE_OPEN; - case 0: - return ENDVALUE_NOT_SET; - default: - return null; + case 3: return END_VALUE_CLOSED; + case 4: return END_VALUE_OPEN; + case 0: return ENDVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public static final int START_VALUE_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ @java.lang.Override @@ -176,14 +141,11 @@ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ @java.lang.Override @@ -196,14 +158,11 @@ public com.google.protobuf.ByteString getStartValueClosed() { public static final int START_VALUE_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ @java.lang.Override @@ -211,14 +170,11 @@ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ @java.lang.Override @@ -231,14 +187,11 @@ public com.google.protobuf.ByteString getStartValueOpen() { public static final int END_VALUE_CLOSED_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ @java.lang.Override @@ -246,14 +199,11 @@ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ @java.lang.Override @@ -266,14 +216,11 @@ public com.google.protobuf.ByteString getEndValueClosed() { public static final int END_VALUE_OPEN_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ @java.lang.Override @@ -281,14 +228,11 @@ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ @java.lang.Override @@ -300,7 +244,6 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,18 +255,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startValueCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endValue_); } getUnknownFields().writeTo(output); } @@ -335,24 +283,24 @@ public int getSerializedSize() { size = 0; if (startValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endValue_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -362,7 +310,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ValueRange)) { return super.equals(obj); @@ -372,10 +320,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartValueCase().equals(other.getStartValueCase())) return false; switch (startValueCase_) { case 1: - if (!getStartValueClosed().equals(other.getStartValueClosed())) return false; + if (!getStartValueClosed() + .equals(other.getStartValueClosed())) return false; break; case 2: - if (!getStartValueOpen().equals(other.getStartValueOpen())) return false; + if (!getStartValueOpen() + .equals(other.getStartValueOpen())) return false; break; case 0: default: @@ -383,10 +333,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndValueCase().equals(other.getEndValueCase())) return false; switch (endValueCase_) { case 3: - if (!getEndValueClosed().equals(other.getEndValueClosed())) return false; + if (!getEndValueClosed() + .equals(other.getEndValueClosed())) return false; break; case 4: - if (!getEndValueOpen().equals(other.getEndValueOpen())) return false; + if (!getEndValueOpen() + .equals(other.getEndValueOpen())) return false; break; case 0: default: @@ -431,135 +383,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ValueRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ValueRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ValueRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ValueRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ValueRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of raw byte values.
    * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ValueRange) com.google.bigtable.v2.ValueRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } // Construct using com.google.bigtable.v2.ValueRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override @@ -594,9 +543,7 @@ public com.google.bigtable.v2.ValueRange build() { @java.lang.Override public com.google.bigtable.v2.ValueRange buildPartial() { com.google.bigtable.v2.ValueRange result = new com.google.bigtable.v2.ValueRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -617,39 +564,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ValueRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange) other); + return mergeFrom((com.google.bigtable.v2.ValueRange)other); } else { super.mergeFrom(other); return this; @@ -659,36 +605,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.ValueRange other) { if (other == com.google.bigtable.v2.ValueRange.getDefaultInstance()) return this; switch (other.getStartValueCase()) { - case START_VALUE_CLOSED: - { - setStartValueClosed(other.getStartValueClosed()); - break; - } - case START_VALUE_OPEN: - { - setStartValueOpen(other.getStartValueOpen()); - break; - } - case STARTVALUE_NOT_SET: - { - break; - } + case START_VALUE_CLOSED: { + setStartValueClosed(other.getStartValueClosed()); + break; + } + case START_VALUE_OPEN: { + setStartValueOpen(other.getStartValueOpen()); + break; + } + case STARTVALUE_NOT_SET: { + break; + } } switch (other.getEndValueCase()) { - case END_VALUE_CLOSED: - { - setEndValueClosed(other.getEndValueClosed()); - break; - } - case END_VALUE_OPEN: - { - setEndValueOpen(other.getEndValueOpen()); - break; - } - case ENDVALUE_NOT_SET: - { - break; - } + case END_VALUE_CLOSED: { + setEndValueClosed(other.getEndValueClosed()); + break; + } + case END_VALUE_OPEN: { + setEndValueOpen(other.getEndValueOpen()); + break; + } + case ENDVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -716,37 +656,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startValue_ = input.readBytes(); - startValueCase_ = 1; - break; - } // case 10 - case 18: - { - startValue_ = input.readBytes(); - startValueCase_ = 2; - break; - } // case 18 - case 26: - { - endValue_ = input.readBytes(); - endValueCase_ = 3; - break; - } // case 26 - case 34: - { - endValue_ = input.readBytes(); - endValueCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startValue_ = input.readBytes(); + startValueCase_ = 1; + break; + } // case 10 + case 18: { + startValue_ = input.readBytes(); + startValueCase_ = 2; + break; + } // case 18 + case 26: { + endValue_ = input.readBytes(); + endValueCase_ = 3; + break; + } // case 26 + case 34: { + endValue_ = input.readBytes(); + endValueCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -756,12 +691,12 @@ public Builder mergeFrom( } // finally return this; } - private int startValueCase_ = 0; private java.lang.Object startValue_; - - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } public Builder clearStartValue() { @@ -773,9 +708,10 @@ public Builder clearStartValue() { private int endValueCase_ = 0; private java.lang.Object endValue_; - - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public Builder clearEndValue() { @@ -788,28 +724,22 @@ public Builder clearEndValue() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ public com.google.protobuf.ByteString getStartValueClosed() { @@ -819,35 +749,27 @@ public com.google.protobuf.ByteString getStartValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 1; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartValueClosed() { @@ -860,28 +782,22 @@ public Builder clearStartValueClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ public com.google.protobuf.ByteString getStartValueOpen() { @@ -891,35 +807,27 @@ public com.google.protobuf.ByteString getStartValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 2; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return This builder for chaining. */ public Builder clearStartValueOpen() { @@ -932,28 +840,22 @@ public Builder clearStartValueOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ public com.google.protobuf.ByteString getEndValueClosed() { @@ -963,35 +865,27 @@ public com.google.protobuf.ByteString getEndValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 3; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return This builder for chaining. */ public Builder clearEndValueClosed() { @@ -1004,28 +898,22 @@ public Builder clearEndValueClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ public com.google.protobuf.ByteString getEndValueOpen() { @@ -1035,35 +923,27 @@ public com.google.protobuf.ByteString getEndValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * 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) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 4; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return This builder for chaining. */ public Builder clearEndValueOpen() { @@ -1074,9 +954,9 @@ public Builder clearEndValueOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1086,12 +966,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ValueRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ValueRange) private static final com.google.bigtable.v2.ValueRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ValueRange(); } @@ -1100,27 +980,27 @@ public static com.google.bigtable.v2.ValueRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1015,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ValueRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java index e1598c1540..bf676952d7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java @@ -1,125 +1,85 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto // Protobuf Java Version: 3.25.2 package com.google.bigtable.v2; -public interface ValueRangeOrBuilder - extends +public interface ValueRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ValueRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ boolean hasStartValueClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ com.google.protobuf.ByteString getStartValueClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ boolean hasStartValueOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ com.google.protobuf.ByteString getStartValueOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ boolean hasEndValueClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ com.google.protobuf.ByteString getEndValueClosed(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ boolean hasEndValueOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto 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 deleted file mode 100644 index 1cd1db3492..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java +++ /dev/null @@ -1,666 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public final class BigtableInstanceAdminProto { - private BigtableInstanceAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/bigtable/admin/v2/bigtable_inst" - + "ance_admin.proto\022\030google.bigtable.admin." - + "v2\032\034google/api/annotations.proto\032\027google" - + "/api/client.proto\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\032\'g" - + "oogle/bigtable/admin/v2/instance.proto\032\036" - + "google/iam/v1/iam_policy.proto\032\032google/i" - + "am/v1/policy.proto\032#google/longrunning/o" - + "perations.proto\032\033google/protobuf/empty.p" - + "roto\032 google/protobuf/field_mask.proto\032\037" - + "google/protobuf/timestamp.proto\"\333\002\n\025Crea" - + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" - + "-\n+cloudresourcemanager.googleapis.com/P" - + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" - + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" - + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" - + "igtable.admin.v2.CreateInstanceRequest.C" - + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" - + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" - + ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" - + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" - + ".googleapis.com/Instance\"o\n\024ListInstance" - + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" - + "esourcemanager.googleapis.com/Project\022\022\n" - + "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" - + "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" - + ".admin.v2.Instance\022\030\n\020failed_locations\030\002" - + " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" - + "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" - + "2\".google.bigtable.admin.v2.InstanceB\003\340A" - + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" - + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" - + "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" - + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" - + "admin.googleapis.com/Instance\022\027\n\ncluster" - + "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" - + ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" - + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" - + "ableadmin.googleapis.com/Cluster\"h\n\023List" - + "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" - + "%bigtableadmin.googleapis.com/Instance\022\022" - + "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" - + "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" - + "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" - + "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" - + "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" - + "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" - + "eInstanceMetadata\022I\n\020original_request\030\001 " - + "\001(\0132/.google.bigtable.admin.v2.CreateIns" - + "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " - + "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" - + "teInstanceMetadata\022P\n\020original_request\030\001" - + " \001(\01326.google.bigtable.admin.v2.PartialU" - + "pdateInstanceRequest\0220\n\014request_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" - + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" - + "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" - + "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" - + "reateClusterRequest\0220\n\014request_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" - + "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" - + "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" - + "TableProgress\022\034\n\024estimated_size_bytes\030\002 " - + "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" - + "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" - + "eateClusterMetadata.TableProgress.State\"" - + "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" - + "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" - + "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" - + "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" - + "eateClusterMetadata.TableProgress:\0028\001\"\267\001" - + "\n\025UpdateClusterMetadata\022;\n\020original_requ" - + "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" - + "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" - + "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" - + ".google.protobuf.Timestamp\022/\n\013finish_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" - + "riginal_request\030\003 \001(\01325.google.bigtable." - + "admin.v2.PartialUpdateClusterRequest\"\214\001\n" - + "\033PartialUpdateClusterRequest\0227\n\007cluster\030" - + "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" - + "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" - + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" - + "eadmin.googleapis.com/Instance\022\033\n\016app_pr" - + "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" - + "2$.google.bigtable.admin.v2.AppProfileB\003" - + "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" - + "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" - + "ableadmin.googleapis.com/AppProfile\"~\n\026L" - + "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" - + "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" - + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " - + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" - + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" - + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" - + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" - + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" - + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" - + "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" - + "A)\n\'bigtableadmin.googleapis.com/AppProf" - + "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" - + "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" - + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" - + "eadmin.googleapis.com/Cluster\022.\n\nstart_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" - + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" - + "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" - + "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" - + "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" - + "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" - + "oogle.bigtable.admin.v2.CreateInstanceRe" - + "quest\032\035.google.longrunning.Operation\"x\312A" - + "\"\n\010Instance\022\026CreateInstanceMetadata\332A$pa" - + "rent,instance_id,instance,clusters\202\323\344\223\002&" - + "\"!/v2/{parent=projects/*}/instances:\001*\022\221" - + "\001\n\013GetInstance\022,.google.bigtable.admin.v" - + "2.GetInstanceRequest\032\".google.bigtable.a" - + "dmin.v2.Instance\"0\332A\004name\202\323\344\223\002#\022!/v2/{na" - + "me=projects/*/instances/*}\022\244\001\n\rListInsta" - + "nces\022..google.bigtable.admin.v2.ListInst" - + "ancesRequest\032/.google.bigtable.admin.v2." - + "ListInstancesResponse\"2\332A\006parent\202\323\344\223\002#\022!" - + "/v2/{parent=projects/*}/instances\022\206\001\n\016Up" - + "dateInstance\022\".google.bigtable.admin.v2." - + "Instance\032\".google.bigtable.admin.v2.Inst" - + "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" - + "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" - + "oogle.bigtable.admin.v2.PartialUpdateIns" - + "tanceRequest\032\035.google.longrunning.Operat" - + "ion\"x\312A\"\n\010Instance\022\026UpdateInstanceMetada" - + "ta\332A\024instance,update_mask\202\323\344\223\00262*/v2/{in" - + "stance.name=projects/*/instances/*}:\010ins" - + "tance\022\213\001\n\016DeleteInstance\022/.google.bigtab" - + "le.admin.v2.DeleteInstanceRequest\032\026.goog" - + "le.protobuf.Empty\"0\332A\004name\202\323\344\223\002#*!/v2/{n" - + "ame=projects/*/instances/*}\022\334\001\n\rCreateCl" - + "uster\022..google.bigtable.admin.v2.CreateC" - + "lusterRequest\032\035.google.longrunning.Opera" - + "tion\"|\312A \n\007Cluster\022\025CreateClusterMetadat" - + "a\332A\031parent,cluster_id,cluster\202\323\344\223\0027\",/v2" - + "/{parent=projects/*/instances/*}/cluster" - + "s:\007cluster\022\231\001\n\nGetCluster\022+.google.bigta" - + "ble.admin.v2.GetClusterRequest\032!.google." - + "bigtable.admin.v2.Cluster\";\332A\004name\202\323\344\223\002." - + "\022,/v2/{name=projects/*/instances/*/clust" - + "ers/*}\022\254\001\n\014ListClusters\022-.google.bigtabl" - + "e.admin.v2.ListClustersRequest\032..google." - + "bigtable.admin.v2.ListClustersResponse\"=" - + "\332A\006parent\202\323\344\223\002.\022,/v2/{parent=projects/*/" - + "instances/*}/clusters\022\255\001\n\rUpdateCluster\022" - + "!.google.bigtable.admin.v2.Cluster\032\035.goo" - + "gle.longrunning.Operation\"Z\312A \n\007Cluster\022" - + "\025UpdateClusterMetadata\202\323\344\223\0021\032,/v2/{name=" - + "projects/*/instances/*/clusters/*}:\001*\022\364\001" - + "\n\024PartialUpdateCluster\0225.google.bigtable" - + ".admin.v2.PartialUpdateClusterRequest\032\035." - + "google.longrunning.Operation\"\205\001\312A\'\n\007Clus" - + "ter\022\034PartialUpdateClusterMetadata\332A\023clus" - + "ter,update_mask\202\323\344\223\002?24/v2/{cluster.name" - + "=projects/*/instances/*/clusters/*}:\007clu" - + "ster\022\224\001\n\rDeleteCluster\022..google.bigtable" - + ".admin.v2.DeleteClusterRequest\032\026.google." - + "protobuf.Empty\";\332A\004name\202\323\344\223\002.*,/v2/{name" - + "=projects/*/instances/*/clusters/*}\022\325\001\n\020" - + "CreateAppProfile\0221.google.bigtable.admin" - + ".v2.CreateAppProfileRequest\032$.google.big" - + "table.admin.v2.AppProfile\"h\332A!parent,app" - + "_profile_id,app_profile\202\323\344\223\002>\"//v2/{pare" - + "nt=projects/*/instances/*}/appProfiles:\013" - + "app_profile\022\245\001\n\rGetAppProfile\022..google.b" - + "igtable.admin.v2.GetAppProfileRequest\032$." - + "google.bigtable.admin.v2.AppProfile\">\332A\004" - + "name\202\323\344\223\0021\022//v2/{name=projects/*/instanc" - + "es/*/appProfiles/*}\022\270\001\n\017ListAppProfiles\022" - + "0.google.bigtable.admin.v2.ListAppProfil" - + "esRequest\0321.google.bigtable.admin.v2.Lis" - + "tAppProfilesResponse\"@\332A\006parent\202\323\344\223\0021\022//" - + "v2/{parent=projects/*/instances/*}/appPr" - + "ofiles\022\372\001\n\020UpdateAppProfile\0221.google.big" - + "table.admin.v2.UpdateAppProfileRequest\032\035" - + ".google.longrunning.Operation\"\223\001\312A&\n\nApp" - + "Profile\022\030UpdateAppProfileMetadata\332A\027app_" - + "profile,update_mask\202\323\344\223\002J2;/v2/{app_prof" - + "ile.name=projects/*/instances/*/appProfi" - + "les/*}:\013app_profile\022\235\001\n\020DeleteAppProfile" - + "\0221.google.bigtable.admin.v2.DeleteAppPro" - + "fileRequest\032\026.google.protobuf.Empty\">\332A\004" - + "name\202\323\344\223\0021*//v2/{name=projects/*/instanc" - + "es/*/appProfiles/*}\022\223\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"H\332A\010resource\202\323\344\223\0027\"2/v2/" - + "{resource=projects/*/instances/*}:getIam" - + "Policy:\001*\022\232\001\n\014SetIamPolicy\022\".google.iam." - + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" - + "olicy\"O\332A\017resource,policy\202\323\344\223\0027\"2/v2/{re" - + "source=projects/*/instances/*}:setIamPol" - + "icy:\001*\022\305\001\n\022TestIamPermissions\022(.google.i" - + "am.v1.TestIamPermissionsRequest\032).google" - + ".iam.v1.TestIamPermissionsResponse\"Z\332A\024r" - + "esource,permissions\202\323\344\223\002=\"8/v2/{resource" - + "=projects/*/instances/*}:testIamPermissi" - + "ons:\001*\022\277\001\n\016ListHotTablets\022/.google.bigta" - + "ble.admin.v2.ListHotTabletsRequest\0320.goo" - + "gle.bigtable.admin.v2.ListHotTabletsResp" - + "onse\"J\332A\006parent\202\323\344\223\002;\0229/v2/{parent=proje" - + "cts/*/instances/*/clusters/*}/hotTablets" - + "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" - + "tps://www.googleapis.com/auth/bigtable.a" - + "dmin,https://www.googleapis.com/auth/big" - + "table.admin.cluster,https://www.googleap" - + "is.com/auth/bigtable.admin.instance,http" - + "s://www.googleapis.com/auth/cloud-bigtab" - + "le.admin,https://www.googleapis.com/auth" - + "/cloud-bigtable.admin.cluster,https://ww" - + "w.googleapis.com/auth/cloud-platform,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" - + "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" - + "ogle.golang.org/genproto/googleapis/bigt" - + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" - + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" - + "in\\V2\352\002\"Google::Cloud::Bigtable::Admin::" - + "V2b\006proto3" - }; - 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.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 = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "Clusters", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", - }); - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, - new java.lang.String[] { - "Clusters", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", "Tables", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, - new java.lang.String[] { - "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, - new java.lang.String[] { - "RequestTime", "FinishTime", "OriginalRequest", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, - new java.lang.String[] { - "Cluster", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, - new java.lang.String[] { - "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, - new java.lang.String[] { - "AppProfiles", "NextPageToken", "FailedLocations", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, - new java.lang.String[] { - "AppProfile", "UpdateMask", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, - new java.lang.String[] { - "Parent", "StartTime", "EndTime", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, - new java.lang.String[] { - "HotTablets", "NextPageToken", - }); - 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.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 018eaa9580..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ /dev/null @@ -1,823 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public final class BigtableTableAdminProto { - private BigtableTableAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/bigtable/admin/v2/bigtable_tabl" - + "e_admin.proto\022\030google.bigtable.admin.v2\032" - + "\034google/api/annotations.proto\032\027google/ap" - + "i/client.proto\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032%goog" - + "le/bigtable/admin/v2/common.proto\032$googl" - + "e/bigtable/admin/v2/table.proto\032\036google/" - + "iam/v1/iam_policy.proto\032\032google/iam/v1/p" - + "olicy.proto\032#google/longrunning/operatio" - + "ns.proto\032\036google/protobuf/duration.proto" - + "\032\033google/protobuf/empty.proto\032 google/pr" - + "otobuf/field_mask.proto\032\037google/protobuf" - + "/timestamp.proto\"\261\001\n\023RestoreTableRequest" - + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." - + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" - + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" - + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" - + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" - + "ource_type\030\002 \001(\0162+.google.bigtable.admin" - + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" - + "(\0132$.google.bigtable.admin.v2.BackupInfo" - + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" - + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" - + "min.v2.OperationProgressB\r\n\013source_info\"" - + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" - + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" - + "le.admin.v2.OperationProgress\"\201\002\n\022Create" - + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" - + "gtableadmin.googleapis.com/Instance\022\025\n\010t" - + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" - + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" - + "al_splits\030\004 \003(\01322.google.bigtable.admin." - + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" - + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" - + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" - + "min.googleapis.com/Instance\022\025\n\010table_id\030" - + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" - + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" - + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" - + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" - + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" - + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" - + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" - + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" - + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" - + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" - + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." - + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" - + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" - + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" - + "\0162$.google.bigtable.admin.v2.Table.View\"" - + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" - + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" - + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" - + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" - + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." - + "googleapis.com/Table\"P\n\024UndeleteTableReq" - + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" - + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\375\002\n" - + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" - + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" - + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" - + "igtable.admin.v2.ModifyColumnFamiliesReq" - + "uest.ModificationB\003\340A\002\022\034\n\017ignore_warning" - + "s\030\003 \001(\010B\003\340A\001\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(" - + "\t\0228\n\006create\030\002 \001(\0132&.google.bigtable.admi" - + "n.v2.ColumnFamilyH\000\0228\n\006update\030\003 \001(\0132&.go" - + "ogle.bigtable.admin.v2.ColumnFamilyH\000\022\016\n" - + "\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037GenerateConsiste" - + "ncyTokenRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"b" - + "igtableadmin.googleapis.com/Table\"=\n Gen" - + "erateConsistencyTokenResponse\022\031\n\021consist" - + "ency_token\030\001 \001(\t\"s\n\027CheckConsistencyRequ" - + "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin" - + ".googleapis.com/Table\022\036\n\021consistency_tok" - + "en\030\002 \001(\tB\003\340A\002\".\n\030CheckConsistencyRespons" - + "e\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024SnapshotTableR" - + "equest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" - + "min.googleapis.com/Table\022=\n\007cluster\030\002 \001(" - + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" - + "Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003\340A\002\022&\n\003ttl" - + "\030\004 \001(\0132\031.google.protobuf.Duration\022\023\n\013des" - + "cription\030\005 \001(\t\"Q\n\022GetSnapshotRequest\022;\n\004" - + "name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.google" - + "apis.com/Snapshot\"{\n\024ListSnapshotsReques" - + "t\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin" - + ".googleapis.com/Cluster\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsR" - + "esponse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigt" - + "able.admin.v2.Snapshot\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"T\n\025DeleteSnapshotRequest\022;\n\004name" - + "\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.googleapis" - + ".com/Snapshot\"\304\001\n\025SnapshotTableMetadata\022" - + "H\n\020original_request\030\001 \001(\0132..google.bigta" - + "ble.admin.v2.SnapshotTableRequest\0220\n\014req" - + "uest_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "amp\022/\n\013finish_time\030\003 \001(\0132\032.google.protob" - + "uf.Timestamp\"\330\001\n\037CreateTableFromSnapshot" - + "Metadata\022R\n\020original_request\030\001 \001(\01328.goo" - + "gle.bigtable.admin.v2.CreateTableFromSna" - + "pshotRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " - + "\001(\0132\032.google.protobuf.Timestamp\"\242\001\n\023Crea" - + "teBackupRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n" - + "$bigtableadmin.googleapis.com/Cluster\022\026\n" - + "\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backup\030\003 \001(\0132 ." - + "google.bigtable.admin.v2.BackupB\003\340A\002\"\230\001\n" - + "\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014s" - + "ource_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032." - + "google.protobuf.Timestamp\022,\n\010end_time\030\004 " - + "\001(\0132\032.google.protobuf.Timestamp\"\202\001\n\023Upda" - + "teBackupRequest\0225\n\006backup\030\001 \001(\0132 .google" - + ".bigtable.admin.v2.BackupB\003\340A\002\0224\n\013update" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" - + "\003\340A\002\"M\n\020GetBackupRequest\0229\n\004name\030\001 \001(\tB+" - + "\340A\002\372A%\n#bigtableadmin.googleapis.com/Bac" - + "kup\"P\n\023DeleteBackupRequest\0229\n\004name\030\001 \001(\t" - + "B+\340A\002\372A%\n#bigtableadmin.googleapis.com/B" - + "ackup\"\233\001\n\022ListBackupsRequest\022<\n\006parent\030\001" - + " \001(\tB,\340A\002\372A&\n$bigtableadmin.googleapis.c" - + "om/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\003" - + " \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 " - + "\001(\t\"a\n\023ListBackupsResponse\0221\n\007backups\030\001 " - + "\003(\0132 .google.bigtable.admin.v2.Backup\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\343\001\n\021CopyBackupReq" - + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtablead" - + "min.googleapis.com/Cluster\022\026\n\tbackup_id\030" - + "\002 \001(\tB\003\340A\002\022B\n\rsource_backup\030\003 \001(\tB+\340A\002\372A" - + "%\n#bigtableadmin.googleapis.com/Backup\0224" - + "\n\013expire_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\002\"\315\001\n\022CopyBackupMetadata\0226\n\004n" - + "ame\030\001 \001(\tB(\372A%\n#bigtableadmin.googleapis" - + ".com/Backup\022@\n\022source_backup_info\030\002 \001(\0132" - + "$.google.bigtable.admin.v2.BackupInfo\022=\n" - + "\010progress\030\003 \001(\0132+.google.bigtable.admin." - + "v2.OperationProgress2\242*\n\022BigtableTableAd" - + "min\022\253\001\n\013CreateTable\022,.google.bigtable.ad" - + "min.v2.CreateTableRequest\032\037.google.bigta" - + "ble.admin.v2.Table\"M\332A\025parent,table_id,t" - + "able\202\323\344\223\002/\"*/v2/{parent=projects/*/insta" - + "nces/*}/tables:\001*\022\212\002\n\027CreateTableFromSna" - + "pshot\0228.google.bigtable.admin.v2.CreateT" - + "ableFromSnapshotRequest\032\035.google.longrun" - + "ning.Operation\"\225\001\312A(\n\005Table\022\037CreateTable" - + "FromSnapshotMetadata\332A\037parent,table_id,s" - + "ource_snapshot\202\323\344\223\002B\"=/v2/{parent=projec" - + "ts/*/instances/*}/tables:createFromSnaps" - + "hot:\001*\022\244\001\n\nListTables\022+.google.bigtable." - + "admin.v2.ListTablesRequest\032,.google.bigt" - + "able.admin.v2.ListTablesResponse\";\332A\006par" - + "ent\202\323\344\223\002,\022*/v2/{parent=projects/*/instan" - + "ces/*}/tables\022\221\001\n\010GetTable\022).google.bigt" - + "able.admin.v2.GetTableRequest\032\037.google.b" - + "igtable.admin.v2.Table\"9\332A\004name\202\323\344\223\002,\022*/" - + "v2/{name=projects/*/instances/*/tables/*" - + "}\022\316\001\n\013UpdateTable\022,.google.bigtable.admi" - + "n.v2.UpdateTableRequest\032\035.google.longrun" - + "ning.Operation\"r\312A\034\n\005Table\022\023UpdateTableM" - + "etadata\332A\021table,update_mask\202\323\344\223\002920/v2/{" - + "table.name=projects/*/instances/*/tables" - + "/*}:\005table\022\216\001\n\013DeleteTable\022,.google.bigt" - + "able.admin.v2.DeleteTableRequest\032\026.googl" - + "e.protobuf.Empty\"9\332A\004name\202\323\344\223\002,**/v2/{na" - + "me=projects/*/instances/*/tables/*}\022\306\001\n\r" - + "UndeleteTable\022..google.bigtable.admin.v2" - + ".UndeleteTableRequest\032\035.google.longrunni" - + "ng.Operation\"f\312A\036\n\005Table\022\025UndeleteTableM" - + "etadata\332A\004name\202\323\344\223\0028\"3/v2/{name=projects" - + "/*/instances/*/tables/*}:undelete:\001*\022\317\001\n" - + "\024ModifyColumnFamilies\0225.google.bigtable." - + "admin.v2.ModifyColumnFamiliesRequest\032\037.g" - + "oogle.bigtable.admin.v2.Table\"_\332A\022name,m" - + "odifications\202\323\344\223\002D\"?/v2/{name=projects/*" - + "/instances/*/tables/*}:modifyColumnFamil" - + "ies:\001*\022\231\001\n\014DropRowRange\022-.google.bigtabl" - + "e.admin.v2.DropRowRangeRequest\032\026.google." - + "protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{name=projec" - + "ts/*/instances/*/tables/*}:dropRowRange:" - + "\001*\022\350\001\n\030GenerateConsistencyToken\0229.google" - + ".bigtable.admin.v2.GenerateConsistencyTo" - + "kenRequest\032:.google.bigtable.admin.v2.Ge" - + "nerateConsistencyTokenResponse\"U\332A\004name\202" - + "\323\344\223\002H\"C/v2/{name=projects/*/instances/*/" - + "tables/*}:generateConsistencyToken:\001*\022\332\001" - + "\n\020CheckConsistency\0221.google.bigtable.adm" - + "in.v2.CheckConsistencyRequest\0322.google.b" - + "igtable.admin.v2.CheckConsistencyRespons" - + "e\"_\332A\026name,consistency_token\202\323\344\223\002@\";/v2/" - + "{name=projects/*/instances/*/tables/*}:c" - + "heckConsistency:\001*\022\352\001\n\rSnapshotTable\022..g" - + "oogle.bigtable.admin.v2.SnapshotTableReq" - + "uest\032\035.google.longrunning.Operation\"\211\001\312A" - + "!\n\010Snapshot\022\025SnapshotTableMetadata\332A$nam" - + "e,cluster,snapshot_id,description\202\323\344\223\0028\"" - + "3/v2/{name=projects/*/instances/*/tables" - + "/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022,.google" - + ".bigtable.admin.v2.GetSnapshotRequest\032\"." - + "google.bigtable.admin.v2.Snapshot\"G\332A\004na" - + "me\202\323\344\223\002:\0228/v2/{name=projects/*/instances" - + "/*/clusters/*/snapshots/*}\022\273\001\n\rListSnaps" - + "hots\022..google.bigtable.admin.v2.ListSnap" - + "shotsRequest\032/.google.bigtable.admin.v2." - + "ListSnapshotsResponse\"I\332A\006parent\202\323\344\223\002:\0228" - + "/v2/{parent=projects/*/instances/*/clust" - + "ers/*}/snapshots\022\242\001\n\016DeleteSnapshot\022/.go" - + "ogle.bigtable.admin.v2.DeleteSnapshotReq" - + "uest\032\026.google.protobuf.Empty\"G\332A\004name\202\323\344" - + "\223\002:*8/v2/{name=projects/*/instances/*/cl" - + "usters/*/snapshots/*}\022\340\001\n\014CreateBackup\022-" - + ".google.bigtable.admin.v2.CreateBackupRe" - + "quest\032\035.google.longrunning.Operation\"\201\001\312" - + "A\036\n\006Backup\022\024CreateBackupMetadata\332A\027paren" - + "t,backup_id,backup\202\323\344\223\002@\"6/v2/{parent=pr" - + "ojects/*/instances/*/clusters/*}/backups" - + ":\006backup\022\240\001\n\tGetBackup\022*.google.bigtable" - + ".admin.v2.GetBackupRequest\032 .google.bigt" - + "able.admin.v2.Backup\"E\332A\004name\202\323\344\223\0028\0226/v2" - + "/{name=projects/*/instances/*/clusters/*" - + "/backups/*}\022\303\001\n\014UpdateBackup\022-.google.bi" - + "gtable.admin.v2.UpdateBackupRequest\032 .go" - + "ogle.bigtable.admin.v2.Backup\"b\332A\022backup" - + ",update_mask\202\323\344\223\002G2=/v2/{backup.name=pro" - + "jects/*/instances/*/clusters/*/backups/*" - + "}:\006backup\022\234\001\n\014DeleteBackup\022-.google.bigt" - + "able.admin.v2.DeleteBackupRequest\032\026.goog" - + "le.protobuf.Empty\"E\332A\004name\202\323\344\223\0028*6/v2/{n" - + "ame=projects/*/instances/*/clusters/*/ba" - + "ckups/*}\022\263\001\n\013ListBackups\022,.google.bigtab" - + "le.admin.v2.ListBackupsRequest\032-.google." - + "bigtable.admin.v2.ListBackupsResponse\"G\332" - + "A\006parent\202\323\344\223\0028\0226/v2/{parent=projects/*/i" - + "nstances/*/clusters/*}/backups\022\273\001\n\014Resto" - + "reTable\022-.google.bigtable.admin.v2.Resto" - + "reTableRequest\032\035.google.longrunning.Oper" - + "ation\"]\312A\035\n\005Table\022\024RestoreTableMetadata\202" - + "\323\344\223\0027\"2/v2/{parent=projects/*/instances/" - + "*}/tables:restore:\001*\022\355\001\n\nCopyBackup\022+.go" - + "ogle.bigtable.admin.v2.CopyBackupRequest" - + "\032\035.google.longrunning.Operation\"\222\001\312A\034\n\006B" - + "ackup\022\022CopyBackupMetadata\332A*parent,backu" - + "p_id,source_backup,expire_time\202\323\344\223\002@\";/v" - + "2/{parent=projects/*/instances/*/cluster" - + "s/*}/backups:copy:\001*\022\354\001\n\014GetIamPolicy\022\"." - + "google.iam.v1.GetIamPolicyRequest\032\025.goog" - + "le.iam.v1.Policy\"\240\001\332A\010resource\202\323\344\223\002\216\001\";/" - + "v2/{resource=projects/*/instances/*/tabl" - + "es/*}:getIamPolicy:\001*ZL\"G/v2/{resource=p" - + "rojects/*/instances/*/clusters/*/backups" - + "/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPolicy\022\".g" - + "oogle.iam.v1.SetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"\247\001\332A\017resource,policy\202\323\344\223" - + "\002\216\001\";/v2/{resource=projects/*/instances/" - + "*/tables/*}:setIamPolicy:\001*ZL\"G/v2/{reso" - + "urce=projects/*/instances/*/clusters/*/b" - + "ackups/*}:setIamPolicy:\001*\022\244\002\n\022TestIamPer" - + "missions\022(.google.iam.v1.TestIamPermissi" - + "onsRequest\032).google.iam.v1.TestIamPermis" - + "sionsResponse\"\270\001\332A\024resource,permissions\202" - + "\323\344\223\002\232\001\"A/v2/{resource=projects/*/instanc" - + "es/*/tables/*}:testIamPermissions:\001*ZR\"M" - + "/v2/{resource=projects/*/instances/*/clu" - + "sters/*/backups/*}:testIamPermissions:\001*" - + "\032\336\002\312A\034bigtableadmin.googleapis.com\322A\273\002ht" - + "tps://www.googleapis.com/auth/bigtable.a" - + "dmin,https://www.googleapis.com/auth/big" - + "table.admin.table,https://www.googleapis" - + ".com/auth/cloud-bigtable.admin,https://w" - + "ww.googleapis.com/auth/cloud-bigtable.ad" - + "min.table,https://www.googleapis.com/aut" - + "h/cloud-platform,https://www.googleapis." - + "com/auth/cloud-platform.read-onlyB\337\001\n\034co" - + "m.google.bigtable.admin.v2B\027BigtableTabl" - + "eAdminProtoP\001Z=google.golang.org/genprot" - + "o/googleapis/bigtable/admin/v2;admin\252\002\036G" - + "oogle.Cloud.Bigtable.Admin.V2\312\002\036Google\\C" - + "loud\\Bigtable\\Admin\\V2\352\002\"Google::Cloud::" - + "Bigtable::Admin::V2b\006proto3" - }; - 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.admin.v2.CommonProto.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.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor, - new java.lang.String[] { - "Parent", "TableId", "Backup", "Source", - }); - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor, - new java.lang.String[] { - "Name", - "SourceType", - "BackupInfo", - "OptimizeTableOperationName", - "Progress", - "SourceInfo", - }); - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor, - new java.lang.String[] { - "Name", "Progress", - }); - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor, - new java.lang.String[] { - "Parent", "TableId", "Table", "InitialSplits", - }); - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor = - internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor, - new java.lang.String[] { - "Key", - }); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor, - new java.lang.String[] { - "Parent", "TableId", "SourceSnapshot", - }); - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor, - new java.lang.String[] { - "Name", "RowKeyPrefix", "DeleteAllDataFromTable", "Target", - }); - internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor, - new java.lang.String[] { - "Parent", "View", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor, - new java.lang.String[] { - "Tables", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor, - new java.lang.String[] { - "Table", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor, - new java.lang.String[] { - "Name", "StartTime", "EndTime", - }); - internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor, - new java.lang.String[] { - "Name", "StartTime", "EndTime", - }); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor, - new java.lang.String[] { - "Name", "Modifications", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor = - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor, - new java.lang.String[] { - "Id", "Create", "Update", "Drop", "Mod", - }); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor, - new java.lang.String[] { - "ConsistencyToken", - }); - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor, - new java.lang.String[] { - "Name", "ConsistencyToken", - }); - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor, - new java.lang.String[] { - "Consistent", - }); - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor, - new java.lang.String[] { - "Name", "Cluster", "SnapshotId", "Ttl", "Description", - }); - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor, - new java.lang.String[] { - "Snapshots", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "Backup", - }); - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "SourceTable", "StartTime", "EndTime", - }); - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor, - new java.lang.String[] { - "Backup", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "OrderBy", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor, - new java.lang.String[] { - "Backups", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_bigtable_admin_v2_CopyBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "SourceBackup", "ExpireTime", - }); - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor, - new java.lang.String[] { - "Name", "SourceBackupInfo", "Progress", - }); - 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.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.admin.v2.CommonProto.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.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 79fdd57b6b..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface CheckConsistencyResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * True only if the token is consistent. A token is consistent if replication
-   * has caught up with the restrictions specified in the request.
-   * 
- * - * 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/CommonProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java deleted file mode 100644 index ff38163999..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/common.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/bigtable/admin/v2/common.proto\022" - + "\030google.bigtable.admin.v2\032\037google/protob" - + "uf/timestamp.proto\"\213\001\n\021OperationProgress" - + "\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" - + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "*=\n\013StorageType\022\034\n\030STORAGE_TYPE_UNSPECIF" - + "IED\020\000\022\007\n\003SSD\020\001\022\007\n\003HDD\020\002B\323\001\n\034com.google.b" - + "igtable.admin.v2B\013CommonProtoP\001Z=google." - + "golang.org/genproto/googleapis/bigtable/" - + "admin/v2;admin\252\002\036Google.Cloud.Bigtable.A" - + "dmin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2" - + "\352\002\"Google::Cloud::Bigtable::Admin::V2b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor, - new java.lang.String[] { - "ProgressPercent", "StartTime", "EndTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java deleted file mode 100644 index 7900704a34..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface DeleteBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java deleted file mode 100644 index 75f4cc83ac..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface DeleteClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the cluster to be deleted. Values are of the
-   * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the cluster to be deleted. Values are of the
-   * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index ddf2047d3e..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the instance to be deleted.
-   * Values are of the form `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the instance to be deleted.
-   * Values are of the form `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java deleted file mode 100644 index b5692daf2a..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface DeleteSnapshotRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteSnapshotRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the snapshot to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the snapshot to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/DeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java deleted file mode 100644 index c7ce57e98a..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface DeleteTableRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteTableRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the table to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the table to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GenerateConsistencyTokenRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java deleted file mode 100644 index 457434d0ae..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GenerateConsistencyTokenRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the Table for which to create a consistency
-   * token. Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the Table for which to create a consistency
-   * token. Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GenerateConsistencyTokenResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java deleted file mode 100644 index 9b6a6bdb3b..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GenerateConsistencyTokenResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The generated consistency token.
-   * 
- * - * string consistency_token = 1; - * - * @return The consistencyToken. - */ - java.lang.String getConsistencyToken(); - /** - * - * - *
-   * The generated consistency token.
-   * 
- * - * 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/GetAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java deleted file mode 100644 index 60295c1e77..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GetAppProfileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetAppProfileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested app profile. Values are of the
-   * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested app profile. Values are of the
-   * form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GetBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java deleted file mode 100644 index 13afce209d..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GetClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java deleted file mode 100644 index d98d3258b7..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GetClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested cluster. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested cluster. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GetInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java deleted file mode 100644 index 8a6b84c73e..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GetInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested instance. Values are of the form
-   * `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested instance. Values are of the form
-   * `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java deleted file mode 100644 index 26fc65b858..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface GetSnapshotRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetSnapshotRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested snapshot.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested snapshot.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/InstanceProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java deleted file mode 100644 index c6e08673fa..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java +++ /dev/null @@ -1,331 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/instance.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public final class InstanceProto { - private InstanceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_HotTablet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/bigtable/admin/v2/instance.prot" - + "o\022\030google.bigtable.admin.v2\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032%google/bigtable/admin/v2/common" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" - + "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" - + "gtable.admin.v2.Instance.State\0225\n\004type\030\004" - + " \001(\0162\'.google.bigtable.admin.v2.Instance" - + ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." - + "admin.v2.Instance.LabelsEntry\0224\n\013create_" - + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005REA" - + "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" - + "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" - + "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" - + "tance\022\'projects/{project}/instances/{ins" - + "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" - + "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" - + "(\n storage_utilization_gib_per_node\030\003 \001(" - + "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" - + "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" - + "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" - + "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" - + "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" - + "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" - + "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" - + "ogle.bigtable.admin.v2.Cluster.ClusterCo" - + "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" - + "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" - + "\022R\n\021encryption_config\030\006 \001(\01322.google.big" - + "table.admin.v2.Cluster.EncryptionConfigB" - + "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" - + "oscaling_limits\030\001 \001(\0132+.google.bigtable." - + "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" - + "caling_targets\030\002 \001(\0132,.google.bigtable.a" - + "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" - + "erConfig\022^\n\032cluster_autoscaling_config\030\001" - + " \001(\0132:.google.bigtable.admin.v2.Cluster." - + "ClusterAutoscalingConfig\032P\n\020EncryptionCo" - + "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" - + "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" - + "TATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020" - + "\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004:e\352Ab\n$bigt" - + "ableadmin.googleapis.com/Cluster\022:projec" - + "ts/{project}/instances/{instance}/cluste" - + "rs/{cluster}B\010\n\006config\"\350\006\n\nAppProfile\022\014\n" - + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" - + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" - + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" - + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" - + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" - + "e.admin.v2.AppProfile.SingleClusterRouti" - + "ngH\000\022E\n\010priority\030\007 \001(\0162-.google.bigtable" - + ".admin.v2.AppProfile.PriorityB\002\030\001H\001\022T\n\022s" - + "tandard_isolation\030\013 \001(\01326.google.bigtabl" - + "e.admin.v2.AppProfile.StandardIsolationH" - + "\001\0320\n\031MultiClusterRoutingUseAny\022\023\n\013cluste" - + "r_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022\n\nc" - + "luster_id\030\001 \001(\t\022\"\n\032allow_transactional_w" - + "rites\030\002 \001(\010\032T\n\021StandardIsolation\022?\n\010prio" - + "rity\030\001 \001(\0162-.google.bigtable.admin.v2.Ap" - + "pProfile.Priority\"^\n\010Priority\022\030\n\024PRIORIT" - + "Y_UNSPECIFIED\020\000\022\020\n\014PRIORITY_LOW\020\001\022\023\n\017PRI" - + "ORITY_MEDIUM\020\002\022\021\n\rPRIORITY_HIGH\020\003:o\352Al\n\'" - + "bigtableadmin.googleapis.com/AppProfile\022" - + "Aprojects/{project}/instances/{instance}" - + "/appProfiles/{app_profile}B\020\n\016routing_po" - + "licyB\013\n\tisolation\"\210\003\n\tHotTablet\022\014\n\004name\030" - + "\001 \001(\t\022;\n\ntable_name\030\002 \001(\tB\'\372A$\n\"bigtable" - + "admin.googleapis.com/Table\0223\n\nstart_time" - + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "1\n\010end_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022\021\n\tstart_key\030\005 \001(\t\022\017\n\007end_key" - + "\030\006 \001(\t\022#\n\026node_cpu_usage_percent\030\007 \001(\002B\003" - + "\340A\003:\177\352A|\n&bigtableadmin.googleapis.com/H" - + "otTablet\022Rprojects/{project}/instances/{" - + "instance}/clusters/{cluster}/hotTablets/" - + "{hot_tablet}B\320\002\n\034com.google.bigtable.adm" - + "in.v2B\rInstanceProtoP\001Z=google.golang.or" - + "g/genproto/googleapis/bigtable/admin/v2;" - + "admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002" - + "\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google" - + "::Cloud::Bigtable::Admin::V2\352Ax\n!cloudkm" - + "s.googleapis.com/CryptoKey\022Sprojects/{pr" - + "oject}/locations/{location}/keyRings/{ke" - + "y_ring}/cryptoKeys/{crypto_key}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_Instance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "State", "Type", "Labels", "CreateTime", "SatisfiesPzs", - }); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = - internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, - new java.lang.String[] { - "CpuUtilizationPercent", "StorageUtilizationGibPerNode", - }); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, - new java.lang.String[] { - "MinServeNodes", "MaxServeNodes", - }); - internal_static_google_bigtable_admin_v2_Cluster_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_descriptor, - new java.lang.String[] { - "Name", - "Location", - "State", - "ServeNodes", - "ClusterConfig", - "DefaultStorageType", - "EncryptionConfig", - "Config", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, - new java.lang.String[] { - "AutoscalingLimits", "AutoscalingTargets", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, - new java.lang.String[] { - "ClusterAutoscalingConfig", - }); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_bigtable_admin_v2_AppProfile_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_descriptor, - new java.lang.String[] { - "Name", - "Etag", - "Description", - "MultiClusterRoutingUseAny", - "SingleClusterRouting", - "Priority", - "StandardIsolation", - "RoutingPolicy", - "Isolation", - }); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, - new java.lang.String[] { - "ClusterIds", - }); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, - new java.lang.String[] { - "ClusterId", "AllowTransactionalWrites", - }); - internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_StandardIsolation_descriptor, - new java.lang.String[] { - "Priority", - }); - internal_static_google_bigtable_admin_v2_HotTablet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_HotTablet_descriptor, - new java.lang.String[] { - "Name", - "TableName", - "StartTime", - "EndTime", - "StartKey", - "EndKey", - "NodeCpuUsagePercent", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - 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.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 63eaca2a18..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ /dev/null @@ -1,360 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/table.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public final class TableProto { - private TableProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Snapshot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/bigtable/admin/v2/table.proto\022\030" - + "google.bigtable.admin.v2\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032\036google/protobuf/duration.proto\032\037go" - + "ogle/protobuf/timestamp.proto\032\027google/rp" - + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" - + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" - + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." - + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" - + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" - + "tention_period\030\001 \001(\0132\031.google.protobuf.D" - + "uration\"\332\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016clust" - + "er_states\030\002 \003(\01322.google.bigtable.admin." - + "v2.Table.ClusterStatesEntryB\003\340A\003\022L\n\017colu" - + "mn_families\030\003 \003(\01323.google.bigtable.admi" - + "n.v2.Table.ColumnFamiliesEntry\022N\n\013granul" - + "arity\030\004 \001(\01624.google.bigtable.admin.v2.T" - + "able.TimestampGranularityB\003\340A\005\022@\n\014restor" - + "e_info\030\006 \001(\0132%.google.bigtable.admin.v2." - + "RestoreInfoB\003\340A\003\022J\n\024change_stream_config" - + "\030\010 \001(\0132,.google.bigtable.admin.v2.Change" - + "StreamConfig\022\033\n\023deletion_protection\030\t \001(" - + "\010\032\306\002\n\014ClusterState\022]\n\021replication_state\030" - + "\001 \001(\0162=.google.bigtable.admin.v2.Table.C" - + "lusterState.ReplicationStateB\003\340A\003\022F\n\017enc" - + "ryption_info\030\002 \003(\0132(.google.bigtable.adm" - + "in.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020Replicatio" - + "nState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INITIALIZ" - + "ING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025UNPLAN" - + "NED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020READY_OP" - + "TIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n\003key\030" - + "\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigtable.a" - + "dmin.v2.Table.ClusterState:\0028\001\032]\n\023Column" - + "FamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(" - + "\0132&.google.bigtable.admin.v2.ColumnFamil" - + "y:\0028\001\"I\n\024TimestampGranularity\022%\n!TIMESTA" - + "MP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MILLIS\020\001" - + "\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tNAME_O" - + "NLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATION_VI" - + "EW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004:_\352A\\" - + "\n\"bigtableadmin.googleapis.com/Table\0226pr" - + "ojects/{project}/instances/{instance}/ta" - + "bles/{table}\"A\n\014ColumnFamily\0221\n\007gc_rule\030" - + "\001 \001(\0132 .google.bigtable.admin.v2.GcRule\"" - + "\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(\005H\000\022," - + "\n\007max_age\030\002 \001(\0132\031.google.protobuf.Durati" - + "onH\000\022E\n\014intersection\030\003 \001(\0132-.google.bigt" - + "able.admin.v2.GcRule.IntersectionH\000\0227\n\005u" - + "nion\030\004 \001(\0132&.google.bigtable.admin.v2.Gc" - + "Rule.UnionH\000\032?\n\014Intersection\022/\n\005rules\030\001 " - + "\003(\0132 .google.bigtable.admin.v2.GcRule\0328\n" - + "\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigtable." - + "admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016EncryptionIn" - + "fo\022U\n\017encryption_type\030\003 \001(\01627.google.big" - + "table.admin.v2.EncryptionInfo.Encryption" - + "TypeB\003\340A\003\0222\n\021encryption_status\030\004 \001(\0132\022.g" - + "oogle.rpc.StatusB\003\340A\003\022I\n\017kms_key_version" - + "\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/" - + "CryptoKeyVersion\"q\n\016EncryptionType\022\037\n\033EN" - + "CRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" - + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" - + "NCRYPTION\020\002\"\340\003\n\010Snapshot\022\014\n\004name\030\001 \001(\t\022:" - + "\n\014source_table\030\002 \001(\0132\037.google.bigtable.a" - + "dmin.v2.TableB\003\340A\003\022\034\n\017data_size_bytes\030\003 " - + "\001(\003B\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022/\n\013delete_time\030\005 " - + "\001(\0132\032.google.protobuf.Timestamp\022<\n\005state" - + "\030\006 \001(\0162(.google.bigtable.admin.v2.Snapsh" - + "ot.StateB\003\340A\003\022\023\n\013description\030\007 \001(\t\"5\n\005St" - + "ate\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010C" - + "REATING\020\002:{\352Ax\n%bigtableadmin.googleapis" - + ".com/Snapshot\022Oprojects/{project}/instan" - + "ces/{instance}/clusters/{cluster}/snapsh" - + "ots/{snapshot}\"\273\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022" - + "\034\n\014source_table\030\002 \001(\tB\006\340A\005\340A\002\022\032\n\rsource_" - + "backup\030\n \001(\tB\003\340A\003\0224\n\013expire_time\030\003 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\002\0223\n\nstart" - + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A\003" - + "\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin." - + "v2.Backup.StateB\003\340A\003\022F\n\017encryption_info\030" - + "\t \001(\0132(.google.bigtable.admin.v2.Encrypt" - + "ionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIFI" - + "ED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#bigt" - + "ableadmin.googleapis.com/Backup\022Kproject" - + "s/{project}/instances/{instance}/cluster" - + "s/{cluster}/backups/{backup}\"\300\001\n\nBackupI" - + "nfo\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030\002" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" - + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003\022\032\n\rs" - + "ource_backup\030\n \001(\tB\003\340A\003*D\n\021RestoreSource" - + "Type\022#\n\037RESTORE_SOURCE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.google.bigtable.ad" - + "min.v2B\nTableProtoP\001Z=google.golang.org/" - + "genproto/googleapis/bigtable/admin/v2;ad" - + "min\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036G" - + "oogle\\Cloud\\Bigtable\\Admin\\V2\352\002\"Google::" - + "Cloud::Bigtable::Admin::V2\352A\246\001\n(cloudkms" - + ".googleapis.com/CryptoKeyVersion\022zprojec" - + "ts/{project}/locations/{location}/keyRin" - + "gs/{key_ring}/cryptoKeys/{crypto_key}/cr" - + "yptoKeyVersions/{crypto_key_version}b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, - new java.lang.String[] { - "SourceType", "BackupInfo", "SourceInfo", - }); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_bigtable_admin_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_descriptor, - new java.lang.String[] { - "Name", - "ClusterStates", - "ColumnFamilies", - "Granularity", - "RestoreInfo", - "ChangeStreamConfig", - "DeletionProtection", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, - new java.lang.String[] { - "ReplicationState", "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, - new java.lang.String[] { - "GcRule", - }); - internal_static_google_bigtable_admin_v2_GcRule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_descriptor, - new java.lang.String[] { - "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", - }); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "EncryptionStatus", "KmsKeyVersion", - }); - internal_static_google_bigtable_admin_v2_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Snapshot_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "DataSizeBytes", - "CreateTime", - "DeleteTime", - "State", - "Description", - }); - internal_static_google_bigtable_admin_v2_Backup_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Backup_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "SourceBackup", - "ExpireTime", - "StartTime", - "EndTime", - "SizeBytes", - "State", - "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, - new java.lang.String[] { - "Backup", "StartTime", "EndTime", "SourceTable", "SourceBackup", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - 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.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java deleted file mode 100644 index 96d3e2208d..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_table_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface UndeleteTableRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the table to be restored.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the table to be restored.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @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/UpdateAppProfileMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java deleted file mode 100644 index a6d8f47277..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/admin/v2/bigtable_instance_admin.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.admin.v2; - -public interface UpdateAppProfileMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileMetadata) - com.google.protobuf.MessageOrBuilder {} 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 deleted file mode 100644 index 6c7c5151c0..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,660 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public final class BigtableProto { - private BigtableProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RateLimitInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n!google/bigtable/v2/bigtable.proto\022\022goo" - + "gle.bigtable.v2\032\034google/api/annotations." - + "proto\032\027google/api/client.proto\032\037google/a" - + "pi/field_behavior.proto\032\031google/api/reso" - + "urce.proto\032\030google/api/routing.proto\032\035go" - + "ogle/bigtable/v2/data.proto\032&google/bigt" - + "able/v2/request_stats.proto\032\036google/prot" - + "obuf/duration.proto\032\037google/protobuf/tim" - + "estamp.proto\032\036google/protobuf/wrappers.p" - + "roto\032\027google/rpc/status.proto\"\242\003\n\017ReadRo" - + "wsRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"b" - + "igtableadmin.googleapis.com/Table\022\026\n\016app" - + "_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.google" - + ".bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.go" - + "ogle.bigtable.v2.RowFilter\022\022\n\nrows_limit" - + "\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.goo" - + "gle.bigtable.v2.ReadRowsRequest.RequestS" - + "tatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSta" - + "tsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED" - + "\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_ST" - + "ATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunk" - + "s\030\001 \003(\0132..google.bigtable.v2.ReadRowsRes" - + "ponse.CellChunk\022\034\n\024last_scanned_row_key\030" - + "\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bi" - + "gtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n\007" - + "row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.goo" - + "gle.protobuf.StringValue\022.\n\tqualifier\030\003 " - + "\001(\0132\033.google.protobuf.BytesValue\022\030\n\020time" - + "stamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005va" - + "lue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_r" - + "ow\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow_" - + "status\"n\n\024SampleRowKeysRequest\022>\n\ntable_" - + "name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.google" - + "apis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">" - + "\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014" - + "\022\024\n\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequ" - + "est\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" - + "eadmin.googleapis.com/Table\022\026\n\016app_profi" - + "le_id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmut" - + "ations\030\003 \003(\0132\034.google.bigtable.v2.Mutati" - + "onB\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateR" - + "owsRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"" - + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" - + "p_profile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.go" - + "ogle.bigtable.v2.MutateRowsRequest.Entry" - + "B\003\340A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutat" - + "ions\030\002 \003(\0132\034.google.bigtable.v2.Mutation" - + "B\003\340A\002\"\344\001\n\022MutateRowsResponse\022=\n\007entries\030" - + "\001 \003(\0132,.google.bigtable.v2.MutateRowsRes" - + "ponse.Entry\022?\n\017rate_limit_info\030\003 \001(\0132!.g" - + "oogle.bigtable.v2.RateLimitInfoH\000\210\001\001\032:\n\005" - + "Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132\022.g" - + "oogle.rpc.StatusB\022\n\020_rate_limit_info\"J\n\r" - + "RateLimitInfo\022)\n\006period\030\001 \001(\0132\031.google.p" - + "rotobuf.Duration\022\016\n\006factor\030\002 \001(\001\"\256\002\n\030Che" - + "ckAndMutateRowRequest\022>\n\ntable_name\030\001 \001(" - + "\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com/" - + "Table\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key" - + "\030\002 \001(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035." - + "google.bigtable.v2.RowFilter\0224\n\016true_mut" - + "ations\030\004 \003(\0132\034.google.bigtable.v2.Mutati" - + "on\0225\n\017false_mutations\030\005 \003(\0132\034.google.big" - + "table.v2.Mutation\"6\n\031CheckAndMutateRowRe" - + "sponse\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022Pin" - + "gAndWarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%b" - + "igtableadmin.googleapis.com/Instance\022\026\n\016" - + "app_profile_id\030\002 \001(\t\"\025\n\023PingAndWarmRespo" - + "nse\"\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntab" - + "le_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.goo" - + "gleapis.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.ReadModifyWriteRuleB" - + "\003\340A\002\"B\n\032ReadModifyWriteRowResponse\022$\n\003ro" - + "w\030\001 \001(\0132\027.google.bigtable.v2.Row\"\206\001\n,Gen" - + "erateInitialChangeStreamPartitionsReques" - + "t\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablea" - + "dmin.googleapis.com/Table\022\026\n\016app_profile" - + "_id\030\002 \001(\t\"g\n-GenerateInitialChangeStream" - + "PartitionsResponse\0226\n\tpartition\030\001 \001(\0132#." - + "google.bigtable.v2.StreamPartition\"\233\003\n\027R" - + "eadChangeStreamRequest\022>\n\ntable_name\030\001 \001" - + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" - + "/Table\022\026\n\016app_profile_id\030\002 \001(\t\0226\n\tpartit" - + "ion\030\003 \001(\0132#.google.bigtable.v2.StreamPar" - + "tition\0220\n\nstart_time\030\004 \001(\0132\032.google.prot" - + "obuf.TimestampH\000\022K\n\023continuation_tokens\030" - + "\006 \001(\0132,.google.bigtable.v2.StreamContinu" - + "ationTokensH\000\022,\n\010end_time\030\005 \001(\0132\032.google" - + ".protobuf.Timestamp\0225\n\022heartbeat_duratio" - + "n\030\007 \001(\0132\031.google.protobuf.DurationB\014\n\nst" - + "art_from\"\251\n\n\030ReadChangeStreamResponse\022N\n" - + "\013data_change\030\001 \001(\01327.google.bigtable.v2." - + "ReadChangeStreamResponse.DataChangeH\000\022K\n" - + "\theartbeat\030\002 \001(\01326.google.bigtable.v2.Re" - + "adChangeStreamResponse.HeartbeatH\000\022P\n\014cl" - + "ose_stream\030\003 \001(\01328.google.bigtable.v2.Re" - + "adChangeStreamResponse.CloseStreamH\000\032\364\001\n" - + "\rMutationChunk\022X\n\nchunk_info\030\001 \001(\0132D.goo" - + "gle.bigtable.v2.ReadChangeStreamResponse" - + ".MutationChunk.ChunkInfo\022.\n\010mutation\030\002 \001" - + "(\0132\034.google.bigtable.v2.Mutation\032Y\n\tChun" - + "kInfo\022\032\n\022chunked_value_size\030\001 \001(\005\022\034\n\024chu" - + "nked_value_offset\030\002 \001(\005\022\022\n\nlast_chunk\030\003 " - + "\001(\010\032\306\003\n\nDataChange\022J\n\004type\030\001 \001(\0162<.googl" - + "e.bigtable.v2.ReadChangeStreamResponse.D" - + "ataChange.Type\022\031\n\021source_cluster_id\030\002 \001(" - + "\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020commit_timestamp\030\004" - + " \001(\0132\032.google.protobuf.Timestamp\022\022\n\ntieb" - + "reaker\030\005 \001(\005\022J\n\006chunks\030\006 \003(\0132:.google.bi" - + "gtable.v2.ReadChangeStreamResponse.Mutat" - + "ionChunk\022\014\n\004done\030\010 \001(\010\022\r\n\005token\030\t \001(\t\022;\n" - + "\027estimated_low_watermark\030\n \001(\0132\032.google." - + "protobuf.Timestamp\"P\n\004Type\022\024\n\020TYPE_UNSPE" - + "CIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GARBAGE_COLLECTION" - + "\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n\tHeartbeat\022G\n\022co" - + "ntinuation_token\030\001 \001(\0132+.google.bigtable" - + ".v2.StreamContinuationToken\022;\n\027estimated" - + "_low_watermark\030\002 \001(\0132\032.google.protobuf.T" - + "imestamp\032\270\001\n\013CloseStream\022\"\n\006status\030\001 \001(\013" - + "2\022.google.rpc.Status\022H\n\023continuation_tok" - + "ens\030\002 \003(\0132+.google.bigtable.v2.StreamCon" - + "tinuationToken\022;\n\016new_partitions\030\003 \003(\0132#" - + ".google.bigtable.v2.StreamPartitionB\017\n\rs" - + "tream_record2\327\030\n\010Bigtable\022\233\002\n\010ReadRows\022#" - + ".google.bigtable.v2.ReadRowsRequest\032$.go" - + "ogle.bigtable.v2.ReadRowsResponse\"\301\001\332A\nt" - + "able_name\332A\031table_name,app_profile_id\202\323\344" - + "\223\002>\"9/v2/{table_name=projects/*/instance" - + "s/*/tables/*}:readRows:\001*\212\323\344\223\002N\022:\n\ntable" - + "_name\022,{table_name=projects/*/instances/" - + "*/tables/*}\022\020\n\016app_profile_id0\001\022\254\002\n\rSamp" - + "leRowKeys\022(.google.bigtable.v2.SampleRow" - + "KeysRequest\032).google.bigtable.v2.SampleR" - + "owKeysResponse\"\303\001\332A\ntable_name\332A\031table_n" - + "ame,app_profile_id\202\323\344\223\002@\022>/v2/{table_nam" - + "e=projects/*/instances/*/tables/*}:sampl" - + "eRowKeys\212\323\344\223\002N\022:\n\ntable_name\022,{table_nam" - + "e=projects/*/instances/*/tables/*}\022\020\n\016ap" - + "p_profile_id0\001\022\301\002\n\tMutateRow\022$.google.bi" - + "gtable.v2.MutateRowRequest\032%.google.bigt" - + "able.v2.MutateRowResponse\"\346\001\332A\034table_nam" - + "e,row_key,mutations\332A+table_name,row_key" - + ",mutations,app_profile_id\202\323\344\223\002?\":/v2/{ta" - + "ble_name=projects/*/instances/*/tables/*" - + "}:mutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{tab" - + "le_name=projects/*/instances/*/tables/*}" - + "\022\020\n\016app_profile_id\022\263\002\n\nMutateRows\022%.goog" - + "le.bigtable.v2.MutateRowsRequest\032&.googl" - + "e.bigtable.v2.MutateRowsResponse\"\323\001\332A\022ta" - + "ble_name,entries\332A!table_name,entries,ap" - + "p_profile_id\202\323\344\223\002@\";/v2/{table_name=proj" - + "ects/*/instances/*/tables/*}:mutateRows:" - + "\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proj" - + "ects/*/instances/*/tables/*}\022\020\n\016app_prof" - + "ile_id0\001\022\255\003\n\021CheckAndMutateRow\022,.google." - + "bigtable.v2.CheckAndMutateRowRequest\032-.g" - + "oogle.bigtable.v2.CheckAndMutateRowRespo" - + "nse\"\272\002\332ABtable_name,row_key,predicate_fi" - + "lter,true_mutations,false_mutations\332AQta" - + "ble_name,row_key,predicate_filter,true_m" - + "utations,false_mutations,app_profile_id\202" - + "\323\344\223\002G\"B/v2/{table_name=projects/*/instan" - + "ces/*/tables/*}:checkAndMutateRow:\001*\212\323\344\223" - + "\002N\022:\n\ntable_name\022,{table_name=projects/*" - + "/instances/*/tables/*}\022\020\n\016app_profile_id" - + "\022\356\001\n\013PingAndWarm\022&.google.bigtable.v2.Pi" - + "ngAndWarmRequest\032\'.google.bigtable.v2.Pi" - + "ngAndWarmResponse\"\215\001\332A\004name\332A\023name,app_p" - + "rofile_id\202\323\344\223\002+\"&/v2/{name=projects/*/in" - + "stances/*}:ping:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=" - + "projects/*/instances/*}\022\020\n\016app_profile_i" - + "d\022\335\002\n\022ReadModifyWriteRow\022-.google.bigtab" - + "le.v2.ReadModifyWriteRowRequest\032..google" - + ".bigtable.v2.ReadModifyWriteRowResponse\"" - + "\347\001\332A\030table_name,row_key,rules\332A\'table_na" - + "me,row_key,rules,app_profile_id\202\323\344\223\002H\"C/" - + "v2/{table_name=projects/*/instances/*/ta" - + "bles/*}:readModifyWriteRow:\001*\212\323\344\223\002N\022:\n\nt" - + "able_name\022,{table_name=projects/*/instan" - + "ces/*/tables/*}\022\020\n\016app_profile_id\022\273\002\n%Ge" - + "nerateInitialChangeStreamPartitions\022@.go" - + "ogle.bigtable.v2.GenerateInitialChangeSt" - + "reamPartitionsRequest\032A.google.bigtable." - + "v2.GenerateInitialChangeStreamPartitions" - + "Response\"\212\001\332A\ntable_name\332A\031table_name,ap" - + "p_profile_id\202\323\344\223\002[\"V/v2/{table_name=proj" - + "ects/*/instances/*/tables/*}:generateIni" - + "tialChangeStreamPartitions:\001*0\001\022\346\001\n\020Read" - + "ChangeStream\022+.google.bigtable.v2.ReadCh" - + "angeStreamRequest\032,.google.bigtable.v2.R" - + "eadChangeStreamResponse\"u\332A\ntable_name\332A" - + "\031table_name,app_profile_id\202\323\344\223\002F\"A/v2/{t" - + "able_name=projects/*/instances/*/tables/" - + "*}:readChangeStream:\001*0\001\032\333\002\312A\027bigtable.g" - + "oogleapis.com\322A\275\002https://www.googleapis." - + "com/auth/bigtable.data,https://www.googl" - + "eapis.com/auth/bigtable.data.readonly,ht" - + "tps://www.googleapis.com/auth/cloud-bigt" - + "able.data,https://www.googleapis.com/aut" - + "h/cloud-bigtable.data.readonly,https://w" - + "ww.googleapis.com/auth/cloud-platform,ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "form.read-onlyB\353\002\n\026com.google.bigtable.v" - + "2B\rBigtableProtoP\001Z:google.golang.org/ge" - + "nproto/googleapis/bigtable/v2;bigtable\252\002" - + "\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud" - + "\\Bigtable\\V2\352\002\033Google::Cloud::Bigtable::" - + "V2\352AP\n%bigtableadmin.googleapis.com/Inst" - + "ance\022\'projects/{project}/instances/{inst" - + "ance}\352A\\\n\"bigtableadmin.googleapis.com/T" - + "able\0226projects/{project}/instances/{inst" - + "ance}/tables/{table}b\006proto3" - }; - 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.api.RoutingProto.getDescriptor(), - com.google.bigtable.v2.DataProto.getDescriptor(), - com.google.bigtable.v2.RequestStatsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.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 = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "Rows", - "Filter", - "RowsLimit", - "RequestStatsView", - "Reversed", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, - new java.lang.String[] { - "Chunks", "LastScannedRowKey", "RequestStats", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, - new java.lang.String[] { - "RowKey", - "FamilyName", - "Qualifier", - "TimestampMicros", - "Labels", - "Value", - "ValueSize", - "ResetRow", - "CommitRow", - "RowStatus", - }); - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, - new java.lang.String[] { - "RowKey", "OffsetBytes", - }); - internal_static_google_bigtable_v2_MutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "Entries", - }); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, - new java.lang.String[] { - "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, - new java.lang.String[] { - "Entries", "RateLimitInfo", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, - new java.lang.String[] { - "Index", "Status", - }); - internal_static_google_bigtable_v2_RateLimitInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RateLimitInfo_descriptor, - new java.lang.String[] { - "Period", "Factor", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "RowKey", - "PredicateFilter", - "TrueMutations", - "FalseMutations", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, - new java.lang.String[] { - "PredicateMatched", - }); - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, - new java.lang.String[] { - "Name", "AppProfileId", - }); - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Rules", - }); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, - new java.lang.String[] { - "Row", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, - new java.lang.String[] { - "Partition", - }); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "Partition", - "StartTime", - "ContinuationTokens", - "EndTime", - "HeartbeatDuration", - "StartFrom", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, - new java.lang.String[] { - "DataChange", "Heartbeat", "CloseStream", "StreamRecord", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, - new java.lang.String[] { - "ChunkInfo", "Mutation", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, - new java.lang.String[] { - "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, - new java.lang.String[] { - "Type", - "SourceClusterId", - "RowKey", - "CommitTimestamp", - "Tiebreaker", - "Chunks", - "Done", - "Token", - "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(2); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, - new java.lang.String[] { - "ContinuationToken", "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(3); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, - new java.lang.String[] { - "Status", "ContinuationTokens", "NewPartitions", - }); - 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); - registry.add(com.google.api.RoutingProto.routing); - 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.api.RoutingProto.getDescriptor(); - com.google.bigtable.v2.DataProto.getDescriptor(); - com.google.bigtable.v2.RequestStatsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index b59283a89c..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public interface CheckAndMutateRowResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether or not the request's `predicate_filter` yielded any results for
-   * the specified row.
-   * 
- * - * bool predicate_matched = 1; - * - * @return The predicateMatched. - */ - boolean getPredicateMatched(); -} 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 deleted file mode 100644 index 9e7ce61f63..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,416 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/data.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public final class DataProto { - private DataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Family_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Family_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Column_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Column_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Cell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Cell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ColumnRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ValueRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\035google/bigtable/v2/data.proto\022\022google." - + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" - + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" - + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" - + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" - + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." - + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" - + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" - + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" - + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" - + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" - + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" - + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." - + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" - + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" - + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" - + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" - + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" - + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" - + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" - + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" - + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" - + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" - + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" - + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" - + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" - + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" - + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" - + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" - + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" - + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" - + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" - + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" - + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" - + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" - + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" - + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" - + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" - + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" - + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" - + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" - + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" - + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" - + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" - + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" - + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" - + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" - + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" - + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" - + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" - + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" - + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" - + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" - + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." - + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." - + "google.bigtable.v2.Mutation.DeleteFromCo" - + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" - + "gle.bigtable.v2.Mutation.DeleteFromFamil" - + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" - + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" - + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" - + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" - + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" - + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" - + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" - + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" - + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" - + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" - + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" - + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" - + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" - + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" - + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" - + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" - + "tinuationToken\"`\n\027StreamContinuationToke" - + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" - + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" - + ".google.bigtable.v2B\tDataProtoP\001Z:google" - + ".golang.org/genproto/googleapis/bigtable" - + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" - + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" - + "ud::Bigtable::V2b\006proto3" - }; - 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( - internal_static_google_bigtable_v2_Row_descriptor, - new java.lang.String[] { - "Key", "Families", - }); - internal_static_google_bigtable_v2_Family_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_Family_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Family_descriptor, - new java.lang.String[] { - "Name", "Columns", - }); - internal_static_google_bigtable_v2_Column_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_Column_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Column_descriptor, - new java.lang.String[] { - "Qualifier", "Cells", - }); - internal_static_google_bigtable_v2_Cell_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_Cell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Cell_descriptor, - new java.lang.String[] { - "TimestampMicros", "Value", "Labels", - }); - internal_static_google_bigtable_v2_RowRange_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowRange_descriptor, - new java.lang.String[] { - "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", - }); - internal_static_google_bigtable_v2_RowSet_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowSet_descriptor, - new java.lang.String[] { - "RowKeys", "RowRanges", - }); - internal_static_google_bigtable_v2_ColumnRange_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ColumnRange_descriptor, - new java.lang.String[] { - "FamilyName", - "StartQualifierClosed", - "StartQualifierOpen", - "EndQualifierClosed", - "EndQualifierOpen", - "StartQualifier", - "EndQualifier", - }); - internal_static_google_bigtable_v2_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_TimestampRange_descriptor, - new java.lang.String[] { - "StartTimestampMicros", "EndTimestampMicros", - }); - internal_static_google_bigtable_v2_ValueRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ValueRange_descriptor, - new java.lang.String[] { - "StartValueClosed", - "StartValueOpen", - "EndValueClosed", - "EndValueOpen", - "StartValue", - "EndValue", - }); - internal_static_google_bigtable_v2_RowFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_descriptor, - new java.lang.String[] { - "Chain", - "Interleave", - "Condition", - "Sink", - "PassAllFilter", - "BlockAllFilter", - "RowKeyRegexFilter", - "RowSampleFilter", - "FamilyNameRegexFilter", - "ColumnQualifierRegexFilter", - "ColumnRangeFilter", - "TimestampRangeFilter", - "ValueRegexFilter", - "ValueRangeFilter", - "CellsPerRowOffsetFilter", - "CellsPerRowLimitFilter", - "CellsPerColumnLimitFilter", - "StripValueTransformer", - "ApplyLabelTransformer", - "Filter", - }); - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, - new java.lang.String[] { - "PredicateFilter", "TrueFilter", "FalseFilter", - }); - internal_static_google_bigtable_v2_Mutation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_descriptor, - new java.lang.String[] { - "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", - }); - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimeRange", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, - new java.lang.String[] { - "FamilyName", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", - }); - internal_static_google_bigtable_v2_StreamPartition_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamPartition_descriptor, - new java.lang.String[] { - "RowRange", - }); - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, - new java.lang.String[] { - "Tokens", - }); - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, - new java.lang.String[] { - "Partition", "Token", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java deleted file mode 100644 index 0bd27e36b5..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/feature_flags.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public final class FeatureFlagsProto { - private FeatureFlagsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FeatureFlags_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/feature_flags.proto" - + "\022\022google.bigtable.v2\"\266\001\n\014FeatureFlags\022\025\n" - + "\rreverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate" - + "_limit\030\003 \001(\010\022\037\n\027mutate_rows_rate_limit2\030" - + "\005 \001(\010\022\"\n\032last_scanned_row_responses\030\004 \001(" - + "\010\022\026\n\016routing_cookie\030\006 \001(\010\022\022\n\nretry_info\030" - + "\007 \001(\010B\275\001\n\026com.google.bigtable.v2B\021Featur" - + "eFlagsProtoP\001Z:google.golang.org/genprot" - + "o/googleapis/bigtable/v2;bigtable\252\002\030Goog" - + "le.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\Bigt" - + "able\\V2\352\002\033Google::Cloud::Bigtable::V2b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_FeatureFlags_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FeatureFlags_descriptor, - new java.lang.String[] { - "ReverseScans", - "MutateRowsRateLimit", - "MutateRowsRateLimit2", - "LastScannedRowResponses", - "RoutingCookie", - "RetryInfo", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java deleted file mode 100644 index 11bd71e21b..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public interface MutateRowResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java deleted file mode 100644 index f3bc66cd04..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public interface PingAndWarmResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java deleted file mode 100644 index d7e69060bb..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/request_stats.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public final class RequestStatsProto { - private RequestStatsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadIterationStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FullReadStatsView_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/request_stats.proto" - + "\022\022google.bigtable.v2\032\036google/protobuf/du" - + "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" - + "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" - + "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" - + "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" - + "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" - + "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" - + "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" - + "2&.google.bigtable.v2.ReadIterationStats" - + "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" - + ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" - + "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" - + ".google.bigtable.v2.FullReadStatsViewH\000B" - + "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" - + "B\021RequestStatsProtoP\001Z:google.golang.org" - + "/genproto/googleapis/bigtable/v2;bigtabl" - + "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" - + "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" - + "e::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadIterationStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadIterationStats_descriptor, - new java.lang.String[] { - "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", - }); - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor, - new java.lang.String[] { - "FrontendServerLatency", - }); - internal_static_google_bigtable_v2_FullReadStatsView_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FullReadStatsView_descriptor, - new java.lang.String[] { - "ReadIterationStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_RequestStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestStats_descriptor, - new java.lang.String[] { - "FullReadStatsView", "StatsView", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java deleted file mode 100644 index b126d09b79..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/response_params.proto - -// Protobuf Java Version: 3.25.2 -package com.google.bigtable.v2; - -public final class ResponseParamsProto { - private ResponseParamsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ResponseParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/bigtable/v2/response_params.pro" - + "to\022\022google.bigtable.v2\"Z\n\016ResponseParams" - + "\022\024\n\007zone_id\030\001 \001(\tH\000\210\001\001\022\027\n\ncluster_id\030\002 \001" - + "(\tH\001\210\001\001B\n\n\010_zone_idB\r\n\013_cluster_idB\277\001\n\026c" - + "om.google.bigtable.v2B\023ResponseParamsPro" - + "toP\001Z:google.golang.org/genproto/googlea" - + "pis/bigtable/v2;bigtable\252\002\030Google.Cloud." - + "Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002" - + "\033Google::Cloud::Bigtable::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_ResponseParams_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ResponseParams_descriptor, - new java.lang.String[] { - "ZoneId", "ClusterId", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -}