@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (widthPixels_ != 0) {
        output.writeInt32(1, widthPixels_);
      }
      if (heightPixels_ != 0) {
        output.writeInt32(2, heightPixels_);
      }
      if (java.lang.Double.doubleToRawLongBits(frameRate_) != 0) {
        output.writeDouble(3, frameRate_);
      }
      if (bitrateBps_ != 0) {
        output.writeInt32(4, bitrateBps_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pixelFormat_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rateControlMode_);
      }
      if (crfLevel_ != 0) {
        output.writeInt32(7, crfLevel_);
      }
      if (gopModeCase_ == 8) {
        output.writeInt32(8, (int) ((java.lang.Integer) gopMode_));
      }
      if (gopModeCase_ == 9) {
        output.writeMessage(9, (com.google.protobuf.Duration) gopMode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 10, profile_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Enforces the specified codec profile. The following profiles are
supported:

*   `profile0` (default)
*   `profile1`
*   `profile2`
*   `profile3`

The available options are
[WebM-compatible](https://www.webmproject.org/vp9/profiles/).
Note that certain values for this field may cause the
transcoder to override other fields you set in the `Vp9CodecSettings`
message.
</pre>

<code>string profile = 10;</code>

@return The bytes for profile.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java