Class TasksGrpc (0.49.0)

publicfinalclass TasksGrpc

Cloud Run Task Control Plane API.

Inheritance

java.lang.Object > TasksGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TasksGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(TasksGrpc.AsyncServiceservice)
Parameter
Name Description
service TasksGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetTaskMethod()

publicstaticMethodDescriptor<GetTaskRequest,Task>getGetTaskMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetTaskRequest,Task>

getListTasksMethod()

publicstaticMethodDescriptor<ListTasksRequest,ListTasksResponse>getListTasksMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTasksRequest,ListTasksResponse>

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

publicstaticTasksGrpc.TasksBlockingStubnewBlockingStub(Channelchannel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TasksGrpc.TasksBlockingStub

newFutureStub(Channel channel)

publicstaticTasksGrpc.TasksFutureStubnewFutureStub(Channelchannel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TasksGrpc.TasksFutureStub

newStub(Channel channel)

publicstaticTasksGrpc.TasksStubnewStub(Channelchannel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TasksGrpc.TasksStub

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年10月30日 UTC.