public com.google.cloud.vision.v1p4beta1.DominantColorsAnnotation getDominantColors() {
      if (dominantColorsBuilder_ == null) {
        return dominantColors_ == null
            ? com.google.cloud.vision.v1p4beta1.DominantColorsAnnotation.getDefaultInstance()
            : dominantColors_;
      } else {
        return dominantColorsBuilder_.getMessage();
      }
    }
<pre>
If present, dominant colors completed successfully.
</pre>

<code>.google.cloud.vision.v1p4beta1.DominantColorsAnnotation dominant_colors = 1;</code>

@return The dominantColors.
java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageProperties.java