@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    getSerializedSize();
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputUri_);
    }
    if (getFeaturesList().size() > 0) {
      output.writeUInt32NoTag(18);
      output.writeUInt32NoTag(featuresMemoizedSerializedSize);
    }
    for (int i = 0; i < features_.size(); i++) {
      output.writeEnumNoTag(features_.get(i));
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getVideoContext());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, outputUri_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_);
    }
    if (!inputContent_.isEmpty()) {
      output.writeBytes(6, inputContent_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. Cloud region where annotation should take place. Supported cloud
regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
is specified, a region will be determined based on video file location.
</pre>

<code>string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for locationId.
java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/AnnotateVideoRequest.java