@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getEndpoint());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endpointId_);
    }
    getUnknownFields().writeTo(output);
  }
<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