Interface InstancesRestoreBackupRequestOrBuilder (0.1.0)

public interface InstancesRestoreBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract String getBackup()

The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.

string backup = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backup.

getBackupBytes()

public abstract ByteString getBackupBytes()

The name of the backup that's used to restore a Cloud SQL instance: Format: projects/{project-id}/backups/{backup-uid}. Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.

string backup = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backup.

getBackupdrBackup()

public abstract String getBackupdrBackup()

The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.

string backupdr_backup = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backupdrBackup.

getBackupdrBackupBytes()

public abstract ByteString getBackupdrBackupBytes()

The name of the backup that's used to restore a Cloud SQL instance: Format: "projects/{project-id}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup-uid}". Only one of restore_backup_context, backup, backupdr_backup can be passed to the input.

string backupdr_backup = 4 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backupdrBackup.

getRestoreBackupContext()

public abstract RestoreBackupContext getRestoreBackupContext()

Parameters required to perform the restore backup operation.

.google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;

Returns
Type Description
RestoreBackupContext

The restoreBackupContext.

getRestoreBackupContextOrBuilder()

public abstract RestoreBackupContextOrBuilder getRestoreBackupContextOrBuilder()

Parameters required to perform the restore backup operation.

.google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;

Returns
Type Description
RestoreBackupContextOrBuilder

getRestoreInstanceClearOverridesFieldNames(int index)

public abstract String getRestoreInstanceClearOverridesFieldNames(int index)

Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.

repeated string restore_instance_clear_overrides_field_names = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The restoreInstanceClearOverridesFieldNames at the given index.

getRestoreInstanceClearOverridesFieldNamesBytes(int index)

public abstract ByteString getRestoreInstanceClearOverridesFieldNamesBytes(int index)

Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.

repeated string restore_instance_clear_overrides_field_names = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the restoreInstanceClearOverridesFieldNames at the given index.

getRestoreInstanceClearOverridesFieldNamesCount()

public abstract int getRestoreInstanceClearOverridesFieldNamesCount()

Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.

repeated string restore_instance_clear_overrides_field_names = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of restoreInstanceClearOverridesFieldNames.

getRestoreInstanceClearOverridesFieldNamesList()

public abstract List<String> getRestoreInstanceClearOverridesFieldNamesList()

Optional. This field has the same purpose as restore_instance_settings, changes any instance settings stored in the backup you are restoring from. With the difference that these fields are cleared in the settings.

repeated string restore_instance_clear_overrides_field_names = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the restoreInstanceClearOverridesFieldNames.

getRestoreInstanceSettings()

public abstract DatabaseInstance getRestoreInstanceSettings()

Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances.

.google.cloud.sql.v1beta4.DatabaseInstance restore_instance_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseInstance

The restoreInstanceSettings.

getRestoreInstanceSettingsOrBuilder()

public abstract DatabaseInstanceOrBuilder getRestoreInstanceSettingsOrBuilder()

Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances.

.google.cloud.sql.v1beta4.DatabaseInstance restore_instance_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseInstanceOrBuilder

hasRestoreBackupContext()

public abstract boolean hasRestoreBackupContext()

Parameters required to perform the restore backup operation.

.google.cloud.sql.v1beta4.RestoreBackupContext restore_backup_context = 1;

Returns
Type Description
boolean

Whether the restoreBackupContext field is set.

hasRestoreInstanceSettings()

public abstract boolean hasRestoreInstanceSettings()

Optional. By using this parameter, Cloud SQL overrides any instance settings stored in the backup you are restoring from. You can't change the instance's major database version and you can only increase the disk size. You can use this field to restore new instances only. This field is not applicable for restore to existing instances.

.google.cloud.sql.v1beta4.DatabaseInstance restore_instance_settings = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the restoreInstanceSettings field is set.