public Builder setIsKeyFrame(boolean value) {

      isKeyFrame_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Whether the buffer is a key frame.
</pre>

<code>bool is_key_frame = 2;</code>

@param value The isKeyFrame to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/GstreamerBufferDescriptor.java