@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndpoint());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endpointId_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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