@java.lang.Override
        public int getPolarityValue() {
          return polarity_;
        }
<pre>
Whether to only highlight pixels with positive contributions, negative
or both. Defaults to POSITIVE.
</pre>

<code>
.google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity polarity = 2;
</code>

@return The enum numeric value on the wire for polarity.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java