- 1.47.0 (latest)
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
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.
Static Methods
create(ClientContext clientContext)
public static final GrpcTranscoderServiceStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcTranscoderServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTranscoderServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcTranscoderServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(TranscoderServiceStubSettings settings)
public static final GrpcTranscoderServiceStub create(TranscoderServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | TranscoderServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcTranscoderServiceStub |
Exceptions | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
settings | TranscoderServiceStubSettings |
clientContext | ClientContext |
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 | |
---|---|
Name | Description |
settings | TranscoderServiceStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createJobCallable()
public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateJobRequest,Job> |
createJobTemplateCallable()
public UnaryCallable<CreateJobTemplateRequest,JobTemplate> createJobTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateJobTemplateRequest,JobTemplate> |
deleteJobCallable()
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteJobRequest,Empty> |
deleteJobTemplateCallable()
public UnaryCallable<DeleteJobTemplateRequest,Empty> deleteJobTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteJobTemplateRequest,Empty> |
getJobCallable()
public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetJobRequest,Job> |
getJobTemplateCallable()
public UnaryCallable<GetJobTemplateRequest,JobTemplate> getJobTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetJobTemplateRequest,JobTemplate> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listJobTemplatesCallable()
public UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse> listJobTemplatesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesResponse> |
listJobTemplatesPagedCallable()
public UnaryCallable<ListJobTemplatesRequest,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobTemplatesRequest,ListJobTemplatesPagedResponse> |
listJobsCallable()
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobsRequest,ListJobsResponse> |
listJobsPagedCallable()
public UnaryCallable<ListJobsRequest,TranscoderServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobsRequest,ListJobsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()