@java.lang.Override
  public com.google.cloud.memorystore.v1.Backup.BackupType getBackupType() {
    com.google.cloud.memorystore.v1.Backup.BackupType result =
        com.google.cloud.memorystore.v1.Backup.BackupType.forNumber(backupType_);
    return result == null ? com.google.cloud.memorystore.v1.Backup.BackupType.UNRECOGNIZED : result;
  }
<pre>
Output only. Type of the backup.
</pre>

<code>
.google.cloud.memorystore.v1.Backup.BackupType backup_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The backupType.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Backup.java