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