public interface BackupPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Resource labels to represent user provided metadata.
|
int |
getAssignedVolumeCount()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
int |
getDailyBackupLimit()
Number of daily backups to keep.
|
String |
getDescription()
Description of the backup policy.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the backup policy.
|
boolean |
getEnabled()
If enabled, make backups automatically according to the schedules.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels to represent user provided metadata.
|
Map<String,String> |
getLabelsMap()
Resource labels to represent user provided metadata.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels to represent user provided metadata.
|
String |
getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
|
int |
getMonthlyBackupLimit()
Number of monthly backups to keep.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
BackupPolicy.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
int |
getWeeklyBackupLimit()
Number of weekly backups to keep.
|
boolean |
hasAssignedVolumeCount()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDailyBackupLimit()
Number of daily backups to keep.
|
boolean |
hasDescription()
Description of the backup policy.
|
boolean |
hasEnabled()
If enabled, make backups automatically according to the schedules.
|
boolean |
hasMonthlyBackupLimit()
Number of monthly backups to keep.
|
boolean |
hasWeeklyBackupLimit()
Number of weekly backups to keep.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Identifier. The resource name of the backup policy.
Format:
`projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. The resource name of the backup policy.
Format:
`projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];boolean hasDailyBackupLimit()
Number of daily backups to keep. Note that the minimum daily backup limit is 2.
optional int32 daily_backup_limit = 2;int getDailyBackupLimit()
Number of daily backups to keep. Note that the minimum daily backup limit is 2.
optional int32 daily_backup_limit = 2;boolean hasWeeklyBackupLimit()
Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
optional int32 weekly_backup_limit = 3;int getWeeklyBackupLimit()
Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
optional int32 weekly_backup_limit = 3;boolean hasMonthlyBackupLimit()
Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
optional int32 monthly_backup_limit = 4;int getMonthlyBackupLimit()
Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
optional int32 monthly_backup_limit = 4;boolean hasDescription()
Description of the backup policy.
optional string description = 5;String getDescription()
Description of the backup policy.
optional string description = 5;com.google.protobuf.ByteString getDescriptionBytes()
Description of the backup policy.
optional string description = 5;boolean hasEnabled()
If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.
optional bool enabled = 6;boolean getEnabled()
If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.
optional bool enabled = 6;boolean hasAssignedVolumeCount()
Output only. The total number of volumes assigned by this backup policy.
optional int32 assigned_volume_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getAssignedVolumeCount()
Output only. The total number of volumes assigned by this backup policy.
optional int32 assigned_volume_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasCreateTime()
Output only. The time when the backup policy was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the backup policy was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the backup policy was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Resource labels to represent user provided metadata.
map<string, string> labels = 9;boolean containsLabels(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Resource labels to represent user provided metadata.
map<string, string> labels = 9;String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;String getLabelsOrThrow(String key)
Resource labels to represent user provided metadata.
map<string, string> labels = 9;int getStateValue()
Output only. The backup policy state.
.google.cloud.netapp.v1.BackupPolicy.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
BackupPolicy.State getState()
Output only. The backup policy state.
.google.cloud.netapp.v1.BackupPolicy.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2024 Google LLC. All rights reserved.