public java.util.List<
            ? extends com.google.cloud.vertexai.api.ExamplesRestrictionsNamespaceOrBuilder>
        getRestrictionsOrBuilderList() {
      if (restrictionsBuilder_ != null) {
        return restrictionsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(restrictions_);
      }
    }
<pre>
Restrict the resulting nearest neighbors to respect these constraints.
</pre>

<code>repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExamplesOverride.java