public static final class AlloyDBAdminGrpc.AlloyDBAdminStub extends AbstractAsyncStub<AlloyDBAdminGrpc.AlloyDBAdminStub>
Service describing handlers for resources
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
AlloyDBAdminGrpc.AlloyDBAdminStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchCreateInstances(BatchCreateInstancesRequest request, StreamObserver<Operation> responseObserver)
public void batchCreateInstances(BatchCreateInstancesRequest request, StreamObserver<Operation> responseObserver)
Creates new instances under the given project, location and cluster.
There can be only one primary instance in a cluster. If the primary
instance exists in the cluster as well as this request, then API will
throw an error.
The primary instance should exist before any read pool instance is
created. If the primary instance is a part of the request payload, then
the API will take care of creating instances in the correct order.
This method is here to support Google-internal use cases, and is not meant
for external customers to consume. Please do not start relying on it; its
behavior is subject to change without notice.
Parameters
build(Channel channel, CallOptions callOptions)
protected AlloyDBAdminGrpc.AlloyDBAdminStub build(Channel channel, CallOptions callOptions)
Parameters
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)
Creates a new Backup in a given project and location.
Parameters
createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)
public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new Cluster in a given project and location.
Parameters
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
Creates a new Instance in a given project and location.
Parameters
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
Parameters
deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)
public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Cluster.
Parameters
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Instance.
Parameters
failoverInstance(FailoverInstanceRequest request, StreamObserver<Operation> responseObserver)
public void failoverInstance(FailoverInstanceRequest request, StreamObserver<Operation> responseObserver)
Forces a Failover for a highly available instance.
Failover promotes the HA standby instance as the new primary.
Imperative only.
Parameters
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets details of a single Backup.
Parameters
getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)
public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)
Gets details of a single Cluster.
Parameters
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
Parameters
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists Backups in a given project and location.
Parameters
listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)
public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)
Lists Clusters in a given project and location.
Parameters
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists Instances in a given project and location.
Parameters
listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request, StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
public void listSupportedDatabaseFlags(ListSupportedDatabaseFlagsRequest request, StreamObserver<ListSupportedDatabaseFlagsResponse> responseObserver)
Lists SupportedDatabaseFlags for a given project and location.
Parameters
restartInstance(RestartInstanceRequest request, StreamObserver<Operation> responseObserver)
public void restartInstance(RestartInstanceRequest request, StreamObserver<Operation> responseObserver)
Restart an Instance in a cluster.
Imperative only.
Parameters
restoreCluster(RestoreClusterRequest request, StreamObserver<Operation> responseObserver)
public void restoreCluster(RestoreClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new Cluster in a given project and location, with a volume
restored from the provided source, either a backup ID or a point-in-time
and a source cluster.
Parameters
updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Backup.
Parameters
updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)
public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Cluster.
Parameters
updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single Instance.
Parameters