@java.lang.Override
  public java.lang.String getServiceAccount() {
    java.lang.Object ref = serviceAccount_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      serviceAccount_ = s;
      return s;
    }
  }
<pre>
The service account associated with the latest workflow version.
This service account represents the identity of the workflow and determines
what permissions the workflow has.
Format: projects/{project}/serviceAccounts/{account} or {account}

Using `-` as a wildcard for the `{project}` or not providing one at all
will infer the project from the account. The `{account}` value can be the
`email` address or the `unique_id` of the service account.

If not provided, workflow will use the project's default service account.
Modifying this field for an existing workflow results in a new workflow
revision.
</pre>

<code>string service_account = 9;</code>

@return The serviceAccount.
java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/Workflow.java