@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vision.v1.ImageProperties)) {
      return super.equals(obj);
    }
    com.google.cloud.vision.v1.ImageProperties other =
        (com.google.cloud.vision.v1.ImageProperties) obj;

    if (hasDominantColors() != other.hasDominantColors()) return false;
    if (hasDominantColors()) {
      if (!getDominantColors().equals(other.getDominantColors())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
If present, dominant colors completed successfully.
</pre>

<code>.google.cloud.vision.v1.DominantColorsAnnotation dominant_colors = 1;</code>
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageProperties.java