Class DatabaseAdminGrpc

public final class DatabaseAdminGrpc

Cloud Spanner Database Admin API The Cloud Spanner Database Admin API can be used to create, drop, and list databases. It also enables updating the schema of pre-existing databases. It can be also used to create, delete and list backups for a database and to restore from an existing backup.

Inheritance

java.lang.Object > DatabaseAdminGrpc

Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Methods

getCreateBackupMethod()

public static MethodDescriptor<CreateBackupRequest,Operation> getCreateBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateBackupRequest,Operation>

getCreateDatabaseMethod()

public static MethodDescriptor<CreateDatabaseRequest,Operation> getCreateDatabaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateDatabaseRequest,Operation>

getDeleteBackupMethod()

public static MethodDescriptor<DeleteBackupRequest,Empty> getDeleteBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteBackupRequest,Empty>

getDropDatabaseMethod()

public static MethodDescriptor<DropDatabaseRequest,Empty> getDropDatabaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DropDatabaseRequest,Empty>

getGetBackupMethod()

public static MethodDescriptor<GetBackupRequest,Backup> getGetBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetBackupRequest,Backup>

getGetDatabaseDdlMethod()

public static MethodDescriptor<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getGetDatabaseDdlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDatabaseDdlRequest,GetDatabaseDdlResponse>

getGetDatabaseMethod()

public static MethodDescriptor<GetDatabaseRequest,Database> getGetDatabaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDatabaseRequest,Database>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getListBackupOperationsMethod()

public static MethodDescriptor<ListBackupOperationsRequest,ListBackupOperationsResponse> getListBackupOperationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBackupOperationsRequest,ListBackupOperationsResponse>

getListBackupsMethod()

public static MethodDescriptor<ListBackupsRequest,ListBackupsResponse> getListBackupsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBackupsRequest,ListBackupsResponse>

getListDatabaseOperationsMethod()

public static MethodDescriptor<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse> getListDatabaseOperationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse>

getListDatabasesMethod()

public static MethodDescriptor<ListDatabasesRequest,ListDatabasesResponse> getListDatabasesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDatabasesRequest,ListDatabasesResponse>

getRestoreDatabaseMethod()

public static MethodDescriptor<RestoreDatabaseRequest,Operation> getRestoreDatabaseMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RestoreDatabaseRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateBackupMethod()

public static MethodDescriptor<UpdateBackupRequest,Backup> getUpdateBackupMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateBackupRequest,Backup>

getUpdateDatabaseDdlMethod()

public static MethodDescriptor<UpdateDatabaseDdlRequest,Operation> getUpdateDatabaseDdlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDatabaseDdlRequest,Operation>

newBlockingStub(Channel channel)

public static DatabaseAdminGrpc.DatabaseAdminBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DatabaseAdminGrpc.DatabaseAdminBlockingStub

newFutureStub(Channel channel)

public static DatabaseAdminGrpc.DatabaseAdminFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DatabaseAdminGrpc.DatabaseAdminFutureStub

newStub(Channel channel)

public static DatabaseAdminGrpc.DatabaseAdminStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DatabaseAdminGrpc.DatabaseAdminStub