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.
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)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateFunctionMethod()
public static MethodDescriptor<CreateFunctionRequest,Operation> getCreateFunctionMethod()
getDeleteFunctionMethod()
public static MethodDescriptor<DeleteFunctionRequest,Operation> getDeleteFunctionMethod()
getGenerateDownloadUrlMethod()
public static MethodDescriptor<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse> getGenerateDownloadUrlMethod()
getGenerateUploadUrlMethod()
public static MethodDescriptor<GenerateUploadUrlRequest,GenerateUploadUrlResponse> getGenerateUploadUrlMethod()
getGetFunctionMethod()
public static MethodDescriptor<GetFunctionRequest,Function> getGetFunctionMethod()
getListFunctionsMethod()
public static MethodDescriptor<ListFunctionsRequest,ListFunctionsResponse> getListFunctionsMethod()
getListRuntimesMethod()
public static MethodDescriptor<ListRuntimesRequest,ListRuntimesResponse> getListRuntimesMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getUpdateFunctionMethod()
public static MethodDescriptor<UpdateFunctionRequest,Operation> getUpdateFunctionMethod()
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
|
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
|
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
|