Class GrpcTranscoderServiceStub (1.2.5)

publicclass GrpcTranscoderServiceStubextendsTranscoderServiceStub

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)

publicstaticfinalGrpcTranscoderServiceStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
Exceptions
Type Description

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcTranscoderServiceStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
Exceptions
Type Description

create(TranscoderServiceStubSettings settings)

publicstaticfinalGrpcTranscoderServiceStubcreate(TranscoderServiceStubSettingssettings)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

Constructors

GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext)

protectedGrpcTranscoderServiceStub(TranscoderServiceStubSettingssettings,ClientContextclientContext)

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
Name Description
clientContext ClientContext

GrpcTranscoderServiceStub(TranscoderServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protectedGrpcTranscoderServiceStub(TranscoderServiceStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

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
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
Exceptions
Type Description

close()

publicfinalvoidclose()
Overrides

createJobCallable()

publicUnaryCallable<CreateJobRequest,Job>createJobCallable()
Returns
Type Description
Overrides

createJobTemplateCallable()

publicUnaryCallable<CreateJobTemplateRequest,JobTemplate>createJobTemplateCallable()
Returns
Type Description
Overrides

deleteJobCallable()

publicUnaryCallable<DeleteJobRequest,Empty>deleteJobCallable()
Returns
Type Description
Overrides

deleteJobTemplateCallable()

publicUnaryCallable<DeleteJobTemplateRequest,Empty>deleteJobTemplateCallable()
Returns
Type Description
Overrides

getJobCallable()

publicUnaryCallable<GetJobRequest,Job>getJobCallable()
Returns
Type Description
Overrides

getJobTemplateCallable()

publicUnaryCallable<GetJobTemplateRequest,JobTemplate>getJobTemplateCallable()
Returns
Type Description
Overrides

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description

isShutdown()

publicbooleanisShutdown()
Returns
Type Description

isTerminated()

publicbooleanisTerminated()
Returns
Type Description

listJobTemplatesCallable()

publicUnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse>listJobTemplatesCallable()
Returns
Type Description
Overrides

listJobTemplatesPagedCallable()

publicUnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse>listJobTemplatesPagedCallable()
Returns
Type Description
Overrides

listJobsCallable()

publicUnaryCallable<ListJobsRequest,ListJobsResponse>listJobsCallable()
Returns
Type Description
Overrides

listJobsPagedCallable()

publicUnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse>listJobsPagedCallable()
Returns
Type Description
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.