Interface ResourceBackupConfigOrBuilder (0.41.0)

public interface ResourceBackupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTargetResourceLabels(String key)

public abstract boolean containsTargetResourceLabels(String key)

Labels associated with the target resource.

map<string, string> target_resource_labels = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBackupConfigsDetails(int index)

public abstract BackupConfigDetails getBackupConfigsDetails(int index)

Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

repeated .google.cloud.backupdr.v1.BackupConfigDetails backup_configs_details = 7;

Parameter
Name Description
index int
Returns
Type Description
BackupConfigDetails

getBackupConfigsDetailsCount()

public abstract int getBackupConfigsDetailsCount()

Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

repeated .google.cloud.backupdr.v1.BackupConfigDetails backup_configs_details = 7;

Returns
Type Description
int

getBackupConfigsDetailsList()

public abstract List<BackupConfigDetails> getBackupConfigsDetailsList()

Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

repeated .google.cloud.backupdr.v1.BackupConfigDetails backup_configs_details = 7;

Returns
Type Description
List<BackupConfigDetails>

getBackupConfigsDetailsOrBuilder(int index)

public abstract BackupConfigDetailsOrBuilder getBackupConfigsDetailsOrBuilder(int index)

Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

repeated .google.cloud.backupdr.v1.BackupConfigDetails backup_configs_details = 7;

Parameter
Name Description
index int
Returns
Type Description
BackupConfigDetailsOrBuilder

getBackupConfigsDetailsOrBuilderList()

public abstract List<? extends BackupConfigDetailsOrBuilder> getBackupConfigsDetailsOrBuilderList()

Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

repeated .google.cloud.backupdr.v1.BackupConfigDetails backup_configs_details = 7;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupConfigDetailsOrBuilder>

getBackupConfigured()

public abstract boolean getBackupConfigured()

Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.

bool backup_configured = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The backupConfigured.

getName()

public abstract String getName()

Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}

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

Returns
Type Description
ByteString

The bytes for name.

getTargetResource()

public abstract String getTargetResource()

Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetResource.

getTargetResourceBytes()

public abstract ByteString getTargetResourceBytes()

Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType.

string target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetResource.

getTargetResourceDisplayName()

public abstract String getTargetResourceDisplayName()

Output only. The human friendly name of the target resource.

string target_resource_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetResourceDisplayName.

getTargetResourceDisplayNameBytes()

public abstract ByteString getTargetResourceDisplayNameBytes()

Output only. The human friendly name of the target resource.

string target_resource_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetResourceDisplayName.

getTargetResourceLabels() (deprecated)

public abstract Map<String,String> getTargetResourceLabels()
Returns
Type Description
Map<String,String>

getTargetResourceLabelsCount()

public abstract int getTargetResourceLabelsCount()

Labels associated with the target resource.

map<string, string> target_resource_labels = 6;

Returns
Type Description
int

getTargetResourceLabelsMap()

public abstract Map<String,String> getTargetResourceLabelsMap()

Labels associated with the target resource.

map<string, string> target_resource_labels = 6;

Returns
Type Description
Map<String,String>

getTargetResourceLabelsOrDefault(String key, String defaultValue)

public abstract String getTargetResourceLabelsOrDefault(String key, String defaultValue)

Labels associated with the target resource.

map<string, string> target_resource_labels = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTargetResourceLabelsOrThrow(String key)

public abstract String getTargetResourceLabelsOrThrow(String key)

Labels associated with the target resource.

map<string, string> target_resource_labels = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getTargetResourceType()

public abstract ResourceBackupConfig.ResourceType getTargetResourceType()

Output only. The type of the target resource.

.google.cloud.backupdr.v1.ResourceBackupConfig.ResourceType target_resource_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBackupConfig.ResourceType

The targetResourceType.

getTargetResourceTypeValue()

public abstract int getTargetResourceTypeValue()

Output only. The type of the target resource.

.google.cloud.backupdr.v1.ResourceBackupConfig.ResourceType target_resource_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for targetResourceType.

getUid()

public abstract String getUid()

Output only. The unique identifier of the resource backup config.

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

Returns
Type Description
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. The unique identifier of the resource backup config.

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

Returns
Type Description
ByteString

The bytes for uid.

getVaulted()

public abstract boolean getVaulted()

Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set.

bool vaulted = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The vaulted.