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

    size = 0;
    if (enablePrivateServiceConnect_ != false) {
      size +=
          com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateServiceConnect_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < projectAllowlist_.size(); i++) {
        dataSize += computeStringSizeNoTag(projectAllowlist_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getProjectAllowlistList().size();
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAttachment_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAttachment_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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