@java.lang.Override
  public com.google.protobuf.ByteString getFilterBytes() {
    java.lang.Object ref = filter_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      filter_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
<pre>
Optional. An expression for filtering the results of the request. For field
names both snake_case and camelCase are supported.

  * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint
    ID, i.e. the last segment of the Endpoint's
    [resource name][google.cloud.aiplatform.v1.Endpoint.name].
  * `display_name` supports `=` and `!=`.
  * `labels` supports general map functions that is:
    * `labels.key=value` - key:value equality
    * `labels.key:*` or `labels:key` - key existence
    * A key including a space must be quoted. `labels."a key"`.
  * `base_model_name` only supports `=`.

Some examples:

  * `endpoint=1`
  * `displayName="myDisplayName"`
  * `labels.myKey="myValue"`
  * `baseModelName="text-bison"`
</pre>

<code>string filter = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for filter.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ListEndpointsRequest.java