@java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      switch (connectionCase_) {
        case 1:
          hash = (37 * hash) + PSC_AUTO_CONNECTION_FIELD_NUMBER;
          hash = (53 * hash) + getPscAutoConnection().hashCode();
          break;
        case 2:
          hash = (37 * hash) + PSC_CONNECTION_FIELD_NUMBER;
          hash = (53 * hash) + getPscConnection().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
<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