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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTranscoderServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TranscoderServiceStubSettings settings)
public static final HttpJsonTranscoderServiceStub create(TranscoderServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
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
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()