Interface BackupCollectionOrBuilder (0.31.0)

public interface BackupCollectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the backup collection was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the backup collection was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getInstance()

public abstract String getInstance()

Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}

string instance = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}

string instance = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instance.

getInstanceUid()

public abstract String getInstanceUid()

Output only. The instance uid of the backup collection.

string instance_uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The instanceUid.

getInstanceUidBytes()

public abstract ByteString getInstanceUidBytes()

Output only. The instance uid of the backup collection.

string instance_uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for instanceUid.

getKmsKey()

public abstract String getKmsKey()

Output only. The KMS key used to encrypt the backups under this backup collection.

string kms_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The kmsKey.

getKmsKeyBytes()

public abstract ByteString getKmsKeyBytes()

Output only. The KMS key used to encrypt the backups under this backup collection.

string kms_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for kmsKey.

getLastBackupTime()

public abstract Timestamp getLastBackupTime()

Output only. The last time a backup was created in the backup collection.

.google.protobuf.Timestamp last_backup_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastBackupTime.

getLastBackupTimeOrBuilder()

public abstract TimestampOrBuilder getLastBackupTimeOrBuilder()

Output only. The last time a backup was created in the backup collection.

.google.protobuf.Timestamp last_backup_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. Full resource path of the backup collection.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Full resource path of the backup collection.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTotalBackupCount()

public abstract long getTotalBackupCount()

Output only. Total number of backups in the backup collection.

int64 total_backup_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalBackupCount.

getTotalBackupSizeBytes()

public abstract long getTotalBackupSizeBytes()

Output only. Total size of all backups in the backup collection.

int64 total_backup_size_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalBackupSizeBytes.

getUid()

public abstract String getUid()

Output only. System assigned unique identifier of the backup collection.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. System assigned unique identifier of the backup collection.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the backup collection was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastBackupTime()

public abstract boolean hasLastBackupTime()

Output only. The last time a backup was created in the backup collection.

.google.protobuf.Timestamp last_backup_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastBackupTime field is set.