Interface AppliedAutoProtectionPolicyOrBuilder (0.58.0)

public interface AppliedAutoProtectionPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlanDetails(int index)

public abstract BackupPlanDetail getBackupPlanDetails(int index)

Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupPlanDetail

getBackupPlanDetailsCount()

public abstract int getBackupPlanDetailsCount()

Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getBackupPlanDetailsList()

public abstract List<BackupPlanDetail> getBackupPlanDetailsList()

Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BackupPlanDetail>

getBackupPlanDetailsOrBuilder(int index)

public abstract BackupPlanDetailOrBuilder getBackupPlanDetailsOrBuilder(int index)

Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupPlanDetailOrBuilder

getBackupPlanDetailsOrBuilderList()

public abstract List<? extends BackupPlanDetailOrBuilder> getBackupPlanDetailsOrBuilderList()

Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1beta.BackupPlanDetailOrBuilder>

getBindingEvaluationSummary()

public abstract BindingEvaluationSummary getBindingEvaluationSummary()

Output only. The summary of the last policy application when the job has run.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BindingEvaluationSummary

The bindingEvaluationSummary.

getBindingEvaluationSummaryOrBuilder()

public abstract BindingEvaluationSummaryOrBuilder getBindingEvaluationSummaryOrBuilder()

Output only. The summary of the last policy application when the job has run.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BindingEvaluationSummaryOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp indicating when the binding was last created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp indicating when the binding was last created.

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

Returns
Type Description
TimestampOrBuilder

getCriteria()

public abstract Criteria getCriteria()

Output only. The criteria resources must meet for this rule to apply. From AutoProtectionPolicy.criteria.

.google.cloud.backupdr.v1beta.Criteria criteria = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Criteria

The criteria.

getCriteriaOrBuilder()

public abstract CriteriaOrBuilder getCriteriaOrBuilder()

Output only. The criteria resources must meet for this rule to apply. From AutoProtectionPolicy.criteria.

.google.cloud.backupdr.v1beta.Criteria criteria = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CriteriaOrBuilder

getName()

public abstract String getName()

Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.

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

Returns
Type Description
ByteString

The bytes for name.

getSourceBinding()

public abstract String getSourceBinding()

Output only. The full resource name of the AutoProtectionPolicyBinding that applies the source policy to a scope including this workload project. e.g., projects/{admin-project}/locations/{location}/autoProtectionPolicies/{policy_id}/autoProtectionPolicyBindings/{binding_id}.

string source_binding = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sourceBinding.

getSourceBindingBytes()

public abstract ByteString getSourceBindingBytes()

Output only. The full resource name of the AutoProtectionPolicyBinding that applies the source policy to a scope including this workload project. e.g., projects/{admin-project}/locations/{location}/autoProtectionPolicies/{policy_id}/autoProtectionPolicyBindings/{binding_id}.

string source_binding = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sourceBinding.

getStatus()

public abstract AppliedAutoProtectionPolicy.State getStatus()

Output only. The status of the applied auto protection policy.

.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy.State status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppliedAutoProtectionPolicy.State

The status.

getStatusValue()

public abstract int getStatusValue()

Output only. The status of the applied auto protection policy.

.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy.State status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp indicating when the binding was last modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp indicating when the binding was last modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBindingEvaluationSummary()

public abstract boolean hasBindingEvaluationSummary()

Output only. The summary of the last policy application when the job has run.

.google.cloud.backupdr.v1beta.BindingEvaluationSummary binding_evaluation_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the bindingEvaluationSummary field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp indicating when the binding was last created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasCriteria()

public abstract boolean hasCriteria()

Output only. The criteria resources must meet for this rule to apply. From AutoProtectionPolicy.criteria.

.google.cloud.backupdr.v1beta.Criteria criteria = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the criteria field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Timestamp indicating when the binding was last modified.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.