@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (connectionCase_ == 1) {
        output.writeMessage(1, (com.google.cloud.memorystore.v1beta.PscAutoConnection) connection_);
      }
      if (connectionCase_ == 2) {
        output.writeMessage(2, (com.google.cloud.memorystore.v1beta.PscConnection) connection_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Detailed information of a PSC connection that is created by the user.
</pre>

<code>.google.cloud.memorystore.v1beta.PscConnection psc_connection = 2;</code>
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java