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

    if (!getParent().equals(other.getParent())) return false;
    if (hasEndpoint() != other.hasEndpoint()) return false;
    if (hasEndpoint()) {
      if (!getEndpoint().equals(other.getEndpoint())) return false;
    }
    if (!getEndpointId().equals(other.getEndpointId())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Immutable. The ID to use for endpoint, which will become the final
component of the endpoint resource name.
If not provided, Vertex AI will generate a value for this ID.

If the first character is a letter, this value may be up to 63 characters,
and valid characters are `[a-z0-9-]`. The last character must be a letter
or number.

If the first character is a number, this value may be up to 9 characters,
and valid characters are `[0-9]` with no leading zeros.

When using HTTP/JSON, this field is populated
based on a query string argument, such as `?endpoint_id=12345`. This is the
fallback for fields that are not included in either the URI or the body.
</pre>

<code>string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];</code>

@return The bytes for endpointId.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CreateEndpointRequest.java