Class FunctionServiceGrpc (2.24.0)

public final class FunctionServiceGrpc

Google Cloud Functions is used to deploy functions that are executed by Google in response to various events. Data connected with that event is passed to a function as the input data. A function is a resource which describes a function that should be executed and how it is triggered.

Inheritance

java.lang.Object > FunctionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(FunctionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(FunctionServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceFunctionServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateFunctionMethod()

public static MethodDescriptor<CreateFunctionRequest,Operation> getCreateFunctionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateFunctionRequest,Operation>

getDeleteFunctionMethod()

public static MethodDescriptor<DeleteFunctionRequest,Operation> getDeleteFunctionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteFunctionRequest,Operation>

getGenerateDownloadUrlMethod()

public static MethodDescriptor<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse> getGenerateDownloadUrlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse>

getGenerateUploadUrlMethod()

public static MethodDescriptor<GenerateUploadUrlRequest,GenerateUploadUrlResponse> getGenerateUploadUrlMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GenerateUploadUrlRequest,GenerateUploadUrlResponse>

getGetFunctionMethod()

public static MethodDescriptor<GetFunctionRequest,Function> getGetFunctionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetFunctionRequest,Function>

getListFunctionsMethod()

public static MethodDescriptor<ListFunctionsRequest,ListFunctionsResponse> getListFunctionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListFunctionsRequest,ListFunctionsResponse>

getListRuntimesMethod()

public static MethodDescriptor<ListRuntimesRequest,ListRuntimesResponse> getListRuntimesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListRuntimesRequest,ListRuntimesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateFunctionMethod()

public static MethodDescriptor<UpdateFunctionRequest,Operation> getUpdateFunctionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateFunctionRequest,Operation>

newBlockingStub(Channel channel)

public static FunctionServiceGrpc.FunctionServiceBlockingStub newBlockingStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FunctionServiceGrpc.FunctionServiceBlockingStub

newFutureStub(Channel channel)

public static FunctionServiceGrpc.FunctionServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FunctionServiceGrpc.FunctionServiceFutureStub

newStub(Channel channel)

public static FunctionServiceGrpc.FunctionServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
FunctionServiceGrpc.FunctionServiceStub