public Builder setFilter(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      filter_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<pre>
The filter applied to the returned corpora list.
Only the following restrictions are supported:
`type=&lt;Corpus.Type&gt;`,
`type!=&lt;Corpus.Type&gt;`.
</pre>

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

@param value The filter to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ListCorporaRequest.java