private void buildPartialRepeatedFields(
        com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig result) {
      if (secondaryInstancesBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          secondaryInstances_ = java.util.Collections.unmodifiableList(secondaryInstances_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.secondaryInstances_ = secondaryInstances_;
      } else {
        result.secondaryInstances_ = secondaryInstancesBuilder_.build();
      }
    }
<pre>
Cross instance replication config.
</pre>

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