Class StorageTransferServiceGrpc (1.0.4)

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
TypeDescription
String

Static Methods

getCreateTransferJobMethod()

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

getGetGoogleServiceAccountMethod()

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

getGetTransferJobMethod()

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

getListTransferJobsMethod()

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

getPauseTransferOperationMethod()

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

getResumeTransferOperationMethod()

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

getRunTransferJobMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateTransferJobMethod()

public static MethodDescriptor<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> getUpdateTransferJobMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
StorageTransferServiceGrpc.StorageTransferServiceStub