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 Classes Modifier and Type Class Description static interface
InstanceAdminGrpc.AsyncService
Cloud Spanner Instance Admin API The Cloud Spanner Instance Admin API can be used to create, delete, modify and list instances.static class
InstanceAdminGrpc.InstanceAdminBlockingStub
A stub to allow clients to do synchronous rpc calls to service InstanceAdmin.static class
InstanceAdminGrpc.InstanceAdminFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service InstanceAdmin.static class
InstanceAdminGrpc.InstanceAdminImplBase
Base class for the server implementation of the service InstanceAdmin.static class
InstanceAdminGrpc.InstanceAdminStub
A stub to allow clients to do asynchronous rpc calls to service InstanceAdmin.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(InstanceAdminGrpc.AsyncService service)
static io.grpc.MethodDescriptor<CreateInstanceConfigRequest,com.google.longrunning.Operation>
getCreateInstanceConfigMethod()
static io.grpc.MethodDescriptor<CreateInstanceRequest,com.google.longrunning.Operation>
getCreateInstanceMethod()
static io.grpc.MethodDescriptor<DeleteInstanceConfigRequest,com.google.protobuf.Empty>
getDeleteInstanceConfigMethod()
static io.grpc.MethodDescriptor<DeleteInstanceRequest,com.google.protobuf.Empty>
getDeleteInstanceMethod()
static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getGetIamPolicyMethod()
static io.grpc.MethodDescriptor<GetInstanceConfigRequest,InstanceConfig>
getGetInstanceConfigMethod()
static io.grpc.MethodDescriptor<GetInstanceRequest,Instance>
getGetInstanceMethod()
static io.grpc.MethodDescriptor<ListInstanceConfigOperationsRequest,ListInstanceConfigOperationsResponse>
getListInstanceConfigOperationsMethod()
static io.grpc.MethodDescriptor<ListInstanceConfigsRequest,ListInstanceConfigsResponse>
getListInstanceConfigsMethod()
static io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse>
getListInstancesMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
getSetIamPolicyMethod()
static io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
getTestIamPermissionsMethod()
static io.grpc.MethodDescriptor<UpdateInstanceConfigRequest,com.google.longrunning.Operation>
getUpdateInstanceConfigMethod()
static io.grpc.MethodDescriptor<UpdateInstanceRequest,com.google.longrunning.Operation>
getUpdateInstanceMethod()
static InstanceAdminGrpc.InstanceAdminBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic InstanceAdminGrpc.InstanceAdminFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic InstanceAdminGrpc.InstanceAdminStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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()
-
getGetInstanceMethod
public static io.grpc.MethodDescriptor<GetInstanceRequest,Instance> 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()
-
newStub
public static InstanceAdminGrpc.InstanceAdminStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static InstanceAdminGrpc.InstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static InstanceAdminGrpc.InstanceAdminFutureStub newFutureStub(io.grpc.Channel channel)
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()
-
-