@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getPrimaryInstance());
      }
      for (int i = 0; i < secondaryInstances_.size(); i++) {
        output.writeMessage(2, secondaryInstances_.get(i));
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Output only. The list of secondary instances replicating from the primary
instance.
</pre>

<code>
repeated .google.cloud.memorystore.v1.CrossInstanceReplicationConfig.RemoteInstance secondary_instances = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CrossInstanceReplicationConfig.java