public Builder mergeFrom(com.google.cloud.memorystore.v1beta.DiscoveryEndpoint other) {
      if (other == com.google.cloud.memorystore.v1beta.DiscoveryEndpoint.getDefaultInstance())
        return this;
      if (!other.getAddress().isEmpty()) {
        address_ = other.address_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.getPort() != 0) {
        setPort(other.getPort());
      }
      if (!other.getNetwork().isEmpty()) {
        network_ = other.network_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Represents an endpoint for clients to connect to the instance.
</pre>

Protobuf type {@code google.cloud.memorystore.v1beta.DiscoveryEndpoint}
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/DiscoveryEndpoint.java