Class BackupPlanBinding.BackupPlanDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
All Implemented Interfaces:
BackupPlanBinding.BackupPlanDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
BackupPlanBinding

public static final class BackupPlanBinding.BackupPlanDetails extends com.google.protobuf.GeneratedMessage implements BackupPlanBinding.BackupPlanDetailsOrBuilder
 Contains metadata about the backup plan/backup.
 
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
See Also:
  • Field Details

    • 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:
    • LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER

      public static final int LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
      See Also:
    • NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER

      public static final int NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER
      See Also:
    • RPO_RISK_LEVEL_FIELD_NUMBER

      public static final int RPO_RISK_LEVEL_FIELD_NUMBER
      See Also:
    • LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER

      public static final int LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER
      See Also:
    • BACKUP_CONFIG_DETAILS_FIELD_NUMBER

      public static final int BACKUP_CONFIG_DETAILS_FIELD_NUMBER
      See Also:
    • RETENTION_POLICY_DETAILS_FIELD_NUMBER

      public static final int RETENTION_POLICY_DETAILS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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 = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProtectedPodCount in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The protectedPodCount.
    • getStateValue

      public int getStateValue()
       Output only. State of the BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. State of the BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The state.
    • hasLastSuccessfulBackupTime

      public boolean hasLastSuccessfulBackupTime()
       Output only. Completion time of the last successful Backup. This is
       sourced from a successful Backup's complete_time field.
       
      .google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLastSuccessfulBackupTime in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      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.
       
      .google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastSuccessfulBackupTime in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      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.
       
      .google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastSuccessfulBackupTimeOrBuilder in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
    • hasNextScheduledBackupTime

      public boolean hasNextScheduledBackupTime()
       Output only. Start time of next scheduled backup under this BackupPlan by
       either cron_schedule or rpo config. This is sourced from BackupPlan.
       
      .google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasNextScheduledBackupTime in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      Whether the nextScheduledBackupTime field is set.
    • getNextScheduledBackupTime

      public com.google.protobuf.Timestamp getNextScheduledBackupTime()
       Output only. Start time of next scheduled backup under this BackupPlan by
       either cron_schedule or rpo config. This is sourced from BackupPlan.
       
      .google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextScheduledBackupTime in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The nextScheduledBackupTime.
    • getNextScheduledBackupTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getNextScheduledBackupTimeOrBuilder()
       Output only. Start time of next scheduled backup under this BackupPlan by
       either cron_schedule or rpo config. This is sourced from BackupPlan.
       
      .google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNextScheduledBackupTimeOrBuilder in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
    • 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRpoRiskLevel in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The rpoRiskLevel.
    • getLastSuccessfulBackup

      public String getLastSuccessfulBackup()
       Output only. The fully qualified name of the last successful Backup
       created under this BackupPlan.
       `projects/*/locations/*/backupPlans/*/backups/*`
       
      string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastSuccessfulBackup in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The lastSuccessfulBackup.
    • getLastSuccessfulBackupBytes

      public com.google.protobuf.ByteString getLastSuccessfulBackupBytes()
       Output only. The fully qualified name of the last successful Backup
       created under this BackupPlan.
       `projects/*/locations/*/backupPlans/*/backups/*`
       
      string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastSuccessfulBackupBytes in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The bytes for lastSuccessfulBackup.
    • hasBackupConfigDetails

      public boolean hasBackupConfigDetails()
       Output only. Contains details about the BackupConfig of Backups created
       via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBackupConfigDetails in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      Whether the backupConfigDetails field is set.
    • getBackupConfigDetails

       Output only. Contains details about the BackupConfig of Backups created
       via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupConfigDetails in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The backupConfigDetails.
    • getBackupConfigDetailsOrBuilder

      public BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder getBackupConfigDetailsOrBuilder()
       Output only. Contains details about the BackupConfig of Backups created
       via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBackupConfigDetailsOrBuilder in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
    • hasRetentionPolicyDetails

      public boolean hasRetentionPolicyDetails()
       Output only. Contains details about the RetentionPolicy of Backups
       created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRetentionPolicyDetails in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      Whether the retentionPolicyDetails field is set.
    • getRetentionPolicyDetails

       Output only. Contains details about the RetentionPolicy of Backups
       created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRetentionPolicyDetails in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
      Returns:
      The retentionPolicyDetails.
    • getRetentionPolicyDetailsOrBuilder

      public BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsOrBuilder getRetentionPolicyDetailsOrBuilder()
       Output only. Contains details about the RetentionPolicy of Backups
       created via this BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRetentionPolicyDetailsOrBuilder in interface BackupPlanBinding.BackupPlanDetailsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BackupPlanBinding.BackupPlanDetails.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BackupPlanBinding.BackupPlanDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BackupPlanBinding.BackupPlanDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<BackupPlanBinding.BackupPlanDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BackupPlanBinding.BackupPlanDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder