Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.admin.database.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.spanner.admin.database.v1.stub | |
com.google.cloud.spanner.spi.v1 | |
com.google.spanner.admin.database.v1 |
Modifier and Type | Method and Description |
---|---|
Backup |
BackupInfo.getProto()
Returns the raw proto instance that was used to construct this
Backup . |
Modifier and Type | Method and Description |
---|---|
Backup |
DatabaseAdminClient.getBackup(BackupName name)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
DatabaseAdminClient.getBackup(GetBackupRequest request)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
DatabaseAdminClient.getBackup(String name)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
DatabaseAdminClient.updateBackup(Backup backup,
FieldMask updateMask)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
DatabaseAdminClient.updateBackup(UpdateBackupRequest request)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(CopyBackupRequest request)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(InstanceName parent,
String backupId,
BackupName sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(InstanceName parent,
String backupId,
String sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(String parent,
String backupId,
BackupName sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(String parent,
String backupId,
String sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationCallable<CopyBackupRequest,Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupOperationCallable()
Starts copying a Cloud Spanner Backup.
|
OperationCallSettings<CopyBackupRequest,Backup,CopyBackupMetadata> |
DatabaseAdminSettings.copyBackupOperationSettings()
Returns the object with the settings used for calls to copyBackup.
|
OperationCallSettings.Builder<CopyBackupRequest,Backup,CopyBackupMetadata> |
DatabaseAdminSettings.Builder.copyBackupOperationSettings()
Returns the builder for the settings used for calls to copyBackup.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(CreateBackupRequest request)
Starts creating a new Cloud Spanner Backup.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(InstanceName parent,
Backup backup,
String backupId)
Starts creating a new Cloud Spanner Backup.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(String parent,
Backup backup,
String backupId)
Starts creating a new Cloud Spanner Backup.
|
OperationCallable<CreateBackupRequest,Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupOperationCallable()
Starts creating a new Cloud Spanner Backup.
|
OperationCallSettings<CreateBackupRequest,Backup,CreateBackupMetadata> |
DatabaseAdminSettings.createBackupOperationSettings()
Returns the object with the settings used for calls to createBackup.
|
OperationCallSettings.Builder<CreateBackupRequest,Backup,CreateBackupMetadata> |
DatabaseAdminSettings.Builder.createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.
|
UnaryCallable<GetBackupRequest,Backup> |
DatabaseAdminClient.getBackupCallable()
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
UnaryCallSettings<GetBackupRequest,Backup> |
DatabaseAdminSettings.getBackupSettings()
Returns the object with the settings used for calls to getBackup.
|
UnaryCallSettings.Builder<GetBackupRequest,Backup> |
DatabaseAdminSettings.Builder.getBackupSettings()
Returns the builder for the settings used for calls to getBackup.
|
UnaryCallable<UpdateBackupRequest,Backup> |
DatabaseAdminClient.updateBackupCallable()
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
UnaryCallSettings<UpdateBackupRequest,Backup> |
DatabaseAdminSettings.updateBackupSettings()
Returns the object with the settings used for calls to updateBackup.
|
UnaryCallSettings.Builder<UpdateBackupRequest,Backup> |
DatabaseAdminSettings.Builder.updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(InstanceName parent,
Backup backup,
String backupId)
Starts creating a new Cloud Spanner Backup.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(String parent,
Backup backup,
String backupId)
Starts creating a new Cloud Spanner Backup.
|
Backup |
DatabaseAdminClient.updateBackup(Backup backup,
FieldMask updateMask)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Modifier and Type | Method and Description |
---|---|
static com.google.api.core.ApiFuture<DatabaseAdminClient.ListBackupsPagedResponse> |
DatabaseAdminClient.ListBackupsPagedResponse.createAsync(PageContext<ListBackupsRequest,ListBackupsResponse,Backup> context,
com.google.api.core.ApiFuture<ListBackupsResponse> futureResponse) |
protected DatabaseAdminClient.ListBackupsPage |
DatabaseAdminClient.ListBackupsPage.createPage(PageContext<ListBackupsRequest,ListBackupsResponse,Backup> context,
ListBackupsResponse response) |
com.google.api.core.ApiFuture<DatabaseAdminClient.ListBackupsPage> |
DatabaseAdminClient.ListBackupsPage.createPageAsync(PageContext<ListBackupsRequest,ListBackupsResponse,Backup> context,
com.google.api.core.ApiFuture<ListBackupsResponse> futureResponse) |
Modifier and Type | Method and Description |
---|---|
Backup |
GapicSpannerRpc.getBackup(String backupName) |
Backup |
SpannerRpc.getBackup(String backupName)
Gets the backup with the specified name.
|
Backup |
GapicSpannerRpc.updateBackup(Backup backup,
FieldMask updateMask) |
Backup |
SpannerRpc.updateBackup(Backup backup,
FieldMask updateMask)
Updates the specified backup.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CopyBackupMetadata> |
GapicSpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup) |
default OperationFuture<Backup,CopyBackupMetadata> |
SpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup)
Creates a copy backup from the source backup specified.
|
OperationFuture<Backup,CreateBackupMetadata> |
GapicSpannerRpc.createBackup(Backup backupInfo) |
OperationFuture<Backup,CreateBackupMetadata> |
SpannerRpc.createBackup(Backup backupInfo)
Creates a new backup from the source database specified in the
Backup instance. |
SpannerRpc.Paginated<Backup> |
GapicSpannerRpc.listBackups(String instanceName,
int pageSize,
String filter,
String pageToken) |
SpannerRpc.Paginated<Backup> |
SpannerRpc.listBackups(String instanceName,
int pageSize,
String filter,
String pageToken)
Lists the backups in the specified instance.
|
Modifier and Type | Method and Description |
---|---|
Backup |
GapicSpannerRpc.updateBackup(Backup backup,
FieldMask updateMask) |
Backup |
SpannerRpc.updateBackup(Backup backup,
FieldMask updateMask)
Updates the specified backup.
|
Modifier and Type | Method and Description |
---|---|
Backup |
Backup.Builder.build() |
Backup |
Backup.Builder.buildPartial() |
Backup |
UpdateBackupRequest.getBackup()
Required.
|
Backup |
UpdateBackupRequest.Builder.getBackup()
Required.
|
Backup |
CreateBackupRequest.getBackup()
Required.
|
Backup |
CreateBackupRequest.Builder.getBackup()
Required.
|
Backup |
UpdateBackupRequestOrBuilder.getBackup()
Required.
|
Backup |
CreateBackupRequestOrBuilder.getBackup()
Required.
|
Backup |
DatabaseAdminGrpc.DatabaseAdminBlockingStub.getBackup(GetBackupRequest request)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
ListBackupsResponseOrBuilder.getBackups(int index)
The list of matching backups.
|
Backup |
ListBackupsResponse.getBackups(int index)
The list of matching backups.
|
Backup |
ListBackupsResponse.Builder.getBackups(int index)
The list of matching backups.
|
static Backup |
Backup.getDefaultInstance() |
Backup |
Backup.getDefaultInstanceForType() |
Backup |
Backup.Builder.getDefaultInstanceForType() |
static Backup |
Backup.parseDelimitedFrom(InputStream input) |
static Backup |
Backup.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Backup |
Backup.parseFrom(byte[] data) |
static Backup |
Backup.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Backup |
Backup.parseFrom(ByteBuffer data) |
static Backup |
Backup.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Backup |
Backup.parseFrom(ByteString data) |
static Backup |
Backup.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Backup |
Backup.parseFrom(CodedInputStream input) |
static Backup |
Backup.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Backup |
Backup.parseFrom(InputStream input) |
static Backup |
Backup.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Backup |
DatabaseAdminGrpc.DatabaseAdminBlockingStub.updateBackup(UpdateBackupRequest request)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Backup> |
DatabaseAdminGrpc.DatabaseAdminFutureStub.getBackup(GetBackupRequest request)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
List<Backup> |
ListBackupsResponseOrBuilder.getBackupsList()
The list of matching backups.
|
List<Backup> |
ListBackupsResponse.getBackupsList()
The list of matching backups.
|
List<Backup> |
ListBackupsResponse.Builder.getBackupsList()
The list of matching backups.
|
static MethodDescriptor<GetBackupRequest,Backup> |
DatabaseAdminGrpc.getGetBackupMethod() |
Parser<Backup> |
Backup.getParserForType() |
static MethodDescriptor<UpdateBackupRequest,Backup> |
DatabaseAdminGrpc.getUpdateBackupMethod() |
static Parser<Backup> |
Backup.parser() |
com.google.common.util.concurrent.ListenableFuture<Backup> |
DatabaseAdminGrpc.DatabaseAdminFutureStub.updateBackup(UpdateBackupRequest request)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Modifier and Type | Method and Description |
---|---|
ListBackupsResponse.Builder |
ListBackupsResponse.Builder.addBackups(Backup value)
The list of matching backups.
|
ListBackupsResponse.Builder |
ListBackupsResponse.Builder.addBackups(int index,
Backup value)
The list of matching backups.
|
UpdateBackupRequest.Builder |
UpdateBackupRequest.Builder.mergeBackup(Backup value)
Required.
|
CreateBackupRequest.Builder |
CreateBackupRequest.Builder.mergeBackup(Backup value)
Required.
|
Backup.Builder |
Backup.Builder.mergeFrom(Backup other) |
static Backup.Builder |
Backup.newBuilder(Backup prototype) |
UpdateBackupRequest.Builder |
UpdateBackupRequest.Builder.setBackup(Backup value)
Required.
|
CreateBackupRequest.Builder |
CreateBackupRequest.Builder.setBackup(Backup value)
Required.
|
ListBackupsResponse.Builder |
ListBackupsResponse.Builder.setBackups(int index,
Backup value)
The list of matching backups.
|
Modifier and Type | Method and Description |
---|---|
ListBackupsResponse.Builder |
ListBackupsResponse.Builder.addAllBackups(Iterable<? extends Backup> values)
The list of matching backups.
|
void |
DatabaseAdminGrpc.DatabaseAdminImplBase.getBackup(GetBackupRequest request,
StreamObserver<Backup> responseObserver)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
void |
DatabaseAdminGrpc.DatabaseAdminStub.getBackup(GetBackupRequest request,
StreamObserver<Backup> responseObserver)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
void |
DatabaseAdminGrpc.DatabaseAdminImplBase.updateBackup(UpdateBackupRequest request,
StreamObserver<Backup> responseObserver)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
void |
DatabaseAdminGrpc.DatabaseAdminStub.updateBackup(UpdateBackupRequest request,
StreamObserver<Backup> responseObserver)
Updates a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Copyright © 2022 Google LLC. All rights reserved.