@java.lang.Override
  public boolean hasMetadata() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<pre>
The metadata to be overridden. If not specified, no metadata is overridden.
</pre>

<code>.google.cloud.vertexai.v1.ExplanationMetadataOverride metadata = 2;</code>

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