public Builder mergeFrom(
        com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation other) {
      if (other
          == com.google.cloud.videointelligence.v1.LogoRecognitionAnnotation.getDefaultInstance())
        return this;
      if (other.hasEntity()) {
        mergeEntity(other.getEntity());
      }
      if (tracksBuilder_ == null) {
        if (!other.tracks_.isEmpty()) {
          if (tracks_.isEmpty()) {
            tracks_ = other.tracks_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureTracksIsMutable();
            tracks_.addAll(other.tracks_);
          }
          onChanged();
        }
      } else {
        if (!other.tracks_.isEmpty()) {
          if (tracksBuilder_.isEmpty()) {
            tracksBuilder_.dispose();
            tracksBuilder_ = null;
            tracks_ = other.tracks_;
            bitField0_ = (bitField0_ & ~0x00000002);
            tracksBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getTracksFieldBuilder()
                    : null;
          } else {
            tracksBuilder_.addAllMessages(other.tracks_);
          }
        }
      }
      if (segmentsBuilder_ == null) {
        if (!other.segments_.isEmpty()) {
          if (segments_.isEmpty()) {
            segments_ = other.segments_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureSegmentsIsMutable();
            segments_.addAll(other.segments_);
          }
          onChanged();
        }
      } else {
        if (!other.segments_.isEmpty()) {
          if (segmentsBuilder_.isEmpty()) {
            segmentsBuilder_.dispose();
            segmentsBuilder_ = null;
            segments_ = other.segments_;
            bitField0_ = (bitField0_ & ~0x00000004);
            segmentsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getSegmentsFieldBuilder()
                    : null;
          } else {
            segmentsBuilder_.addAllMessages(other.segments_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Annotation corresponding to one detected, tracked and recognized logo class.
</pre>

Protobuf type {@code google.cloud.videointelligence.v1.LogoRecognitionAnnotation}
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LogoRecognitionAnnotation.java