@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 48:
                {
                  allowOpenGop_ = input.readBool();
                  bitField0_ |= 0x00000010;
                  break;
                } // case 48
              case 56:
                {
                  gopMode_ = input.readInt32();
                  gopModeCase_ = 7;
                  break;
                } // case 56
              case 66:
                {
                  input.readMessage(getGopDurationFieldBuilder().getBuilder(), extensionRegistry);
                  gopModeCase_ = 8;
                  break;
                } // case 66
              case 72:
                {
                  vbvSizeBits_ = input.readInt32();
                  bitField0_ |= 0x00000080;
                  break;
                } // case 72
              case 80:
                {
                  vbvFullnessBits_ = input.readInt32();
                  bitField0_ |= 0x00000100;
                  break;
                } // case 80
              case 90:
                {
                  entropyCoder_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00000200;
                  break;
                } // case 90
              case 96:
                {
                  bPyramid_ = input.readBool();
                  bitField0_ |= 0x00000400;
                  break;
                } // case 96
              case 104:
                {
                  bFrameCount_ = input.readInt32();
                  bitField0_ |= 0x00000800;
                  break;
                } // case 104
              case 113:
                {
                  aqStrength_ = input.readDouble();
                  bitField0_ |= 0x00001000;
                  break;
                } // case 113
              case 122:
                {
                  profile_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00002000;
                  break;
                } // case 122
              case 130:
                {
                  tune_ = input.readStringRequireUtf8();
                  bitField0_ |= 0x00004000;
                  break;
                } // case 130
              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>
H264 codec settings.
</pre>

Protobuf type {@code google.cloud.video.livestream.v1.VideoStream.H264CodecSettings}
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java