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 - .
- * 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
- * Gets information about an instance. - *- */ - default void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists information about instances in a project. - *- */ - default void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Delete an instance from a project. - *- */ - default void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Gets information about a cluster. - *- */ - default void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver
- * Lists information about clusters in an instance. - *- */ - default void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Deletes a cluster from an instance. - *- */ - default void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver
- * Creates an app profile within an instance. - *- */ - default void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Gets information about an app profile. - *- */ - default void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Lists information about app profiles in an instance. - *- */ - default void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver
- * Updates an app profile within an instance. - *- */ - default void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Deletes an app profile from an instance. - *- */ - default void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Returns permissions that the caller has on the specified instance resource. - *- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * 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
- * Gets information about an instance. - *- */ - public void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver
- * Lists information about instances in a project. - *- */ - public void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Delete an instance from a project. - *- */ - public void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Gets information about a cluster. - *- */ - public void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver
- * Lists information about clusters in an instance. - *- */ - public void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Deletes a cluster from an instance. - *- */ - public void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver
- * Creates an app profile within an instance. - *- */ - public void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Gets information about an app profile. - *- */ - public void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Lists information about app profiles in an instance. - *- */ - public void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver
- * Updates an app profile within an instance. - *- */ - public void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver
- * Deletes an app profile from an instance. - *- */ - public void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * Returns permissions that the caller has on the specified instance resource. - *- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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
- * 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
- * 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
- * Gets information about an instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * 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
- * Delete an instance from a project. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Gets information about a cluster. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * 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
- * Deletes a cluster from an instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Deletes an app profile from an instance. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Sets the access control policy on an instance resource. Replaces any - * existing policy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * Service for creating, configuring, and deleting Cloud Bigtable tables. - * Provides access to the table schemas only, not the data stored within - * the tables. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/admin/v2/bigtable_table_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableTableAdminGrpc { - - 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; - - @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; - if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) { - synchronized (BigtableTableAdminGrpc.class) { - if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) { - BigtableTableAdminGrpc.getCreateTableMethod = - getCreateTableMethod = - io.grpc.MethodDescriptor - .
- * Service for creating, configuring, and deleting Cloud Bigtable tables. - * Provides access to the table schemas only, not the data stored within - * the tables. - *- */ - 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, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, - io.grpc.stub.StreamObserver
- * Lists all tables served from a specified instance. - *- */ - default void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver
- * Gets metadata information about the specified table. - *- */ - default void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver
- * Updates a specified table. - *- */ - default void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes a specified table and all of its data. - *- */ - default void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver
- * Restores a specified table which was accidentally deleted. - *- */ - default void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver
- * Creates a new AuthorizedView in a table. - *- */ - default void createAuthorizedView( - com.google.bigtable.admin.v2.CreateAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Lists all AuthorizedViews from a specific table. - *- */ - default void listAuthorizedViews( - com.google.bigtable.admin.v2.ListAuthorizedViewsRequest request, - io.grpc.stub.StreamObserver
- * Gets information from a specified AuthorizedView. - *- */ - default void getAuthorizedView( - com.google.bigtable.admin.v2.GetAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Updates an AuthorizedView in a table. - *- */ - default void updateAuthorizedView( - com.google.bigtable.admin.v2.UpdateAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes a specified AuthorizedView. - *- */ - default void deleteAuthorizedView( - com.google.bigtable.admin.v2.DeleteAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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. - *- */ - default void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Gets metadata on a pending or completed Cloud Bigtable Backup. - *- */ - default void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates a pending or completed Cloud Bigtable Backup. - *- */ - default void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a pending or completed Cloud Bigtable backup. - *- */ - default void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Lists Cloud Bigtable backups. Returns both completed and pending - * backups. - *- */ - default void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - default void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * Sets the access control policy on a Table or Backup resource. - * Replaces any existing policy. - *- */ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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 - implements io.grpc.BindableService, AsyncService { - - @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 - * the tables. - *- */ - public static final class BigtableTableAdminStub - extends io.grpc.stub.AbstractAsyncStub
- * 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, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, - io.grpc.stub.StreamObserver
- * Lists all tables served from a specified instance. - *- */ - public void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver
- * Gets metadata information about the specified table. - *- */ - public void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver
- * Updates a specified table. - *- */ - public void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes a specified table and all of its data. - *- */ - public void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver
- * Restores a specified table which was accidentally deleted. - *- */ - public void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver
- * Creates a new AuthorizedView in a table. - *- */ - public void createAuthorizedView( - com.google.bigtable.admin.v2.CreateAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Lists all AuthorizedViews from a specific table. - *- */ - public void listAuthorizedViews( - com.google.bigtable.admin.v2.ListAuthorizedViewsRequest request, - io.grpc.stub.StreamObserver
- * Gets information from a specified AuthorizedView. - *- */ - public void getAuthorizedView( - com.google.bigtable.admin.v2.GetAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Updates an AuthorizedView in a table. - *- */ - public void updateAuthorizedView( - com.google.bigtable.admin.v2.UpdateAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes a specified AuthorizedView. - *- */ - public void deleteAuthorizedView( - com.google.bigtable.admin.v2.DeleteAuthorizedViewRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver
- * 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
- * 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. - *- */ - public void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, - io.grpc.stub.StreamObserver
- * Gets metadata on a pending or completed Cloud Bigtable Backup. - *- */ - public void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver
- * Updates a pending or completed Cloud Bigtable Backup. - *- */ - public void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver
- * Deletes a pending or completed Cloud Bigtable backup. - *- */ - public void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver
- * Lists Cloud Bigtable backups. Returns both completed and pending - * backups. - *- */ - public void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver
- * 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. - *- */ - public void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * 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, - io.grpc.stub.StreamObserver
- * Sets the access control policy on a Table or Backup resource. - * Replaces any existing policy. - *- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * 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
- * Service for creating, configuring, and deleting Cloud Bigtable tables. - * Provides access to the table schemas only, not the data stored within - * the tables. - *- */ - public static final class BigtableTableAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * 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) { - 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. - * 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. - *- */ - 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) { - 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) { - 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) { - 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) { - 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) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeleteTableMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a new AuthorizedView in a table. - *- */ - public com.google.longrunning.Operation createAuthorizedView( - com.google.bigtable.admin.v2.CreateAuthorizedViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAuthorizedViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists all AuthorizedViews from a specific table. - *- */ - public com.google.bigtable.admin.v2.ListAuthorizedViewsResponse listAuthorizedViews( - com.google.bigtable.admin.v2.ListAuthorizedViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAuthorizedViewsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets information from a specified AuthorizedView. - *- */ - public com.google.bigtable.admin.v2.AuthorizedView getAuthorizedView( - com.google.bigtable.admin.v2.GetAuthorizedViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAuthorizedViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates an AuthorizedView in a table. - *- */ - public com.google.longrunning.Operation updateAuthorizedView( - com.google.bigtable.admin.v2.UpdateAuthorizedViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAuthorizedViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Permanently deletes a specified AuthorizedView. - *- */ - public com.google.protobuf.Empty deleteAuthorizedView( - com.google.bigtable.admin.v2.DeleteAuthorizedViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAuthorizedViewMethod(), 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 - * returns, but data requests received prior to that point may see a table - * where only some modifications have taken effect. - *- */ - 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) { - 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 - * before this call started have been replicated. The tokens will be available - * for 90 days. - *- */ - 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) { - 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. - * 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. - *- */ - 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 - * 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. - *- */ - 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 - * 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. - *- */ - 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 - * 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. - *- */ - 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 - * 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. - *- */ - 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) { - 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) { - 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) { - 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) { - 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 - * 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. - *- */ - 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) { - 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 - * 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 a Table or Backup 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 Table or Backup - * resource. - *- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * 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 - * the tables. - *- */ - public static final class BigtableTableAdminFutureStub - extends io.grpc.stub.AbstractFutureStub
- * 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
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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) { - 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
- * Updates a specified table. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Permanently deletes a specified table and all of its data. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Restores a specified table which was accidentally deleted. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a new AuthorizedView in a table. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists all AuthorizedViews from a specific table. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListAuthorizedViewsResponse> - listAuthorizedViews(com.google.bigtable.admin.v2.ListAuthorizedViewsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAuthorizedViewsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets information from a specified AuthorizedView. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.AuthorizedView> - getAuthorizedView(com.google.bigtable.admin.v2.GetAuthorizedViewRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAuthorizedViewMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates an AuthorizedView in a table. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Permanently deletes a specified AuthorizedView. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse> - 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) { - 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. - * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListSnapshotsResponse> - 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 - * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets metadata on a pending or completed Cloud Bigtable Backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates a pending or completed Cloud Bigtable Backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a pending or completed Cloud Bigtable backup. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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) { - 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 - * 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. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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
- * 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
- * Sets the access control policy on a Table or Backup resource. - * Replaces any existing policy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * 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) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TABLE = 0; - private static final int METHODID_CREATE_TABLE_FROM_SNAPSHOT = 1; - private static final int METHODID_LIST_TABLES = 2; - private static final int METHODID_GET_TABLE = 3; - private static final int METHODID_UPDATE_TABLE = 4; - private static final int METHODID_DELETE_TABLE = 5; - private static final int METHODID_UNDELETE_TABLE = 6; - private static final int METHODID_CREATE_AUTHORIZED_VIEW = 7; - private static final int METHODID_LIST_AUTHORIZED_VIEWS = 8; - private static final int METHODID_GET_AUTHORIZED_VIEW = 9; - private static final int METHODID_UPDATE_AUTHORIZED_VIEW = 10; - private static final int METHODID_DELETE_AUTHORIZED_VIEW = 11; - private static final int METHODID_MODIFY_COLUMN_FAMILIES = 12; - private static final int METHODID_DROP_ROW_RANGE = 13; - private static final int METHODID_GENERATE_CONSISTENCY_TOKEN = 14; - private static final int METHODID_CHECK_CONSISTENCY = 15; - private static final int METHODID_SNAPSHOT_TABLE = 16; - private static final int METHODID_GET_SNAPSHOT = 17; - private static final int METHODID_LIST_SNAPSHOTS = 18; - private static final int METHODID_DELETE_SNAPSHOT = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_GET_BACKUP = 21; - private static final int METHODID_UPDATE_BACKUP = 22; - private static final int METHODID_DELETE_BACKUP = 23; - private static final int METHODID_LIST_BACKUPS = 24; - private static final int METHODID_RESTORE_TABLE = 25; - private static final int METHODID_COPY_BACKUP = 26; - private static final int METHODID_GET_IAM_POLICY = 27; - private static final int METHODID_SET_IAM_POLICY = 28; - private static final int METHODID_TEST_IAM_PERMISSIONS = 29; - - private static final class MethodHandlers