Class InstanceAdminGrpc
java.lang.Object
com.google.spanner.admin.instance.v1.InstanceAdminGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: google/spanner/admin/instance/v1/spanner_instance_admin.proto")
public final class InstanceAdminGrpc
extends Object
Cloud Spanner Instance Admin API The Cloud Spanner Instance Admin API can be used to create, delete, modify and list instances. Instances are dedicated Cloud Spanner serving and storage resources to be used by Cloud Spanner databases. Each instance has a "configuration", which dictates where the serving resources for the Cloud Spanner instance are located (e.g., US-central, Europe). Configurations are created by Google based on resource availability. Cloud Spanner billing is based on the instances that exist and their sizes. After an instance exists, there are no additional per-database or per-operation charges for use of the instance (though there may be additional network bandwidth charges). Instances offer isolation: problems with databases in one instance will not affect other instances. However, within an instance databases can affect each other. For example, if one database in an instance receives a lot of requests and consumes most of the instance resources, fewer resources are available for other databases in that instance, and their performance may suffer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCloud Spanner Instance Admin API The Cloud Spanner Instance Admin API can be used to create, delete, modify and list instances.static final classA stub to allow clients to do synchronous rpc calls to service InstanceAdmin.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service InstanceAdmin.static classBase class for the server implementation of the service InstanceAdmin.static final classA stub to allow clients to do asynchronous rpc calls to service InstanceAdmin. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreateInstanceConfigRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<CreateInstanceRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<CreateInstancePartitionRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<DeleteInstanceConfigRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteInstanceRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteInstancePartitionRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> static io.grpc.MethodDescriptor<GetInstanceConfigRequest,InstanceConfig> static io.grpc.MethodDescriptor<GetInstanceRequest,Instance> static io.grpc.MethodDescriptor<GetInstancePartitionRequest,InstancePartition> static io.grpc.MethodDescriptor<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse> static io.grpc.MethodDescriptor<ListInstanceConfigsRequest,ListInstanceConfigsResponse> static io.grpc.MethodDescriptor<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse> static io.grpc.MethodDescriptor<ListInstancePartitionsRequest,ListInstancePartitionsResponse> static io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse> static io.grpc.MethodDescriptor<MoveInstanceRequest,com.google.longrunning.Operation> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> static io.grpc.MethodDescriptor<UpdateInstanceConfigRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<UpdateInstanceRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<UpdateInstancePartitionRequest,com.google.longrunning.Operation> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListInstanceConfigsMethod
public static io.grpc.MethodDescriptor<ListInstanceConfigsRequest,ListInstanceConfigsResponse> getListInstanceConfigsMethod() -
getGetInstanceConfigMethod
public static io.grpc.MethodDescriptor<GetInstanceConfigRequest,InstanceConfig> getGetInstanceConfigMethod() -
getCreateInstanceConfigMethod
public static io.grpc.MethodDescriptor<CreateInstanceConfigRequest,com.google.longrunning.Operation> getCreateInstanceConfigMethod() -
getUpdateInstanceConfigMethod
public static io.grpc.MethodDescriptor<UpdateInstanceConfigRequest,com.google.longrunning.Operation> getUpdateInstanceConfigMethod() -
getDeleteInstanceConfigMethod
public static io.grpc.MethodDescriptor<DeleteInstanceConfigRequest,com.google.protobuf.Empty> getDeleteInstanceConfigMethod() -
getListInstanceConfigOperationsMethod
public static io.grpc.MethodDescriptor<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse> getListInstanceConfigOperationsMethod() -
getListInstancesMethod
public static io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod() -
getListInstancePartitionsMethod
public static io.grpc.MethodDescriptor<ListInstancePartitionsRequest,ListInstancePartitionsResponse> getListInstancePartitionsMethod() -
getGetInstanceMethod
-
getCreateInstanceMethod
public static io.grpc.MethodDescriptor<CreateInstanceRequest,com.google.longrunning.Operation> getCreateInstanceMethod() -
getUpdateInstanceMethod
public static io.grpc.MethodDescriptor<UpdateInstanceRequest,com.google.longrunning.Operation> getUpdateInstanceMethod() -
getDeleteInstanceMethod
public static io.grpc.MethodDescriptor<DeleteInstanceRequest,com.google.protobuf.Empty> getDeleteInstanceMethod() -
getSetIamPolicyMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> getSetIamPolicyMethod() -
getGetIamPolicyMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getGetIamPolicyMethod() -
getTestIamPermissionsMethod
public static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod() -
getGetInstancePartitionMethod
public static io.grpc.MethodDescriptor<GetInstancePartitionRequest,InstancePartition> getGetInstancePartitionMethod() -
getCreateInstancePartitionMethod
public static io.grpc.MethodDescriptor<CreateInstancePartitionRequest,com.google.longrunning.Operation> getCreateInstancePartitionMethod() -
getDeleteInstancePartitionMethod
public static io.grpc.MethodDescriptor<DeleteInstancePartitionRequest,com.google.protobuf.Empty> getDeleteInstancePartitionMethod() -
getUpdateInstancePartitionMethod
public static io.grpc.MethodDescriptor<UpdateInstancePartitionRequest,com.google.longrunning.Operation> getUpdateInstancePartitionMethod() -
getListInstancePartitionOperationsMethod
public static io.grpc.MethodDescriptor<ListInstancePartitionOperationsRequest,ListInstancePartitionOperationsResponse> getListInstancePartitionOperationsMethod() -
getMoveInstanceMethod
public static io.grpc.MethodDescriptor<MoveInstanceRequest,com.google.longrunning.Operation> getMoveInstanceMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(InstanceAdminGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-