Class BackupPlan.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
com.google.cloud.gkebackup.v1.BackupPlan.Builder
All Implemented Interfaces:
BackupPlanOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BackupPlan

public static final class BackupPlan.Builder extends com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder> implements BackupPlanOrBuilder
 Defines the configuration and scheduling for a "line" of Backups.
 
Protobuf type google.cloud.gkebackup.v1.BackupPlan
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • clear

      public BackupPlan.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • getDefaultInstanceForType

      public BackupPlan getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BackupPlan build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BackupPlan buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BackupPlan.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackupPlan.Builder>
    • mergeFrom

      public BackupPlan.Builder mergeFrom(BackupPlan other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BackupPlan.Builder>
    • mergeFrom

      public BackupPlan.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackupPlan.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface BackupPlanOrBuilder
      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:
      getNameBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for name.
    • setName

      public BackupPlan.Builder setName(String value)
       Output only. The full name of the BackupPlan resource.
       Format: `projects/*/locations/*/backupPlans/*`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public BackupPlan.Builder clearName()
       Output only. The full name of the BackupPlan resource.
       Format: `projects/*/locations/*/backupPlans/*`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public BackupPlan.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The full name of the BackupPlan resource.
       Format: `projects/*/locations/*/backupPlans/*`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUid

      public String 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:
      getUid in interface BackupPlanOrBuilder
      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:
      getUidBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public BackupPlan.Builder setUid(String value)
       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];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public BackupPlan.Builder clearUid()
       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];
      Returns:
      This builder for chaining.
    • setUidBytes

      public BackupPlan.Builder setUidBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • 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:
      hasCreateTime in interface BackupPlanOrBuilder
      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:
      getCreateTime in interface BackupPlanOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public BackupPlan.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupPlan resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public BackupPlan.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this BackupPlan resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public BackupPlan.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupPlan resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public BackupPlan.Builder clearCreateTime()
       Output only. The timestamp when this BackupPlan resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when this BackupPlan resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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:
      getCreateTimeOrBuilder in interface BackupPlanOrBuilder
    • 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:
      hasUpdateTime in interface BackupPlanOrBuilder
      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:
      getUpdateTime in interface BackupPlanOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public BackupPlan.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupPlan resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public BackupPlan.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when this BackupPlan resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public BackupPlan.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when this BackupPlan resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public BackupPlan.Builder clearUpdateTime()
       Output only. The timestamp when this BackupPlan resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when this BackupPlan resource was last
       updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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:
      getUpdateTimeOrBuilder in interface BackupPlanOrBuilder
    • getDescription

      public String getDescription()
       Optional. User specified descriptive string for this BackupPlan.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface BackupPlanOrBuilder
      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:
      getDescriptionBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public BackupPlan.Builder setDescription(String value)
       Optional. User specified descriptive string for this BackupPlan.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public BackupPlan.Builder clearDescription()
       Optional. User specified descriptive string for this BackupPlan.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public BackupPlan.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. User specified descriptive string for this BackupPlan.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getCluster

      public String 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:
      getCluster in interface BackupPlanOrBuilder
      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:
      getClusterBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

      public BackupPlan.Builder setCluster(String value)
       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) = { ... }
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

      public BackupPlan.Builder clearCluster()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setClusterBytes

      public BackupPlan.Builder setClusterBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • 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:
      hasRetentionPolicy in interface BackupPlanOrBuilder
      Returns:
      Whether the retentionPolicy field is set.
    • getRetentionPolicy

      public BackupPlan.RetentionPolicy 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:
      getRetentionPolicy in interface BackupPlanOrBuilder
      Returns:
      The retentionPolicy.
    • setRetentionPolicy

      public BackupPlan.Builder setRetentionPolicy(BackupPlan.RetentionPolicy value)
       Optional. RetentionPolicy governs lifecycle of Backups created under this
       plan.
       
      .google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setRetentionPolicy

      public BackupPlan.Builder setRetentionPolicy(BackupPlan.RetentionPolicy.Builder builderForValue)
       Optional. RetentionPolicy governs lifecycle of Backups created under this
       plan.
       
      .google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeRetentionPolicy

      public BackupPlan.Builder mergeRetentionPolicy(BackupPlan.RetentionPolicy value)
       Optional. RetentionPolicy governs lifecycle of Backups created under this
       plan.
       
      .google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearRetentionPolicy

      public BackupPlan.Builder clearRetentionPolicy()
       Optional. RetentionPolicy governs lifecycle of Backups created under this
       plan.
       
      .google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getRetentionPolicyBuilder

      public BackupPlan.RetentionPolicy.Builder getRetentionPolicyBuilder()
       Optional. RetentionPolicy governs lifecycle of Backups created under this
       plan.
       
      .google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy retention_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getRetentionPolicyOrBuilder

      public BackupPlan.RetentionPolicyOrBuilder 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:
      getRetentionPolicyOrBuilder in interface BackupPlanOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: BackupPlanOrBuilder
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface BackupPlanOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface BackupPlanOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface BackupPlanOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface BackupPlanOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface BackupPlanOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface BackupPlanOrBuilder
    • clearLabels

      public BackupPlan.Builder clearLabels()
    • removeLabels

      public BackupPlan.Builder removeLabels(String key)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public BackupPlan.Builder putLabels(String key, String value)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public BackupPlan.Builder putAllLabels(Map<String,String> values)
       Optional. A set of custom labels supplied by user.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      hasBackupSchedule in interface BackupPlanOrBuilder
      Returns:
      Whether the backupSchedule field is set.
    • getBackupSchedule

      public BackupPlan.Schedule 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:
      getBackupSchedule in interface BackupPlanOrBuilder
      Returns:
      The backupSchedule.
    • setBackupSchedule

      public BackupPlan.Builder setBackupSchedule(BackupPlan.Schedule value)
       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];
    • setBackupSchedule

      public BackupPlan.Builder setBackupSchedule(BackupPlan.Schedule.Builder builderForValue)
       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];
    • mergeBackupSchedule

      public BackupPlan.Builder mergeBackupSchedule(BackupPlan.Schedule value)
       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];
    • clearBackupSchedule

      public BackupPlan.Builder clearBackupSchedule()
       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];
    • getBackupScheduleBuilder

      public BackupPlan.Schedule.Builder getBackupScheduleBuilder()
       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];
    • getBackupScheduleOrBuilder

      public BackupPlan.ScheduleOrBuilder 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:
      getBackupScheduleOrBuilder in interface BackupPlanOrBuilder
    • getEtag

      public String 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:
      getEtag in interface BackupPlanOrBuilder
      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:
      getEtagBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public BackupPlan.Builder setEtag(String value)
       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];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public BackupPlan.Builder clearEtag()
       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];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public BackupPlan.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • 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:
      getDeactivated in interface BackupPlanOrBuilder
      Returns:
      The deactivated.
    • setDeactivated

      public BackupPlan.Builder setDeactivated(boolean value)
       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];
      Parameters:
      value - The deactivated to set.
      Returns:
      This builder for chaining.
    • clearDeactivated

      public BackupPlan.Builder clearDeactivated()
       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];
      Returns:
      This builder for chaining.
    • 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:
      hasBackupConfig in interface BackupPlanOrBuilder
      Returns:
      Whether the backupConfig field is set.
    • getBackupConfig

      public BackupPlan.BackupConfig 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:
      getBackupConfig in interface BackupPlanOrBuilder
      Returns:
      The backupConfig.
    • setBackupConfig

      public BackupPlan.Builder setBackupConfig(BackupPlan.BackupConfig value)
       Optional. Defines the configuration of Backups created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setBackupConfig

      public BackupPlan.Builder setBackupConfig(BackupPlan.BackupConfig.Builder builderForValue)
       Optional. Defines the configuration of Backups created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBackupConfig

      public BackupPlan.Builder mergeBackupConfig(BackupPlan.BackupConfig value)
       Optional. Defines the configuration of Backups created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearBackupConfig

      public BackupPlan.Builder clearBackupConfig()
       Optional. Defines the configuration of Backups created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getBackupConfigBuilder

      public BackupPlan.BackupConfig.Builder getBackupConfigBuilder()
       Optional. Defines the configuration of Backups created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlan.BackupConfig backup_config = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getBackupConfigOrBuilder

      public BackupPlan.BackupConfigOrBuilder 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:
      getBackupConfigOrBuilder in interface BackupPlanOrBuilder
    • 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:
      getProtectedPodCount in interface BackupPlanOrBuilder
      Returns:
      The protectedPodCount.
    • setProtectedPodCount

      public BackupPlan.Builder setProtectedPodCount(int value)
       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];
      Parameters:
      value - The protectedPodCount to set.
      Returns:
      This builder for chaining.
    • clearProtectedPodCount

      public BackupPlan.Builder clearProtectedPodCount()
       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];
      Returns:
      This builder for chaining.
    • 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:
      getStateValue in interface BackupPlanOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public BackupPlan.Builder setStateValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public BackupPlan.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:
      getState in interface BackupPlanOrBuilder
      Returns:
      The state.
    • setState

      public BackupPlan.Builder setState(BackupPlan.State value)
       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];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public BackupPlan.Builder clearState()
       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];
      Returns:
      This builder for chaining.
    • getStateReason

      public String 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:
      getStateReason in interface BackupPlanOrBuilder
      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:
      getStateReasonBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for stateReason.
    • setStateReason

      public BackupPlan.Builder setStateReason(String value)
       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];
      Parameters:
      value - The stateReason to set.
      Returns:
      This builder for chaining.
    • clearStateReason

      public BackupPlan.Builder clearStateReason()
       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];
      Returns:
      This builder for chaining.
    • setStateReasonBytes

      public BackupPlan.Builder setStateReasonBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for stateReason to set.
      Returns:
      This builder for chaining.
    • 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:
      getRpoRiskLevel in interface BackupPlanOrBuilder
      Returns:
      The rpoRiskLevel.
    • setRpoRiskLevel

      public BackupPlan.Builder setRpoRiskLevel(int value)
       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];
      Parameters:
      value - The rpoRiskLevel to set.
      Returns:
      This builder for chaining.
    • clearRpoRiskLevel

      public BackupPlan.Builder clearRpoRiskLevel()
       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];
      Returns:
      This builder for chaining.
    • getRpoRiskReason

      public String 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:
      getRpoRiskReason in interface BackupPlanOrBuilder
      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:
      getRpoRiskReasonBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for rpoRiskReason.
    • setRpoRiskReason

      public BackupPlan.Builder setRpoRiskReason(String value)
       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];
      Parameters:
      value - The rpoRiskReason to set.
      Returns:
      This builder for chaining.
    • clearRpoRiskReason

      public BackupPlan.Builder clearRpoRiskReason()
       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];
      Returns:
      This builder for chaining.
    • setRpoRiskReasonBytes

      public BackupPlan.Builder setRpoRiskReasonBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for rpoRiskReason to set.
      Returns:
      This builder for chaining.
    • getBackupChannel

      public String 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:
      getBackupChannel in interface BackupPlanOrBuilder
      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:
      getBackupChannelBytes in interface BackupPlanOrBuilder
      Returns:
      The bytes for backupChannel.
    • setBackupChannel

      public BackupPlan.Builder setBackupChannel(String value)
       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) = { ... }
      Parameters:
      value - The backupChannel to set.
      Returns:
      This builder for chaining.
    • clearBackupChannel

      public BackupPlan.Builder clearBackupChannel()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setBackupChannelBytes

      public BackupPlan.Builder setBackupChannelBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for backupChannel to set.
      Returns:
      This builder for chaining.
    • 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:
      hasLastSuccessfulBackupTime in interface BackupPlanOrBuilder
      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:
      getLastSuccessfulBackupTime in interface BackupPlanOrBuilder
      Returns:
      The lastSuccessfulBackupTime.
    • setLastSuccessfulBackupTime

      public BackupPlan.Builder setLastSuccessfulBackupTime(com.google.protobuf.Timestamp value)
       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];
    • setLastSuccessfulBackupTime

      public BackupPlan.Builder setLastSuccessfulBackupTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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];
    • mergeLastSuccessfulBackupTime

      public BackupPlan.Builder mergeLastSuccessfulBackupTime(com.google.protobuf.Timestamp value)
       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];
    • clearLastSuccessfulBackupTime

      public BackupPlan.Builder clearLastSuccessfulBackupTime()
       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];
    • getLastSuccessfulBackupTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastSuccessfulBackupTimeBuilder()
       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];
    • 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:
      getLastSuccessfulBackupTimeOrBuilder in interface BackupPlanOrBuilder