Interface ContinuousBackupConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ContinuousBackupConfig, ContinuousBackupConfig.Builder

    public interface ContinuousBackupConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnabled()
      Whether ContinuousBackup is enabled.
      EncryptionConfig getEncryptionConfig()
      The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).
      EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
      The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).
      int getRecoveryWindowDays()
      The number of days that are eligible to restore from using PITR.
      boolean hasEnabled()
      Whether ContinuousBackup is enabled.
      boolean hasEncryptionConfig()
      The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasEnabled

        boolean hasEnabled()
         Whether ContinuousBackup is enabled.
         
        optional bool enabled = 1;
        Returns:
        Whether the enabled field is set.
      • getEnabled

        boolean getEnabled()
         Whether ContinuousBackup is enabled.
         
        optional bool enabled = 1;
        Returns:
        The enabled.
      • getRecoveryWindowDays

        int getRecoveryWindowDays()
         The number of days that are eligible to restore from using PITR. To support
         the entire recovery window, backups and logs are retained for one day more
         than the recovery window. If not set, defaults to 14 days.
         
        int32 recovery_window_days = 4;
        Returns:
        The recoveryWindowDays.
      • hasEncryptionConfig

        boolean hasEncryptionConfig()
         The encryption config can be specified to encrypt the
         backups with a customer-managed encryption key (CMEK). When this field is
         not specified, the backup will then use default encryption scheme to
         protect the user data.
         
        .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
        Returns:
        Whether the encryptionConfig field is set.
      • getEncryptionConfig

        EncryptionConfig getEncryptionConfig()
         The encryption config can be specified to encrypt the
         backups with a customer-managed encryption key (CMEK). When this field is
         not specified, the backup will then use default encryption scheme to
         protect the user data.
         
        .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
        Returns:
        The encryptionConfig.
      • getEncryptionConfigOrBuilder

        EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
         The encryption config can be specified to encrypt the
         backups with a customer-managed encryption key (CMEK). When this field is
         not specified, the backup will then use default encryption scheme to
         protect the user data.
         
        .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;