@java.lang.Override
  public java.lang.String getFilter() {
    java.lang.Object ref = filter_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      filter_ = s;
      return s;
    }
  }
<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 filter.
java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/ListWorkflowsRequest.java