Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonTranscoderServiceStub extends TranscoderServiceStub
REST 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 HttpJsonTranscoderServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTranscoderServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(TranscoderServiceStubSettings settings)
public static final HttpJsonTranscoderServiceStub create(TranscoderServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTranscoderServiceStub, 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.
HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTranscoderServiceStub, 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
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()