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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTranscoderServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TranscoderServiceStubSettings settings)
public static final GrpcTranscoderServiceStub create(TranscoderServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createJobCallable()
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns
Overrides
createJobTemplateCallable()
public UnaryCallable<CreateJobTemplateRequest,JobTemplate> createJobTemplateCallable()
Returns
Overrides
deleteJobCallable()
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Returns
Overrides
deleteJobTemplateCallable()
public UnaryCallable<DeleteJobTemplateRequest,Empty> deleteJobTemplateCallable()
Returns
Overrides
getJobCallable()
public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns
Overrides
getJobTemplateCallable()
public UnaryCallable<GetJobTemplateRequest,JobTemplate> getJobTemplateCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listJobTemplatesCallable()
public UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse> listJobTemplatesCallable()
Returns
Overrides
listJobTemplatesPagedCallable()
public UnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesPagedCallable()
Returns
Overrides
listJobsCallable()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns
Overrides
listJobsPagedCallable()
public UnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()