Class FunctionServiceGrpc (2.45.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
Type Description
String

Static Methods

bindService(FunctionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(FunctionServiceGrpc.AsyncService service)
Parameter
Name Description
service FunctionServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateFunctionMethod()

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

getDeleteFunctionMethod()

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

getGenerateDownloadUrlMethod()

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

getGenerateUploadUrlMethod()

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

getGetFunctionMethod()

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

getListFunctionsMethod()

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

getListRuntimesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateFunctionMethod()

public static MethodDescriptor<UpdateFunctionRequest,Operation> getUpdateFunctionMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
FunctionServiceGrpc.FunctionServiceStub