public interface AutoProtectionPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBackupPlanDetails(int index)
public abstract BackupPlanDetail getBackupPlanDetails(int index)Required. The backup plan details for matching resources.
repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlanDetail |
|
getBackupPlanDetailsCount()
public abstract int getBackupPlanDetailsCount()Required. The backup plan details for matching resources.
repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getBackupPlanDetailsList()
public abstract List<BackupPlanDetail> getBackupPlanDetailsList()Required. The backup plan details for matching resources.
repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<BackupPlanDetail> |
|
getBackupPlanDetailsOrBuilder(int index)
public abstract BackupPlanDetailOrBuilder getBackupPlanDetailsOrBuilder(int index)Required. The backup plan details for matching resources.
repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BackupPlanDetailOrBuilder |
|
getBackupPlanDetailsOrBuilderList()
public abstract List<? extends BackupPlanDetailOrBuilder> getBackupPlanDetailsOrBuilderList()Required. The backup plan details for matching resources.
repeated .google.cloud.backupdr.v1beta.BackupPlanDetail backup_plan_details = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1beta.BackupPlanDetailOrBuilder> |
|
getBindingSummary()
public abstract BindingSummary getBindingSummary()Output only. Summary of total count of different containers covered through this policy.
.google.cloud.backupdr.v1beta.BindingSummary binding_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BindingSummary |
The bindingSummary. |
getBindingSummaryOrBuilder()
public abstract BindingSummaryOrBuilder getBindingSummaryOrBuilder()Output only. Summary of total count of different containers covered through this policy.
.google.cloud.backupdr.v1beta.BindingSummary binding_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BindingSummaryOrBuilder |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The timestamp when the policy was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the policy was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCriteria()
public abstract Criteria getCriteria()Required. The criteria for matching resources.
.google.cloud.backupdr.v1beta.Criteria criteria = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Criteria |
The criteria. |
getCriteriaOrBuilder()
public abstract CriteriaOrBuilder getCriteriaOrBuilder()Required. The criteria for matching resources.
.google.cloud.backupdr.v1beta.Criteria criteria = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CriteriaOrBuilder |
|
getDescription()
public abstract String getDescription()Optional. A description of the policy.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. A description of the policy.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getEtag()
public abstract String getEtag()Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error.
string etag = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()Output only. The etag for the policy. If this is provided on update, it must match the server's etag, otherwise the request will be rejected with an ABORTED error.
string etag = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getName()
public abstract String getName() Identifier. The resource name of the AutoprotectionPolicy.
Format:
projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
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 AutoprotectionPolicy.
Format:
projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPolicyEvaluationSummary()
public abstract PolicyEvaluationSummary getPolicyEvaluationSummary()Output only. Summary of last policy application when job was run per workload type.
.google.cloud.backupdr.v1beta.PolicyEvaluationSummary policy_evaluation_summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummary |
The policyEvaluationSummary. |
getPolicyEvaluationSummaryOrBuilder()
public abstract PolicyEvaluationSummaryOrBuilder getPolicyEvaluationSummaryOrBuilder()Output only. Summary of last policy application when job was run per workload type.
.google.cloud.backupdr.v1beta.PolicyEvaluationSummary policy_evaluation_summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PolicyEvaluationSummaryOrBuilder |
|
getState()
public abstract AutoProtectionPolicy.State getState()Output only. The current state of the AutoprotectionPolicy.
.google.cloud.backupdr.v1beta.AutoProtectionPolicy.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AutoProtectionPolicy.State |
The state. |
getStateValue()
public abstract int getStateValue()Output only. The current state of the AutoprotectionPolicy.
.google.cloud.backupdr.v1beta.AutoProtectionPolicy.State state = 5 [(.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 timestamp when the policy was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the policy was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasBindingSummary()
public abstract boolean hasBindingSummary()Output only. Summary of total count of different containers covered through this policy.
.google.cloud.backupdr.v1beta.BindingSummary binding_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bindingSummary field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The timestamp when the policy was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasCriteria()
public abstract boolean hasCriteria()Required. The criteria for matching resources.
.google.cloud.backupdr.v1beta.Criteria criteria = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the criteria field is set. |
hasPolicyEvaluationSummary()
public abstract boolean hasPolicyEvaluationSummary()Output only. Summary of last policy application when job was run per workload type.
.google.cloud.backupdr.v1beta.PolicyEvaluationSummary policy_evaluation_summary = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the policyEvaluationSummary field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The timestamp when the policy was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |