@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcDatabaseAdminStub extends DatabaseAdminStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings.
|
protected |
GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatabaseAdminStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcDatabaseAdminStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcDatabaseAdminStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcDatabaseAdminStub |
create(DatabaseAdminStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateDatabaseRequest,com.google.longrunning.Operation> |
createDatabaseCallable() |
com.google.api.gax.rpc.OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
createDatabaseOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DropDatabaseRequest,Empty> |
dropDatabaseCallable() |
com.google.api.gax.rpc.UnaryCallable<GetDatabaseRequest,Database> |
getDatabaseCallable() |
com.google.api.gax.rpc.UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> |
getDatabaseDdlCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> |
listDatabasesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> |
listDatabasesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> |
updateDatabaseDdlCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> |
updateDatabaseDdlOperationCallable() |
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcDatabaseAdminStub(DatabaseAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(DatabaseAdminStubSettings settings) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcDatabaseAdminStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class DatabaseAdminStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
createDatabaseOperationCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<CreateDatabaseRequest,com.google.longrunning.Operation> createDatabaseCallable()
createDatabaseCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
getDatabaseCallable
in class DatabaseAdminStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationCallable()
updateDatabaseDdlOperationCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> updateDatabaseDdlCallable()
updateDatabaseDdlCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<DropDatabaseRequest,Empty> dropDatabaseCallable()
dropDatabaseCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlCallable()
getDatabaseDdlCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
listDatabasesPagedCallable
in class DatabaseAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
listDatabasesCallable
in class DatabaseAdminStub
public final void close()
close
in interface AutoCloseable
close
in class DatabaseAdminStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.