public class GrpcTranscoderServiceStub extends TranscoderServiceStub
gRPC stub implementation for the TranscoderService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcTranscoderServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTranscoderServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(TranscoderServiceStubSettings settings)
public static final GrpcTranscoderServiceStub create(TranscoderServiceStubSettings settings)
Constructors
GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext)
protected GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTranscoderServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTranscoderServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createJobCallable()
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Overrides
createJobTemplateCallable()
public UnaryCallable<CreateJobTemplateRequest,JobTemplate> createJobTemplateCallable()
Overrides
deleteJobCallable()
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Overrides
deleteJobTemplateCallable()
public UnaryCallable<DeleteJobTemplateRequest,Empty> deleteJobTemplateCallable()
Overrides
getJobCallable()
public UnaryCallable<GetJobRequest,Job> getJobCallable()
Overrides
getJobTemplateCallable()
public UnaryCallable<GetJobTemplateRequest,JobTemplate> getJobTemplateCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listJobTemplatesCallable()
public UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse> listJobTemplatesCallable()
Overrides
listJobTemplatesPagedCallable()
public UnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesPagedCallable()
Overrides
listJobsCallable()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Overrides
listJobsPagedCallable()
public UnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()