Class StorageTransferServiceGrpc (1.22.0)

public final class StorageTransferServiceGrpc

Storage Transfer Service and its protos. Transfers data between between Google Cloud Storage buckets or from a data source external to Google to a Cloud Storage bucket.

Inheritance

java.lang.Object > StorageTransferServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(StorageTransferServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(StorageTransferServiceGrpc.AsyncService service)
Parameter
Name Description
service StorageTransferServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateAgentPoolMethod()

public static MethodDescriptor<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool> getCreateAgentPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateAgentPoolRequest,AgentPool>

getCreateTransferJobMethod()

public static MethodDescriptor<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> getCreateTransferJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateTransferJobRequest,TransferJob>

getDeleteAgentPoolMethod()

public static MethodDescriptor<TransferProto.DeleteAgentPoolRequest,Empty> getDeleteAgentPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteAgentPoolRequest,Empty>

getDeleteTransferJobMethod()

public static MethodDescriptor<TransferProto.DeleteTransferJobRequest,Empty> getDeleteTransferJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteTransferJobRequest,Empty>

getGetAgentPoolMethod()

public static MethodDescriptor<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool> getGetAgentPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetAgentPoolRequest,AgentPool>

getGetGoogleServiceAccountMethod()

public static MethodDescriptor<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGetGoogleServiceAccountMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetGoogleServiceAccountRequest,GoogleServiceAccount>

getGetTransferJobMethod()

public static MethodDescriptor<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getGetTransferJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetTransferJobRequest,TransferJob>

getListAgentPoolsMethod()

public static MethodDescriptor<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse> getListAgentPoolsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListAgentPoolsRequest,ListAgentPoolsResponse>

getListTransferJobsMethod()

public static MethodDescriptor<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse> getListTransferJobsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTransferJobsRequest,ListTransferJobsResponse>

getPauseTransferOperationMethod()

public static MethodDescriptor<TransferProto.PauseTransferOperationRequest,Empty> getPauseTransferOperationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PauseTransferOperationRequest,Empty>

getResumeTransferOperationMethod()

public static MethodDescriptor<TransferProto.ResumeTransferOperationRequest,Empty> getResumeTransferOperationMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ResumeTransferOperationRequest,Empty>

getRunTransferJobMethod()

public static MethodDescriptor<TransferProto.RunTransferJobRequest,Operation> getRunTransferJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunTransferJobRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateAgentPoolMethod()

public static MethodDescriptor<TransferProto.UpdateAgentPoolRequest,TransferTypes.AgentPool> getUpdateAgentPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateAgentPoolRequest,AgentPool>

getUpdateTransferJobMethod()

public static MethodDescriptor<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> getUpdateTransferJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateTransferJobRequest,TransferJob>

newBlockingStub(Channel channel)

public static StorageTransferServiceGrpc.StorageTransferServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
StorageTransferServiceGrpc.StorageTransferServiceBlockingStub

newFutureStub(Channel channel)

public static StorageTransferServiceGrpc.StorageTransferServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
StorageTransferServiceGrpc.StorageTransferServiceFutureStub

newStub(Channel channel)

public static StorageTransferServiceGrpc.StorageTransferServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
StorageTransferServiceGrpc.StorageTransferServiceStub