public PagedCallSettings<
          TransferProto.ListAgentPoolsRequest,
          TransferProto.ListAgentPoolsResponse,
          ListAgentPoolsPagedResponse>
      listAgentPoolsSettings() {
    return ((StorageTransferServiceStubSettings) getStubSettings()).listAgentPoolsSettings();
  }
Returns the object with the settings used for calls to listAgentPools.
java-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceSettings.java