Package com.google.bigtable.admin.v2
Class BigtableInstanceAdminGrpc.BigtableInstanceAdminStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminStub>
-
- com.google.bigtable.admin.v2.BigtableInstanceAdminGrpc.BigtableInstanceAdminStub
-
- Enclosing class:
- BigtableInstanceAdminGrpc
public static final class BigtableInstanceAdminGrpc.BigtableInstanceAdminStub extends io.grpc.stub.AbstractAsyncStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminStub>
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigtableInstanceAdminGrpc.BigtableInstanceAdminStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createAppProfile(CreateAppProfileRequest request, io.grpc.stub.StreamObserver<AppProfile> responseObserver)
Creates an app profile within an instance.void
createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a cluster within an instance.void
createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Create an instance within a project.void
deleteAppProfile(DeleteAppProfileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an app profile from an instance.void
deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a cluster from an instance.void
deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Delete an instance from a project.void
getAppProfile(GetAppProfileRequest request, io.grpc.stub.StreamObserver<AppProfile> responseObserver)
Gets information about an app profile.void
getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets information about a cluster.void
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the access control policy for an instance resource.void
getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets information about an instance.void
listAppProfiles(ListAppProfilesRequest request, io.grpc.stub.StreamObserver<ListAppProfilesResponse> responseObserver)
Lists information about app profiles in an instance.void
listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists information about clusters in an instance.void
listHotTablets(ListHotTabletsRequest request, io.grpc.stub.StreamObserver<ListHotTabletsResponse> responseObserver)
Lists hot tablets in a cluster, within the time range provided.void
listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists information about instances in a project.void
partialUpdateCluster(PartialUpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Partially updates a cluster within a project.void
partialUpdateInstance(PartialUpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Partially updates an instance within a project.void
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on an instance resource.void
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns permissions that the caller has on the specified instance resource.void
updateAppProfile(UpdateAppProfileRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an app profile within an instance.void
updateCluster(Cluster request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates a cluster within an instance.void
updateInstance(Instance request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Updates an instance within a project.
-
-
-
Method Detail
-
build
protected BigtableInstanceAdminGrpc.BigtableInstanceAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<BigtableInstanceAdminGrpc.BigtableInstanceAdminStub>
-
createInstance
public void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
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.
-
getInstance
public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
Gets information about an instance.
-
listInstances
public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
Lists information about instances in a project.
-
updateInstance
public void updateInstance(Instance request, io.grpc.stub.StreamObserver<Instance> 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.
-
partialUpdateInstance
public void partialUpdateInstance(PartialUpdateInstanceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> 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.
-
deleteInstance
public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Delete an instance from a project.
-
createCluster
public void createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> 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.
-
getCluster
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Gets information about a cluster.
-
listClusters
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists information about clusters in an instance.
-
updateCluster
public void updateCluster(Cluster request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> 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.
-
partialUpdateCluster
public void partialUpdateCluster(PartialUpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> 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.
-
deleteCluster
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a cluster from an instance.
-
createAppProfile
public void createAppProfile(CreateAppProfileRequest request, io.grpc.stub.StreamObserver<AppProfile> responseObserver)
Creates an app profile within an instance.
-
getAppProfile
public void getAppProfile(GetAppProfileRequest request, io.grpc.stub.StreamObserver<AppProfile> responseObserver)
Gets information about an app profile.
-
listAppProfiles
public void listAppProfiles(ListAppProfilesRequest request, io.grpc.stub.StreamObserver<ListAppProfilesResponse> responseObserver)
Lists information about app profiles in an instance.
-
updateAppProfile
public void updateAppProfile(UpdateAppProfileRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an app profile within an instance.
-
deleteAppProfile
public void deleteAppProfile(DeleteAppProfileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an app profile from an instance.
-
getIamPolicy
public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> 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.
-
setIamPolicy
public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on an instance resource. Replaces any existing policy.
-
testIamPermissions
public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns permissions that the caller has on the specified instance resource.
-
listHotTablets
public void listHotTablets(ListHotTabletsRequest request, io.grpc.stub.StreamObserver<ListHotTabletsResponse> responseObserver)
Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage.
-
-