Class GrpcTranscoderServiceStub (1.17.0)

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.

Inheritance

java.lang.Object > TranscoderServiceStub > GrpcTranscoderServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcTranscoderServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcTranscoderServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcTranscoderServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcTranscoderServiceStub
Exceptions
TypeDescription
IOException

create(TranscoderServiceStubSettings settings)

public static final GrpcTranscoderServiceStub create(TranscoderServiceStubSettings settings)
Parameter
NameDescription
settingsTranscoderServiceStubSettings
Returns
TypeDescription
GrpcTranscoderServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsTranscoderServiceStubSettings
clientContextClientContext

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
NameDescription
settingsTranscoderServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createJobCallable()

public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns
TypeDescription
UnaryCallable<CreateJobRequest,Job>
Overrides

createJobTemplateCallable()

public UnaryCallable<CreateJobTemplateRequest,JobTemplate> createJobTemplateCallable()
Returns
TypeDescription
UnaryCallable<CreateJobTemplateRequest,JobTemplate>
Overrides

deleteJobCallable()

public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Returns
TypeDescription
UnaryCallable<DeleteJobRequest,Empty>
Overrides

deleteJobTemplateCallable()

public UnaryCallable<DeleteJobTemplateRequest,Empty> deleteJobTemplateCallable()
Returns
TypeDescription
UnaryCallable<DeleteJobTemplateRequest,Empty>
Overrides

getJobCallable()

public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns
TypeDescription
UnaryCallable<GetJobRequest,Job>
Overrides

getJobTemplateCallable()

public UnaryCallable<GetJobTemplateRequest,JobTemplate> getJobTemplateCallable()
Returns
TypeDescription
UnaryCallable<GetJobTemplateRequest,JobTemplate>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listJobTemplatesCallable()

public UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse> listJobTemplatesCallable()
Returns
TypeDescription
UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse>
Overrides

listJobTemplatesPagedCallable()

public UnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesPagedResponse>
Overrides

listJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,ListJobsResponse>
Overrides

listJobsPagedCallable()

public UnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,ListJobsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()