@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>
`filter` can be used to specify a subset of queues. Any
[Queue][google.cloud.tasks.v2beta2.Queue] field can be used as a filter and
several operators as supported. For example: `&lt;=, &lt;, &gt;=, &gt;, !=, =, :`. The
filter syntax is the same as described in [Stackdriver's Advanced Logs
Filters](https://cloud.google.com/logging/docs/view/advanced_filters).

Sample filter "app_engine_http_target: *".

Note that using filters might cause fewer queues than the
requested_page size to be returned.
</pre>

<code>string filter = 2;</code>

@return The bytes for filter.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/ListQueuesRequest.java