Package com.google.cloud.functions.v1
Class CloudFunctionsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CloudFunctionsServiceSettings,CloudFunctionsServiceSettings.Builder>
com.google.cloud.functions.v1.CloudFunctionsServiceSettings.Builder
- Enclosing class:
- CloudFunctionsServiceSettings
public static class CloudFunctionsServiceSettings.Builder
extends ClientSettings.Builder<CloudFunctionsServiceSettings,CloudFunctionsServiceSettings.Builder>
Builder for CloudFunctionsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudFunctionsServiceSettings settings) protectedBuilder(CloudFunctionsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to callFunction.Returns the builder for the settings used for calls to createFunction.Returns the builder for the settings used for calls to createFunction.OperationCallSettings.Builder<DeleteFunctionRequest,com.google.protobuf.Empty, OperationMetadataV1> Returns the builder for the settings used for calls to deleteFunction.Returns the builder for the settings used for calls to deleteFunction.Returns the builder for the settings used for calls to generateDownloadUrl.Returns the builder for the settings used for calls to generateUploadUrl.Returns the builder for the settings used for calls to getFunction.Returns the builder for the settings used for calls to getIamPolicy.PagedCallSettings.Builder<ListFunctionsRequest,ListFunctionsResponse, CloudFunctionsServiceClient.ListFunctionsPagedResponse> Returns the builder for the settings used for calls to listFunctions.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, CloudFunctionsServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateFunction.Returns the builder for the settings used for calls to updateFunction.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CloudFunctionsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
listFunctionsSettings
public PagedCallSettings.Builder<ListFunctionsRequest,ListFunctionsResponse, listFunctionsSettings()CloudFunctionsServiceClient.ListFunctionsPagedResponse> Returns the builder for the settings used for calls to listFunctions. -
getFunctionSettings
Returns the builder for the settings used for calls to getFunction. -
createFunctionSettings
Returns the builder for the settings used for calls to createFunction. -
createFunctionOperationSettings
public OperationCallSettings.Builder<CreateFunctionRequest,CloudFunction, createFunctionOperationSettings()OperationMetadataV1> Returns the builder for the settings used for calls to createFunction. -
updateFunctionSettings
Returns the builder for the settings used for calls to updateFunction. -
updateFunctionOperationSettings
public OperationCallSettings.Builder<UpdateFunctionRequest,CloudFunction, updateFunctionOperationSettings()OperationMetadataV1> Returns the builder for the settings used for calls to updateFunction. -
deleteFunctionSettings
Returns the builder for the settings used for calls to deleteFunction. -
deleteFunctionOperationSettings
public OperationCallSettings.Builder<DeleteFunctionRequest,com.google.protobuf.Empty, deleteFunctionOperationSettings()OperationMetadataV1> Returns the builder for the settings used for calls to deleteFunction. -
callFunctionSettings
Returns the builder for the settings used for calls to callFunction. -
generateUploadUrlSettings
public UnaryCallSettings.Builder<GenerateUploadUrlRequest,GenerateUploadUrlResponse> generateUploadUrlSettings()Returns the builder for the settings used for calls to generateUploadUrl. -
generateDownloadUrlSettings
public UnaryCallSettings.Builder<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse> generateDownloadUrlSettings()Returns the builder for the settings used for calls to generateDownloadUrl. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()CloudFunctionsServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
build
- Specified by:
buildin classClientSettings.Builder<CloudFunctionsServiceSettings,CloudFunctionsServiceSettings.Builder> - Throws:
IOException
-