public Builder mergeFrom(com.google.cloud.vision.v1p1beta1.DominantColorsAnnotation other) {
      if (other == com.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.getDefaultInstance())
        return this;
      if (colorsBuilder_ == null) {
        if (!other.colors_.isEmpty()) {
          if (colors_.isEmpty()) {
            colors_ = other.colors_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureColorsIsMutable();
            colors_.addAll(other.colors_);
          }
          onChanged();
        }
      } else {
        if (!other.colors_.isEmpty()) {
          if (colorsBuilder_.isEmpty()) {
            colorsBuilder_.dispose();
            colorsBuilder_ = null;
            colors_ = other.colors_;
            bitField0_ = (bitField0_ & ~0x00000001);
            colorsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getColorsFieldBuilder()
                    : null;
          } else {
            colorsBuilder_.addAllMessages(other.colors_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
Set of dominant colors and their corresponding scores.
</pre>

Protobuf type {@code google.cloud.vision.v1p1beta1.DominantColorsAnnotation}
java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/DominantColorsAnnotation.java