public Builder mergeGstreamerBufferDescriptor(
          com.google.cloud.visionai.v1.GstreamerBufferDescriptor value) {
        if (gstreamerBufferDescriptorBuilder_ == null) {
          if (typeDetailsCase_ == 2
              && typeDetails_
                  != com.google.cloud.visionai.v1.GstreamerBufferDescriptor.getDefaultInstance()) {
            typeDetails_ =
                com.google.cloud.visionai.v1.GstreamerBufferDescriptor.newBuilder(
                        (com.google.cloud.visionai.v1.GstreamerBufferDescriptor) typeDetails_)
                    .mergeFrom(value)
                    .buildPartial();
          } else {
            typeDetails_ = value;
          }
          onChanged();
        } else {
          if (typeDetailsCase_ == 2) {
            gstreamerBufferDescriptorBuilder_.mergeFrom(value);
          } else {
            gstreamerBufferDescriptorBuilder_.setMessage(value);
          }
        }
        typeDetailsCase_ = 2;
        return this;
      }
<pre>
GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
</pre>

<code>.google.cloud.visionai.v1.GstreamerBufferDescriptor gstreamer_buffer_descriptor = 2;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/PacketType.java