Class HttpJsonTranscoderServiceStub
java.lang.Object
com.google.cloud.video.transcoder.v1.stub.TranscoderServiceStub
com.google.cloud.video.transcoder.v1.stub.HttpJsonTranscoderServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonTranscoderServiceStub, using the given settings.protectedHttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonTranscoderServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonTranscoderServiceStubcreate(ClientContext clientContext) static final HttpJsonTranscoderServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonTranscoderServiceStubcreate(TranscoderServiceStubSettings settings) UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> UnaryCallable<DeleteJobTemplateRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonTranscoderServiceStub
protected HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonTranscoderServiceStub
protected HttpJsonTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonTranscoderServiceStub create(TranscoderServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonTranscoderServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonTranscoderServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
createJobCallable
- Overrides:
createJobCallablein classTranscoderServiceStub
-
listJobsCallable
- Overrides:
listJobsCallablein classTranscoderServiceStub
-
listJobsPagedCallable
public UnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse> listJobsPagedCallable()- Overrides:
listJobsPagedCallablein classTranscoderServiceStub
-
getJobCallable
- Overrides:
getJobCallablein classTranscoderServiceStub
-
deleteJobCallable
- Overrides:
deleteJobCallablein classTranscoderServiceStub
-
createJobTemplateCallable
- Overrides:
createJobTemplateCallablein classTranscoderServiceStub
-
listJobTemplatesCallable
- Overrides:
listJobTemplatesCallablein classTranscoderServiceStub
-
listJobTemplatesPagedCallable
public UnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesPagedCallable()- Overrides:
listJobTemplatesPagedCallablein classTranscoderServiceStub
-
getJobTemplateCallable
- Overrides:
getJobTemplateCallablein classTranscoderServiceStub
-
deleteJobTemplateCallable
public UnaryCallable<DeleteJobTemplateRequest,com.google.protobuf.Empty> deleteJobTemplateCallable()- Overrides:
deleteJobTemplateCallablein classTranscoderServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classTranscoderServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-