@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_);
    }
    for (int i = 0; i < instances_.size(); i++) {
      output.writeMessage(2, instances_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployedModelId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deployedModelId_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(4, getParameters());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(5, getExplanationSpecOverride());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
If specified, this ExplainRequest will be served by the chosen
DeployedModel, overriding
[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split].
</pre>

<code>string deployed_model_id = 3;</code>

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