public Builder setFilterBytes(com.google.protobuf.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        checkByteStringIsUtf8(value);
        filter_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
<pre>
An optional list of query parameters specified as JSON text in the
form of:

`{"agentPoolNames":["agentpool1","agentpool2",...]}`

Since `agentPoolNames` support multiple values, its values must be
specified with array notation. When the filter is either empty or not
provided, the list returns all agent pools for the project.
</pre>

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

@param value The bytes for filter to set.
@return This builder for chaining.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java