Class HttpJsonCloudFunctionsServiceStub
java.lang.Object
com.google.cloud.functions.v1.stub.CloudFunctionsServiceStub
com.google.cloud.functions.v1.stub.HttpJsonCloudFunctionsServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonCloudFunctionsServiceStub
extends CloudFunctionsServiceStub
REST stub implementation for the CloudFunctionsService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonCloudFunctionsServiceStub(CloudFunctionsServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonCloudFunctionsServiceStub, using the given settings.protectedHttpJsonCloudFunctionsServiceStub(CloudFunctionsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonCloudFunctionsServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonCloudFunctionsServiceStubcreate(ClientContext clientContext) static final HttpJsonCloudFunctionsServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonCloudFunctionsServiceStubcreate(CloudFunctionsServiceStubSettings settings) OperationCallable<DeleteFunctionRequest,com.google.protobuf.Empty, OperationMetadataV1> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.functions.v1.stub.CloudFunctionsServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonCloudFunctionsServiceStub
protected HttpJsonCloudFunctionsServiceStub(CloudFunctionsServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonCloudFunctionsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonCloudFunctionsServiceStub
protected HttpJsonCloudFunctionsServiceStub(CloudFunctionsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonCloudFunctionsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonCloudFunctionsServiceStub create(CloudFunctionsServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudFunctionsServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonCloudFunctionsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classCloudFunctionsServiceStub
-
listFunctionsCallable
- Overrides:
listFunctionsCallablein classCloudFunctionsServiceStub
-
listFunctionsPagedCallable
public UnaryCallable<ListFunctionsRequest,CloudFunctionsServiceClient.ListFunctionsPagedResponse> listFunctionsPagedCallable()- Overrides:
listFunctionsPagedCallablein classCloudFunctionsServiceStub
-
getFunctionCallable
- Overrides:
getFunctionCallablein classCloudFunctionsServiceStub
-
createFunctionCallable
- Overrides:
createFunctionCallablein classCloudFunctionsServiceStub
-
createFunctionOperationCallable
public OperationCallable<CreateFunctionRequest,CloudFunction, createFunctionOperationCallable()OperationMetadataV1> - Overrides:
createFunctionOperationCallablein classCloudFunctionsServiceStub
-
updateFunctionCallable
- Overrides:
updateFunctionCallablein classCloudFunctionsServiceStub
-
updateFunctionOperationCallable
public OperationCallable<UpdateFunctionRequest,CloudFunction, updateFunctionOperationCallable()OperationMetadataV1> - Overrides:
updateFunctionOperationCallablein classCloudFunctionsServiceStub
-
deleteFunctionCallable
- Overrides:
deleteFunctionCallablein classCloudFunctionsServiceStub
-
deleteFunctionOperationCallable
public OperationCallable<DeleteFunctionRequest,com.google.protobuf.Empty, deleteFunctionOperationCallable()OperationMetadataV1> - Overrides:
deleteFunctionOperationCallablein classCloudFunctionsServiceStub
-
callFunctionCallable
- Overrides:
callFunctionCallablein classCloudFunctionsServiceStub
-
generateUploadUrlCallable
public UnaryCallable<GenerateUploadUrlRequest,GenerateUploadUrlResponse> generateUploadUrlCallable()- Overrides:
generateUploadUrlCallablein classCloudFunctionsServiceStub
-
generateDownloadUrlCallable
public UnaryCallable<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse> generateDownloadUrlCallable()- Overrides:
generateDownloadUrlCallablein classCloudFunctionsServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classCloudFunctionsServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classCloudFunctionsServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classCloudFunctionsServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classCloudFunctionsServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,CloudFunctionsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classCloudFunctionsServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classCloudFunctionsServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-