@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (codecSettingsCase_ == 1) {
      output.writeMessage(
          1, (com.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings) codecSettings_);
    }
    if (codecSettingsCase_ == 2) {
      output.writeMessage(
          2, (com.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings) codecSettings_);
    }
    if (codecSettingsCase_ == 3) {
      output.writeMessage(
          3, (com.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings) codecSettings_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
VP9 codec settings.
</pre>

<code>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;</code>
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java