Interface BackupRunOrBuilder (0.1.0)

public interface BackupRunOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupKind()

public abstract SqlBackupKind getBackupKind()

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

.google.cloud.sql.v1.SqlBackupKind backup_kind = 19;

Returns
Type Description
SqlBackupKind

The backupKind.

getBackupKindValue()

public abstract int getBackupKindValue()

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

.google.cloud.sql.v1.SqlBackupKind backup_kind = 19;

Returns
Type Description
int

The enum numeric value on the wire for backupKind.

getDatabaseVersion()

public abstract SqlDatabaseVersion getDatabaseVersion()

Output only. The instance database version at the time this backup was made.

.google.cloud.sql.v1.SqlDatabaseVersion database_version = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SqlDatabaseVersion

The databaseVersion.

getDatabaseVersionValue()

public abstract int getDatabaseVersionValue()

Output only. The instance database version at the time this backup was made.

.google.cloud.sql.v1.SqlDatabaseVersion database_version = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for databaseVersion.

getDescription()

public abstract String getDescription()

The description of this run, only applicable to on-demand backups.

string description = 9;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of this run, only applicable to on-demand backups.

string description = 9;

Returns
Type Description
ByteString

The bytes for description.

getDiskEncryptionConfiguration()

public abstract DiskEncryptionConfiguration getDiskEncryptionConfiguration()

Encryption configuration specific to a backup.

.google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;

Returns
Type Description
DiskEncryptionConfiguration

The diskEncryptionConfiguration.

getDiskEncryptionConfigurationOrBuilder()

public abstract DiskEncryptionConfigurationOrBuilder getDiskEncryptionConfigurationOrBuilder()

Encryption configuration specific to a backup.

.google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;

Returns
Type Description
DiskEncryptionConfigurationOrBuilder

getDiskEncryptionStatus()

public abstract DiskEncryptionStatus getDiskEncryptionStatus()

Encryption status specific to a backup.

.google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;

Returns
Type Description
DiskEncryptionStatus

The diskEncryptionStatus.

getDiskEncryptionStatusOrBuilder()

public abstract DiskEncryptionStatusOrBuilder getDiskEncryptionStatusOrBuilder()

Encryption status specific to a backup.

.google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;

Returns
Type Description
DiskEncryptionStatusOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
TimestampOrBuilder

getEnqueuedTime()

public abstract Timestamp getEnqueuedTime()

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp enqueued_time = 3;

Returns
Type Description
Timestamp

The enqueuedTime.

getEnqueuedTimeOrBuilder()

public abstract TimestampOrBuilder getEnqueuedTimeOrBuilder()

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp enqueued_time = 3;

Returns
Type Description
TimestampOrBuilder

getError()

public abstract OperationError getError()

Information about why the backup operation failed. This is only present if the run has the FAILED status.

.google.cloud.sql.v1.OperationError error = 7;

Returns
Type Description
OperationError

The error.

getErrorOrBuilder()

public abstract OperationErrorOrBuilder getErrorOrBuilder()

Information about why the backup operation failed. This is only present if the run has the FAILED status.

.google.cloud.sql.v1.OperationError error = 7;

Returns
Type Description
OperationErrorOrBuilder

getId()

public abstract long getId()

The identifier for this backup run. Unique only for a specific Cloud SQL instance.

int64 id = 4;

Returns
Type Description
long

The id.

getInstance()

public abstract String getInstance()

Name of the database instance.

string instance = 11;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Name of the database instance.

string instance = 11;

Returns
Type Description
ByteString

The bytes for instance.

getKind()

public abstract String getKind()

This is always sql#backupRun.

string kind = 1;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

This is always sql#backupRun.

string kind = 1;

Returns
Type Description
ByteString

The bytes for kind.

getLocation()

public abstract String getLocation()

Location of the backups.

string location = 13;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Location of the backups.

string location = 13;

Returns
Type Description
ByteString

The bytes for location.

getMaxChargeableBytes()

public abstract long getMaxChargeableBytes()

Output only. The maximum chargeable bytes for the backup.

optional int64 max_chargeable_bytes = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The maxChargeableBytes.

public abstract String getSelfLink()

The URI of this resource.

string self_link = 12;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

The URI of this resource.

string self_link = 12;

Returns
Type Description
ByteString

The bytes for selfLink.

getStartTime()

public abstract Timestamp getStartTime()

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
TimestampOrBuilder

getStatus()

public abstract SqlBackupRunStatus getStatus()

The status of this run.

.google.cloud.sql.v1.SqlBackupRunStatus status = 2;

Returns
Type Description
SqlBackupRunStatus

The status.

getStatusValue()

public abstract int getStatusValue()

The status of this run.

.google.cloud.sql.v1.SqlBackupRunStatus status = 2;

Returns
Type Description
int

The enum numeric value on the wire for status.

getTimeZone()

public abstract String getTimeZone()

Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.

string time_zone = 23;

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public abstract ByteString getTimeZoneBytes()

Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.

string time_zone = 23;

Returns
Type Description
ByteString

The bytes for timeZone.

getType()

public abstract SqlBackupRunType getType()

The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.

.google.cloud.sql.v1.SqlBackupRunType type = 8;

Returns
Type Description
SqlBackupRunType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.

.google.cloud.sql.v1.SqlBackupRunType type = 8;

Returns
Type Description
int

The enum numeric value on the wire for type.

getWindowStartTime()

public abstract Timestamp getWindowStartTime()

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp window_start_time = 10;

Returns
Type Description
Timestamp

The windowStartTime.

getWindowStartTimeOrBuilder()

public abstract TimestampOrBuilder getWindowStartTimeOrBuilder()

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp window_start_time = 10;

Returns
Type Description
TimestampOrBuilder

hasDiskEncryptionConfiguration()

public abstract boolean hasDiskEncryptionConfiguration()

Encryption configuration specific to a backup.

.google.cloud.sql.v1.DiskEncryptionConfiguration disk_encryption_configuration = 16;

Returns
Type Description
boolean

Whether the diskEncryptionConfiguration field is set.

hasDiskEncryptionStatus()

public abstract boolean hasDiskEncryptionStatus()

Encryption status specific to a backup.

.google.cloud.sql.v1.DiskEncryptionStatus disk_encryption_status = 17;

Returns
Type Description
boolean

Whether the diskEncryptionStatus field is set.

hasEndTime()

public abstract boolean hasEndTime()

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
boolean

Whether the endTime field is set.

hasEnqueuedTime()

public abstract boolean hasEnqueuedTime()

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp enqueued_time = 3;

Returns
Type Description
boolean

Whether the enqueuedTime field is set.

hasError()

public abstract boolean hasError()

Information about why the backup operation failed. This is only present if the run has the FAILED status.

.google.cloud.sql.v1.OperationError error = 7;

Returns
Type Description
boolean

Whether the error field is set.

hasMaxChargeableBytes()

public abstract boolean hasMaxChargeableBytes()

Output only. The maximum chargeable bytes for the backup.

optional int64 max_chargeable_bytes = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the maxChargeableBytes field is set.

hasStartTime()

public abstract boolean hasStartTime()

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
boolean

Whether the startTime field is set.

hasWindowStartTime()

public abstract boolean hasWindowStartTime()

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp window_start_time = 10;

Returns
Type Description
boolean

Whether the windowStartTime field is set.