@java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8:
                {
                  widthPixels_ = input.readInt32();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
              case 16:
                {
                  heightPixels_ = input.readInt32();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
              case 25:
                {
                  frameRate_ = input.readDouble();
                  bitField0_ |= 0x00000004;
                  break;
                } // case 25
              case 32:
                {
                  bitrateBps_ = input.readInt32();
                  bitField0_ |= 0x00000008;
                  break;
                } // case 32
              case 42:
                {
                  pixelFormat_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000010;
                  break;
                } // case 42
              case 50:
                {
                  rateControlMode_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000020;
                  break;
                } // case 50
              case 56:
                {
                  crfLevel_ = input.readInt32();
                  bitField0_ |= 0x00000040;
                  break;
                } // case 56
              case 64:
                {
                  allowOpenGop_ = input.readBool();
                  bitField0_ |= 0x00000080;
                  break;
                } // case 64
              case 72:
                {
                  gopMode_ = input.readInt32();
                  gopModeCase_ = 9;
                  break;
                } // case 72
              case 82:
                {
                  input.readMessage(getGopDurationFieldBuilder().getBuilder(), extensionRegistry);
                  gopModeCase_ = 10;
                  break;
                } // case 82
              case 88:
                {
                  enableTwoPass_ = input.readBool();
                  bitField0_ |= 0x00000400;
                  break;
                } // case 88
              case 96:
                {
                  vbvSizeBits_ = input.readInt32();
                  bitField0_ |= 0x00000800;
                  break;
                } // case 96
              case 104:
                {
                  vbvFullnessBits_ = input.readInt32();
                  bitField0_ |= 0x00001000;
                  break;
                } // case 104
              case 112:
                {
                  bPyramid_ = input.readBool();
                  bitField0_ |= 0x00002000;
                  break;
                } // case 112
              case 120:
                {
                  bFrameCount_ = input.readInt32();
                  bitField0_ |= 0x00004000;
                  break;
                } // case 120
              case 129:
                {
                  aqStrength_ = input.readDouble();
                  bitField0_ |= 0x00008000;
                  break;
                } // case 129
              case 138:
                {
                  profile_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00010000;
                  break;
                } // case 138
              case 146:
                {
                  tune_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00020000;
                  break;
                } // case 146
              case 154:
                {
                  preset_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00040000;
                  break;
                } // case 154
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
<pre>
H265 codec settings.
</pre>

Protobuf type {@code google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings}
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java