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

    if (getTopK() != other.getTopK()) return false;
    if (hasOutputIndices() != other.hasOutputIndices()) return false;
    if (hasOutputIndices()) {
      if (!getOutputIndices().equals(other.getOutputIndices())) return false;
    }
    if (!getMethodCase().equals(other.getMethodCase())) return false;
    switch (methodCase_) {
      case 1:
        if (!getSampledShapleyAttribution().equals(other.getSampledShapleyAttribution()))
          return false;
        break;
      case 2:
        if (!getIntegratedGradientsAttribution().equals(other.getIntegratedGradientsAttribution()))
          return false;
        break;
      case 3:
        if (!getXraiAttribution().equals(other.getXraiAttribution())) return false;
        break;
      case 7:
        if (!getExamples().equals(other.getExamples())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
If populated, only returns attributions that have
[output_index][google.cloud.aiplatform.v1.Attribution.output_index]
contained in output_indices. It must be an ndarray of integers, with the
same shape of the output it's explaining.

If not populated, returns attributions for
[top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of
outputs. If neither top_k nor output_indices is populated, returns the
argmax index of the outputs.

Only applicable to Models that predict multiple outputs (e,g, multi-class
Models that predict multiple classes).
</pre>

<code>.google.protobuf.ListValue output_indices = 5;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java