private void buildPartialOneofs(com.google.cloud.memorystore.v1.Instance result) {
      result.importSourcesCase_ = importSourcesCase_;
      result.importSources_ = this.importSources_;
      if (importSourcesCase_ == 23 && gcsSourceBuilder_ != null) {
        result.importSources_ = gcsSourceBuilder_.build();
      }
      if (importSourcesCase_ == 24 && managedBackupSourceBuilder_ != null) {
        result.importSources_ = managedBackupSourceBuilder_.build();
      }
    }
<pre>
A Memorystore instance.
</pre>

Protobuf type {@code google.cloud.memorystore.v1.Instance}
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java