@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(predictHttpUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, predictHttpUri_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explainHttpUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, explainHttpUri_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(healthHttpUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, healthHttpUri_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAttachment_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, serviceAttachment_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. The name of the service attachment resource. Populated if
private service connect is enabled.
</pre>

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

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