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 backups and logs will be retained, which determines the window of time that data is recoverable for.
      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 backups and logs will be retained, which determines the
         window of time that data is recoverable for. If not set, it 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.v1beta.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.v1beta.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.v1beta.EncryptionConfig encryption_config = 3;