public interface BackupPlanAssociationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBackupPlan()
public abstract String getBackupPlan()Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
 
 string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The backupPlan. | 
getBackupPlanBytes()
public abstract ByteString getBackupPlanBytes()Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
 
 string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for backupPlan. | 
getBackupPlanRevisionId()
public abstract String getBackupPlanRevisionId() Output only. The user friendly revision ID of the BackupPlanRevision.
Example: v0, v1, v2, etc.
 string backup_plan_revision_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The backupPlanRevisionId. | 
getBackupPlanRevisionIdBytes()
public abstract ByteString getBackupPlanRevisionIdBytes() Output only. The user friendly revision ID of the BackupPlanRevision.
Example: v0, v1, v2, etc.
 string backup_plan_revision_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for backupPlanRevisionId. | 
getBackupPlanRevisionName()
public abstract String getBackupPlanRevisionName() Output only. The resource id of the BackupPlanRevision.
 Format:
 projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}
 string backup_plan_revision_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The backupPlanRevisionName. | 
getBackupPlanRevisionNameBytes()
public abstract ByteString getBackupPlanRevisionNameBytes() Output only. The resource id of the BackupPlanRevision.
 Format:
 projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}
 string backup_plan_revision_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for backupPlanRevisionName. | 
getCloudSqlInstanceBackupPlanAssociationProperties()
public abstract CloudSqlInstanceBackupPlanAssociationProperties getCloudSqlInstanceBackupPlanAssociationProperties()Output only. Cloud SQL instance's backup plan association properties.
 
 .google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceBackupPlanAssociationProperties | The cloudSqlInstanceBackupPlanAssociationProperties. | 
getCloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder()
public abstract CloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder getCloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder()Output only. Cloud SQL instance's backup plan association properties.
 
 .google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| CloudSqlInstanceBackupPlanAssociationPropertiesOrBuilder | |
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The time when the instance was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the instance was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDataSource()
public abstract String getDataSource()Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
 string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The dataSource. | 
getDataSourceBytes()
public abstract ByteString getDataSourceBytes()Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
 string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for dataSource. | 
getName()
public abstract String getName()Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
 
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public abstract ByteString getNameBytes()Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
 
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getResource()
public abstract String getResource()Required. Immutable. Resource name of workload on which the backup plan is applied.
The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").
 
 string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The resource. | 
getResourceBytes()
public abstract ByteString getResourceBytes()Required. Immutable. Resource name of workload on which the backup plan is applied.
The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").
 
 string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for resource. | 
getResourcePropertiesCase()
public abstract BackupPlanAssociation.ResourcePropertiesCase getResourcePropertiesCase()| Returns | |
|---|---|
| Type | Description | 
| BackupPlanAssociation.ResourcePropertiesCase | |
getResourceType()
public abstract String getResourceType()Required. Immutable. Resource type of workload on which backupplan is applied
 
 string resource_type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| String | The resourceType. | 
getResourceTypeBytes()
public abstract ByteString getResourceTypeBytes()Required. Immutable. Resource type of workload on which backupplan is applied
 
 string resource_type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for resourceType. | 
getRulesConfigInfo(int index)
public abstract RuleConfigInfo getRulesConfigInfo(int index)Output only. The config info related to backup rules.
 
 repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RuleConfigInfo | |
getRulesConfigInfoCount()
public abstract int getRulesConfigInfoCount()Output only. The config info related to backup rules.
 
 repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getRulesConfigInfoList()
public abstract List<RuleConfigInfo> getRulesConfigInfoList()Output only. The config info related to backup rules.
 
 repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| List<RuleConfigInfo> | |
getRulesConfigInfoOrBuilder(int index)
public abstract RuleConfigInfoOrBuilder getRulesConfigInfoOrBuilder(int index)Output only. The config info related to backup rules.
 
 repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| RuleConfigInfoOrBuilder | |
getRulesConfigInfoOrBuilderList()
public abstract List<? extends RuleConfigInfoOrBuilder> getRulesConfigInfoOrBuilderList()Output only. The config info related to backup rules.
 
 repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.backupdr.v1.RuleConfigInfoOrBuilder> | |
getState()
public abstract BackupPlanAssociation.State getState()Output only. The BackupPlanAssociation resource state.
 
 .google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| BackupPlanAssociation.State | The state. | 
getStateValue()
public abstract int getStateValue()Output only. The BackupPlanAssociation resource state.
 
 .google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The time when the instance was updated.
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the instance was updated.
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCloudSqlInstanceBackupPlanAssociationProperties()
public abstract boolean hasCloudSqlInstanceBackupPlanAssociationProperties()Output only. Cloud SQL instance's backup plan association properties.
 
 .google.cloud.backupdr.v1.CloudSqlInstanceBackupPlanAssociationProperties cloud_sql_instance_backup_plan_association_properties = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the cloudSqlInstanceBackupPlanAssociationProperties field is set. | 
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The time when the instance was created.
 .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The time when the instance was updated.
 .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. |