@java.lang.Override
    public com.google.cloud.memorystore.v1.Instance.ManagedBackupSource getManagedBackupSource() {
      if (managedBackupSourceBuilder_ == null) {
        if (importSourcesCase_ == 24) {
          return (com.google.cloud.memorystore.v1.Instance.ManagedBackupSource) importSources_;
        }
        return com.google.cloud.memorystore.v1.Instance.ManagedBackupSource.getDefaultInstance();
      } else {
        if (importSourcesCase_ == 24) {
          return managedBackupSourceBuilder_.getMessage();
        }
        return com.google.cloud.memorystore.v1.Instance.ManagedBackupSource.getDefaultInstance();
      }
    }
<pre>
Optional. Immutable. Backups that generated and managed by memorystore
service.
</pre>

<code>
.google.cloud.memorystore.v1.Instance.ManagedBackupSource managed_backup_source = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
</code>

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