Class DatabaseAdminGrpc
java.lang.Object
com.google.spanner.admin.database.v1.DatabaseAdminGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: google/spanner/admin/database/v1/spanner_database_admin.proto")
public final class DatabaseAdminGrpc
extends Object
Cloud Spanner Database Admin API The Cloud Spanner Database Admin API can be used to: * create, drop, and list databases * update the schema of pre-existing databases * create, delete, copy and list backups for a database * restore a database from an existing backup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCloud Spanner Database Admin API The Cloud Spanner Database Admin API can be used to: * create, drop, and list databases * update the schema of pre-existing databases * create, delete, copy and list backups for a database * restore a database from an existing backupstatic final classA stub to allow clients to do synchronous rpc calls to service DatabaseAdmin.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service DatabaseAdmin.static classBase class for the server implementation of the service DatabaseAdmin.static final classA stub to allow clients to do asynchronous rpc calls to service DatabaseAdmin. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CopyBackupRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<CreateBackupRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<CreateBackupScheduleRequest,BackupSchedule> static io.grpc.MethodDescriptor<CreateDatabaseRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<DeleteBackupRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteBackupScheduleRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DropDatabaseRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetBackupRequest,Backup> static io.grpc.MethodDescriptor<GetBackupScheduleRequest,BackupSchedule> static io.grpc.MethodDescriptor<GetDatabaseDdlRequest,GetDatabaseDdlResponse> static io.grpc.MethodDescriptor<GetDatabaseRequest,Database> static io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> static io.grpc.MethodDescriptor<ListBackupOperationsRequest,ListBackupOperationsResponse> static io.grpc.MethodDescriptor<ListBackupSchedulesRequest,ListBackupSchedulesResponse> static io.grpc.MethodDescriptor<ListBackupsRequest,ListBackupsResponse> static io.grpc.MethodDescriptor<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> static io.grpc.MethodDescriptor<ListDatabaseRolesRequest,ListDatabaseRolesResponse> static io.grpc.MethodDescriptor<ListDatabasesRequest,ListDatabasesResponse> static io.grpc.MethodDescriptor<RestoreDatabaseRequest,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<UpdateBackupRequest,Backup> static io.grpc.MethodDescriptor<UpdateBackupScheduleRequest,BackupSchedule> static io.grpc.MethodDescriptor<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> static io.grpc.MethodDescriptor<UpdateDatabaseRequest,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
-
getListDatabasesMethod
public static io.grpc.MethodDescriptor<ListDatabasesRequest,ListDatabasesResponse> getListDatabasesMethod() -
getCreateDatabaseMethod
public static io.grpc.MethodDescriptor<CreateDatabaseRequest,com.google.longrunning.Operation> getCreateDatabaseMethod() -
getGetDatabaseMethod
-
getUpdateDatabaseMethod
public static io.grpc.MethodDescriptor<UpdateDatabaseRequest,com.google.longrunning.Operation> getUpdateDatabaseMethod() -
getUpdateDatabaseDdlMethod
public static io.grpc.MethodDescriptor<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> getUpdateDatabaseDdlMethod() -
getDropDatabaseMethod
public static io.grpc.MethodDescriptor<DropDatabaseRequest,com.google.protobuf.Empty> getDropDatabaseMethod() -
getGetDatabaseDdlMethod
public static io.grpc.MethodDescriptor<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getGetDatabaseDdlMethod() -
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() -
getCreateBackupMethod
public static io.grpc.MethodDescriptor<CreateBackupRequest,com.google.longrunning.Operation> getCreateBackupMethod() -
getCopyBackupMethod
public static io.grpc.MethodDescriptor<CopyBackupRequest,com.google.longrunning.Operation> getCopyBackupMethod() -
getGetBackupMethod
-
getUpdateBackupMethod
-
getDeleteBackupMethod
public static io.grpc.MethodDescriptor<DeleteBackupRequest,com.google.protobuf.Empty> getDeleteBackupMethod() -
getListBackupsMethod
public static io.grpc.MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod() -
getRestoreDatabaseMethod
public static io.grpc.MethodDescriptor<RestoreDatabaseRequest,com.google.longrunning.Operation> getRestoreDatabaseMethod() -
getListDatabaseOperationsMethod
public static io.grpc.MethodDescriptor<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> getListDatabaseOperationsMethod() -
getListBackupOperationsMethod
public static io.grpc.MethodDescriptor<ListBackupOperationsRequest,ListBackupOperationsResponse> getListBackupOperationsMethod() -
getListDatabaseRolesMethod
public static io.grpc.MethodDescriptor<ListDatabaseRolesRequest,ListDatabaseRolesResponse> getListDatabaseRolesMethod() -
getCreateBackupScheduleMethod
public static io.grpc.MethodDescriptor<CreateBackupScheduleRequest,BackupSchedule> getCreateBackupScheduleMethod() -
getGetBackupScheduleMethod
public static io.grpc.MethodDescriptor<GetBackupScheduleRequest,BackupSchedule> getGetBackupScheduleMethod() -
getUpdateBackupScheduleMethod
public static io.grpc.MethodDescriptor<UpdateBackupScheduleRequest,BackupSchedule> getUpdateBackupScheduleMethod() -
getDeleteBackupScheduleMethod
public static io.grpc.MethodDescriptor<DeleteBackupScheduleRequest,com.google.protobuf.Empty> getDeleteBackupScheduleMethod() -
getListBackupSchedulesMethod
public static io.grpc.MethodDescriptor<ListBackupSchedulesRequest,ListBackupSchedulesResponse> getListBackupSchedulesMethod() -
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(DatabaseAdminGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-