@java.lang.Override
  public boolean hasExamples() {
    return methodCase_ == 7;
  }
<pre>
Example-based explanations that returns the nearest neighbors from the
provided dataset.
</pre>

<code>.google.cloud.vertexai.v1.Examples examples = 7;</code>

@return Whether the examples field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java