public static final class AppliedAutoProtectionPolicy.Builder extends GeneratedMessage.Builder<AppliedAutoProtectionPolicy.Builder> implements AppliedAutoProtectionPolicyOrBuilderAppliedAutoProtectionPolicy is a read-only view of AutoProtectionPolicy and AutoProtectionPolicyBinding resources that apply to a given workload project.
Protobuf type google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AppliedAutoProtectionPolicy.BuilderImplements
AppliedAutoProtectionPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackupPlanDetails(Iterable<? extends BackupPlanDetail> values)
public AppliedAutoProtectionPolicy.Builder addAllBackupPlanDetails(Iterable<? extends BackupPlanDetail> values)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 |
values |
Iterable<? extends com.google.cloud.backupdr.v1beta.BackupPlanDetail> |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
addBackupPlanDetails(BackupPlanDetail value)
public AppliedAutoProtectionPolicy.Builder addBackupPlanDetails(BackupPlanDetail value)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 |
value |
BackupPlanDetail |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
addBackupPlanDetails(BackupPlanDetail.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder addBackupPlanDetails(BackupPlanDetail.Builder builderForValue)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 |
builderForValue |
BackupPlanDetail.Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
addBackupPlanDetails(int index, BackupPlanDetail value)
public AppliedAutoProtectionPolicy.Builder addBackupPlanDetails(int index, BackupPlanDetail value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupPlanDetail |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
addBackupPlanDetails(int index, BackupPlanDetail.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder addBackupPlanDetails(int index, BackupPlanDetail.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupPlanDetail.Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
addBackupPlanDetailsBuilder()
public BackupPlanDetail.Builder addBackupPlanDetailsBuilder()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 |
BackupPlanDetail.Builder |
|
addBackupPlanDetailsBuilder(int index)
public BackupPlanDetail.Builder addBackupPlanDetailsBuilder(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.Builder |
|
build()
public AppliedAutoProtectionPolicy build()| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy |
|
buildPartial()
public AppliedAutoProtectionPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy |
|
clear()
public AppliedAutoProtectionPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
clearBackupPlanDetails()
public AppliedAutoProtectionPolicy.Builder clearBackupPlanDetails()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 |
AppliedAutoProtectionPolicy.Builder |
|
clearBindingEvaluationSummary()
public AppliedAutoProtectionPolicy.Builder clearBindingEvaluationSummary()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 |
AppliedAutoProtectionPolicy.Builder |
|
clearCreateTime()
public AppliedAutoProtectionPolicy.Builder clearCreateTime()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 |
AppliedAutoProtectionPolicy.Builder |
|
clearCriteria()
public AppliedAutoProtectionPolicy.Builder clearCriteria()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 |
AppliedAutoProtectionPolicy.Builder |
|
clearName()
public AppliedAutoProtectionPolicy.Builder clearName()Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
clearSourceBinding()
public AppliedAutoProtectionPolicy.Builder clearSourceBinding()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 |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
clearStatus()
public AppliedAutoProtectionPolicy.Builder clearStatus()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.Builder |
This builder for chaining. |
clearUpdateTime()
public AppliedAutoProtectionPolicy.Builder clearUpdateTime()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 |
AppliedAutoProtectionPolicy.Builder |
|
getBackupPlanDetails(int index)
public 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 |
|
getBackupPlanDetailsBuilder(int index)
public BackupPlanDetail.Builder getBackupPlanDetailsBuilder(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.Builder |
|
getBackupPlanDetailsBuilderList()
public List<BackupPlanDetail.Builder> getBackupPlanDetailsBuilderList()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<Builder> |
|
getBackupPlanDetailsCount()
public 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 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 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 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 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. |
getBindingEvaluationSummaryBuilder()
public BindingEvaluationSummary.Builder getBindingEvaluationSummaryBuilder()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.Builder |
|
getBindingEvaluationSummaryOrBuilder()
public 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 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()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 |
Builder |
|
getCreateTimeOrBuilder()
public 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 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. |
getCriteriaBuilder()
public Criteria.Builder getCriteriaBuilder()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.Builder |
|
getCriteriaOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public AppliedAutoProtectionPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public 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 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 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 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()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 |
Builder |
|
getUpdateTimeOrBuilder()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBindingEvaluationSummary(BindingEvaluationSummary value)
public AppliedAutoProtectionPolicy.Builder mergeBindingEvaluationSummary(BindingEvaluationSummary value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BindingEvaluationSummary |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
mergeCreateTime(Timestamp value)
public AppliedAutoProtectionPolicy.Builder mergeCreateTime(Timestamp value)Output only. Timestamp indicating when the binding was last created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
mergeCriteria(Criteria value)
public AppliedAutoProtectionPolicy.Builder mergeCriteria(Criteria value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Criteria |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
mergeFrom(AppliedAutoProtectionPolicy other)
public AppliedAutoProtectionPolicy.Builder mergeFrom(AppliedAutoProtectionPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
AppliedAutoProtectionPolicy |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppliedAutoProtectionPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AppliedAutoProtectionPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
mergeUpdateTime(Timestamp value)
public AppliedAutoProtectionPolicy.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp indicating when the binding was last modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
removeBackupPlanDetails(int index)
public AppliedAutoProtectionPolicy.Builder removeBackupPlanDetails(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 |
AppliedAutoProtectionPolicy.Builder |
|
setBackupPlanDetails(int index, BackupPlanDetail value)
public AppliedAutoProtectionPolicy.Builder setBackupPlanDetails(int index, BackupPlanDetail value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BackupPlanDetail |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setBackupPlanDetails(int index, BackupPlanDetail.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder setBackupPlanDetails(int index, BackupPlanDetail.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackupPlanDetail.Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setBindingEvaluationSummary(BindingEvaluationSummary value)
public AppliedAutoProtectionPolicy.Builder setBindingEvaluationSummary(BindingEvaluationSummary value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BindingEvaluationSummary |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setBindingEvaluationSummary(BindingEvaluationSummary.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder setBindingEvaluationSummary(BindingEvaluationSummary.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BindingEvaluationSummary.Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setCreateTime(Timestamp value)
public AppliedAutoProtectionPolicy.Builder setCreateTime(Timestamp value)Output only. Timestamp indicating when the binding was last created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp indicating when the binding was last created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setCriteria(Criteria value)
public AppliedAutoProtectionPolicy.Builder setCriteria(Criteria value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Criteria |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setCriteria(Criteria.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder setCriteria(Criteria.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Criteria.Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setName(String value)
public AppliedAutoProtectionPolicy.Builder setName(String value)Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AppliedAutoProtectionPolicy.Builder setNameBytes(ByteString value)Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setSourceBinding(String value)
public AppliedAutoProtectionPolicy.Builder setSourceBinding(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceBinding to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setSourceBindingBytes(ByteString value)
public AppliedAutoProtectionPolicy.Builder setSourceBindingBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceBinding to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setStatus(AppliedAutoProtectionPolicy.State value)
public AppliedAutoProtectionPolicy.Builder setStatus(AppliedAutoProtectionPolicy.State value)Output only. The status of the applied auto protection policy.
.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy.State status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AppliedAutoProtectionPolicy.StateThe status to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setStatusValue(int value)
public AppliedAutoProtectionPolicy.Builder setStatusValue(int value)Output only. The status of the applied auto protection policy.
.google.cloud.backupdr.v1beta.AppliedAutoProtectionPolicy.State status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public AppliedAutoProtectionPolicy.Builder setUpdateTime(Timestamp value)Output only. Timestamp indicating when the binding was last modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public AppliedAutoProtectionPolicy.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp indicating when the binding was last modified.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AppliedAutoProtectionPolicy.Builder |
|