Package com.google.cloud.gkebackup.v1
Class BackupPlan
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkebackup.v1.BackupPlan
- All Implemented Interfaces:
BackupPlanOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class BackupPlan
extends com.google.protobuf.GeneratedMessage
implements BackupPlanOrBuilder
Defines the configuration and scheduling for a "line" of Backups.Protobuf type
google.cloud.gkebackup.v1.BackupPlan- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBackupConfig defines the configuration of Backups created via this BackupPlan.static interfacestatic final classDefines the configuration and scheduling for a "line" of Backups.static final classRetentionPolicy defines a Backup retention policy for a BackupPlan.static interfacestatic final classDefines scheduling parameters for automatically creating Backups via this BackupPlan.static interfacestatic enumStateNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanOutput only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.static BackupPlanOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorgetEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<BackupPlan>intOutput only.Optional.Optional.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.intgetState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanOptional.booleanOutput only.inthashCode()booleanOutput only.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic BackupPlan.Builderstatic BackupPlan.BuildernewBuilder(BackupPlan prototype) protected BackupPlan.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BackupPlanparseDelimitedFrom(InputStream input) static BackupPlanparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BackupPlanparseFrom(byte[] data) static BackupPlanparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BackupPlanparseFrom(com.google.protobuf.ByteString data) static BackupPlanparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BackupPlanparseFrom(com.google.protobuf.CodedInputStream input) static BackupPlanparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BackupPlanparseFrom(InputStream input) static BackupPlanparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BackupPlanparseFrom(ByteBuffer data) static BackupPlanparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BackupPlan>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
RETENTION_POLICY_FIELD_NUMBER
public static final int RETENTION_POLICY_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
BACKUP_SCHEDULE_FIELD_NUMBER
public static final int BACKUP_SCHEDULE_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
DEACTIVATED_FIELD_NUMBER
public static final int DEACTIVATED_FIELD_NUMBER- See Also:
-
BACKUP_CONFIG_FIELD_NUMBER
public static final int BACKUP_CONFIG_FIELD_NUMBER- See Also:
-
PROTECTED_POD_COUNT_FIELD_NUMBER
public static final int PROTECTED_POD_COUNT_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
STATE_REASON_FIELD_NUMBER
public static final int STATE_REASON_FIELD_NUMBER- See Also:
-
RPO_RISK_LEVEL_FIELD_NUMBER
public static final int RPO_RISK_LEVEL_FIELD_NUMBER- See Also:
-
RPO_RISK_REASON_FIELD_NUMBER
public static final int RPO_RISK_REASON_FIELD_NUMBER- See Also:
-
BACKUP_CHANNEL_FIELD_NUMBER
public static final int BACKUP_CHANNEL_FIELD_NUMBER- See Also:
-
LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. The full name of the BackupPlan resource. Format: `projects/*/locations/*/backupPlans/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceBackupPlanOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The full name of the BackupPlan resource. Format: `projects/*/locations/*/backupPlans/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for name.
-
getUid
Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceBackupPlanOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for uid.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp when this BackupPlan resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceBackupPlanOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp when this BackupPlan resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceBackupPlanOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when this BackupPlan resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceBackupPlanOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp when this BackupPlan resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceBackupPlanOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when this BackupPlan resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceBackupPlanOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when this BackupPlan resource was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceBackupPlanOrBuilder
-
getDescription
Optional. User specified descriptive string for this BackupPlan.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceBackupPlanOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. User specified descriptive string for this BackupPlan.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for description.
-
getCluster
Required. Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`
string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getClusterin interfaceBackupPlanOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Required. Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`
string cluster = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getClusterBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for cluster.
-
hasRetentionPolicy
public boolean hasRetentionPolicy()Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRetentionPolicyin interfaceBackupPlanOrBuilder- Returns:
- Whether the retentionPolicy field is set.
-
getRetentionPolicy
Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionPolicyin interfaceBackupPlanOrBuilder- Returns:
- The retentionPolicy.
-
getRetentionPolicyOrBuilder
Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionPolicyOrBuilderin interfaceBackupPlanOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:BackupPlanOrBuilderOptional. A set of custom labels supplied by user.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceBackupPlanOrBuilder
-
containsLabels
Optional. A set of custom labels supplied by user.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceBackupPlanOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceBackupPlanOrBuilder
-
getLabelsMap
Optional. A set of custom labels supplied by user.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceBackupPlanOrBuilder
-
getLabelsOrDefault
Optional. A set of custom labels supplied by user.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceBackupPlanOrBuilder
-
getLabelsOrThrow
Optional. A set of custom labels supplied by user.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceBackupPlanOrBuilder
-
hasBackupSchedule
public boolean hasBackupSchedule()Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.Schedule backup_schedule = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBackupSchedulein interfaceBackupPlanOrBuilder- Returns:
- Whether the backupSchedule field is set.
-
getBackupSchedule
Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.Schedule backup_schedule = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupSchedulein interfaceBackupPlanOrBuilder- Returns:
- The backupSchedule.
-
getBackupScheduleOrBuilder
Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.Schedule backup_schedule = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupScheduleOrBuilderin interfaceBackupPlanOrBuilder
-
getEtag
Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlan`, and systems are expected to put that etag in the request to `UpdateBackupPlan` or `DeleteBackupPlan` to ensure that their change will be applied to the same version of the resource.
string etag = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagin interfaceBackupPlanOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlan`, and systems are expected to put that etag in the request to `UpdateBackupPlan` or `DeleteBackupPlan` to ensure that their change will be applied to the same version of the resource.
string etag = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEtagBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for etag.
-
getDeactivated
public boolean getDeactivated()Optional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
bool deactivated = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeactivatedin interfaceBackupPlanOrBuilder- Returns:
- The deactivated.
-
hasBackupConfig
public boolean hasBackupConfig()Optional. Defines the configuration of Backups created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBackupConfigin interfaceBackupPlanOrBuilder- Returns:
- Whether the backupConfig field is set.
-
getBackupConfig
Optional. Defines the configuration of Backups created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupConfigin interfaceBackupPlanOrBuilder- Returns:
- The backupConfig.
-
getBackupConfigOrBuilder
Optional. Defines the configuration of Backups created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupConfigOrBuilderin interfaceBackupPlanOrBuilder
-
getProtectedPodCount
public int getProtectedPodCount()Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
int32 protected_pod_count = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProtectedPodCountin interfaceBackupPlanOrBuilder- Returns:
- The protectedPodCount.
-
getStateValue
public int getStateValue()Output only. State of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to "DEACTIVATED" if the BackupPlan is deactivated on an Update
.google.cloud.gkebackup.v1.BackupPlan.State state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceBackupPlanOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. State of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to "DEACTIVATED" if the BackupPlan is deactivated on an Update
.google.cloud.gkebackup.v1.BackupPlan.State state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceBackupPlanOrBuilder- Returns:
- The state.
-
getStateReason
Output only. Human-readable description of why BackupPlan is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonin interfaceBackupPlanOrBuilder- Returns:
- The stateReason.
-
getStateReasonBytes
public com.google.protobuf.ByteString getStateReasonBytes()Output only. Human-readable description of why BackupPlan is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
string state_reason = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateReasonBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for stateReason.
-
getRpoRiskLevel
public int getRpoRiskLevel()Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.
int32 rpo_risk_level = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRpoRiskLevelin interfaceBackupPlanOrBuilder- Returns:
- The rpoRiskLevel.
-
getRpoRiskReason
Output only. Human-readable description of why the BackupPlan is in the current rpo_risk_level and action items if any.
string rpo_risk_reason = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRpoRiskReasonin interfaceBackupPlanOrBuilder- Returns:
- The rpoRiskReason.
-
getRpoRiskReasonBytes
public com.google.protobuf.ByteString getRpoRiskReasonBytes()Output only. Human-readable description of why the BackupPlan is in the current rpo_risk_level and action items if any.
string rpo_risk_reason = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRpoRiskReasonBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for rpoRiskReason.
-
getBackupChannel
Output only. The fully qualified name of the BackupChannel to be used to create a backup. This field is set only if the cluster being backed up is in a different project. `projects/*/locations/*/backupChannels/*`
string backup_channel = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBackupChannelin interfaceBackupPlanOrBuilder- Returns:
- The backupChannel.
-
getBackupChannelBytes
public com.google.protobuf.ByteString getBackupChannelBytes()Output only. The fully qualified name of the BackupChannel to be used to create a backup. This field is set only if the cluster being backed up is in a different project. `projects/*/locations/*/backupChannels/*`
string backup_channel = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getBackupChannelBytesin interfaceBackupPlanOrBuilder- Returns:
- The bytes for backupChannel.
-
hasLastSuccessfulBackupTime
public boolean hasLastSuccessfulBackupTime()Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field. This field is added to maintain consistency with BackupPlanBinding to display last successful backup time.
.google.protobuf.Timestamp last_successful_backup_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastSuccessfulBackupTimein interfaceBackupPlanOrBuilder- Returns:
- Whether the lastSuccessfulBackupTime field is set.
-
getLastSuccessfulBackupTime
public com.google.protobuf.Timestamp getLastSuccessfulBackupTime()Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field. This field is added to maintain consistency with BackupPlanBinding to display last successful backup time.
.google.protobuf.Timestamp last_successful_backup_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastSuccessfulBackupTimein interfaceBackupPlanOrBuilder- Returns:
- The lastSuccessfulBackupTime.
-
getLastSuccessfulBackupTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastSuccessfulBackupTimeOrBuilder()Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field. This field is added to maintain consistency with BackupPlanBinding to display last successful backup time.
.google.protobuf.Timestamp last_successful_backup_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastSuccessfulBackupTimeOrBuilderin interfaceBackupPlanOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BackupPlan parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlan parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlan parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlan parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlan parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlan parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BackupPlan parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BackupPlan parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BackupPlan parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BackupPlan.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-