@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (enablePrivateServiceConnect_ != false) {
      output.writeBool(1, enablePrivateServiceConnect_);
    }
    for (int i = 0; i < projectAllowlist_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectAllowlist_.getRaw(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAttachment_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceAttachment_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. The name of the generated service attachment resource.
This is only populated if the endpoint is deployed with
PrivateServiceConnect.
</pre>

<code>string service_attachment = 5 [(.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/PrivateServiceConnectConfig.java