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

    if (!getAddress().equals(other.getAddress())) return false;
    if (getPort() != other.getPort()) return false;
    if (!getNetwork().equals(other.getNetwork())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. The network where the IP address of the discovery endpoint
will be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
</pre>

<code>
string network = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
</code>

@return The bytes for network.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/DiscoveryEndpoint.java