public com.google.protobuf.ByteString getFilterBytes() {
      java.lang.Object ref = filter_;
      if (ref instanceof 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 to restrict results to specific workflows.
For details, see &lt;a href="https://google.aip.dev/160"
class="external"&gt;AIP-160&lt;/a&gt;.

For example, if you are using the Google APIs Explorer:

`state="SUCCEEDED"`

or

`createTime&gt;"2023-08-01" AND state="FAILED"`
</pre>

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

@return The bytes for filter.
java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/ListWorkflowsRequest.java