public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getGetGoogleServiceAccountMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto
                        .GetGoogleServiceAccountRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.GoogleServiceAccount>(
                    service, METHODID_GET_GOOGLE_SERVICE_ACCOUNT)))
        .addMethod(
            getCreateTransferJobMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.CreateTransferJobRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(
                    service, METHODID_CREATE_TRANSFER_JOB)))
        .addMethod(
            getUpdateTransferJobMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.UpdateTransferJobRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(
                    service, METHODID_UPDATE_TRANSFER_JOB)))
        .addMethod(
            getGetTransferJobMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.GetTransferJobRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.TransferJob>(
                    service, METHODID_GET_TRANSFER_JOB)))
        .addMethod(
            getListTransferJobsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsRequest,
                    com.google.storagetransfer.v1.proto.TransferProto.ListTransferJobsResponse>(
                    service, METHODID_LIST_TRANSFER_JOBS)))
        .addMethod(
            getPauseTransferOperationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.PauseTransferOperationRequest,
                    com.google.protobuf.Empty>(service, METHODID_PAUSE_TRANSFER_OPERATION)))
        .addMethod(
            getResumeTransferOperationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto
                        .ResumeTransferOperationRequest,
                    com.google.protobuf.Empty>(service, METHODID_RESUME_TRANSFER_OPERATION)))
        .addMethod(
            getRunTransferJobMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.RunTransferJobRequest,
                    com.google.longrunning.Operation>(service, METHODID_RUN_TRANSFER_JOB)))
        .addMethod(
            getDeleteTransferJobMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.DeleteTransferJobRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_TRANSFER_JOB)))
        .addMethod(
            getCreateAgentPoolMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.CreateAgentPoolRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>(
                    service, METHODID_CREATE_AGENT_POOL)))
        .addMethod(
            getUpdateAgentPoolMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.UpdateAgentPoolRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>(
                    service, METHODID_UPDATE_AGENT_POOL)))
        .addMethod(
            getGetAgentPoolMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.GetAgentPoolRequest,
                    com.google.storagetransfer.v1.proto.TransferTypes.AgentPool>(
                    service, METHODID_GET_AGENT_POOL)))
        .addMethod(
            getListAgentPoolsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsRequest,
                    com.google.storagetransfer.v1.proto.TransferProto.ListAgentPoolsResponse>(
                    service, METHODID_LIST_AGENT_POOLS)))
        .addMethod(
            getDeleteAgentPoolMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.storagetransfer.v1.proto.TransferProto.DeleteAgentPoolRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_AGENT_POOL)))
        .build();
  }
<pre>
Deletes an agent pool.
</pre>
java-storage-transfer/grpc-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/StorageTransferServiceGrpc.java