@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_);
      }
      for (int i = 0; i < command_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, command_.getRaw(i));
      }
      for (int i = 0; i < args_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, args_.getRaw(i));
      }
      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
          output, internalGetEnv(), EnvDefaultEntryHolder.defaultEntry, 4);
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workingDir_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, workingDir_);
      }
      if (runAsUser_ != 0) {
        output.writeInt32(6, runAsUser_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Optional. If set, overrides the USER specified in the image with the
given uid.
</pre>

<code>int32 run_as_user = 6 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The runAsUser.
java-workstations/proto-google-cloud-workstations-v1/src/main/java/com/google/cloud/workstations/v1/WorkstationConfig.java