public Builder setAgentPools(
          int index,
          com.google.storagetransfer.v1.proto.TransferTypes.AgentPool.Builder builderForValue) {
        if (agentPoolsBuilder_ == null) {
          ensureAgentPoolsIsMutable();
          agentPools_.set(index, builderForValue.build());
          onChanged();
        } else {
          agentPoolsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
<pre>
A list of agent pools.
</pre>

<code>repeated .google.storagetransfer.v1.AgentPool agent_pools = 1;</code>
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferProto.java