Class GrpcTranscoderServiceStub
java.lang.Object
com.google.cloud.video.transcoder.v1.stub.TranscoderServiceStub
com.google.cloud.video.transcoder.v1.stub.GrpcTranscoderServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcTranscoderServiceStub, using the given settings.protectedGrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcTranscoderServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcTranscoderServiceStubcreate(ClientContext clientContext) static final GrpcTranscoderServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcTranscoderServiceStubcreate(TranscoderServiceStubSettings settings) UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> UnaryCallable<DeleteJobTemplateRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcTranscoderServiceStub
protected GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcTranscoderServiceStub
protected GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcTranscoderServiceStub create(TranscoderServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcTranscoderServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcTranscoderServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
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
-