@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.memorystore.v1beta.PscAutoConnection)) {
      return super.equals(obj);
    }
    com.google.cloud.memorystore.v1beta.PscAutoConnection other =
        (com.google.cloud.memorystore.v1beta.PscAutoConnection) obj;

    if (!getPscConnectionId().equals(other.getPscConnectionId())) return false;
    if (!getIpAddress().equals(other.getIpAddress())) return false;
    if (!getForwardingRule().equals(other.getForwardingRule())) return false;
    if (!getProjectId().equals(other.getProjectId())) return false;
    if (!getNetwork().equals(other.getNetwork())) return false;
    if (!getServiceAttachment().equals(other.getServiceAttachment())) return false;
    if (pscConnectionStatus_ != other.pscConnectionStatus_) return false;
    if (connectionType_ != other.connectionType_) return false;
    if (!getPortsCase().equals(other.getPortsCase())) return false;
    switch (portsCase_) {
      case 9:
        if (getPort() != other.getPort()) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. Type of the PSC connection.
</pre>

<code>
.google.cloud.memorystore.v1beta.ConnectionType connection_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The connectionType.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/PscAutoConnection.java