Class ServicesGrpc (2.36.0)

publicfinalclass ServicesGrpc

Manages services of an application.

Inheritance

java.lang.Object > ServicesGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ServicesGrpc.AsyncService service)

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

getDeleteServiceMethod()

publicstaticMethodDescriptor<DeleteServiceRequest,Operation>getDeleteServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteServiceRequest,Operation>

getGetServiceMethod()

publicstaticMethodDescriptor<GetServiceRequest,Service>getGetServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListServicesMethod()

publicstaticMethodDescriptor<ListServicesRequest,ListServicesResponse>getListServicesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateServiceMethod()

publicstaticMethodDescriptor<UpdateServiceRequest,Operation>getUpdateServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateServiceRequest,Operation>

newBlockingStub(Channel channel)

publicstaticServicesGrpc.ServicesBlockingStubnewBlockingStub(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
ServicesGrpc.ServicesBlockingStub

newFutureStub(Channel channel)

publicstaticServicesGrpc.ServicesFutureStubnewFutureStub(Channelchannel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ServicesGrpc.ServicesFutureStub

newStub(Channel channel)

publicstaticServicesGrpc.ServicesStubnewStub(Channelchannel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ServicesGrpc.ServicesStub

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.