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 com.google.api.gax.rpc.ClientSettings.Builder<CloudFunctionsServiceSettings,CloudFunctionsServiceSettings.Builder>
Builder for CloudFunctionsServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudFunctionsServiceSettings settings)
protected
Builder(CloudFunctionsServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudFunctionsServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.CloudFunctionsServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CallFunctionRequest,CallFunctionResponse>
callFunctionSettings()
Returns the builder for the settings used for calls to callFunction.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFunctionRequest,CloudFunction,OperationMetadataV1>
createFunctionOperationSettings()
Returns the builder for the settings used for calls to createFunction.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFunctionRequest,com.google.longrunning.Operation>
createFunctionSettings()
Returns the builder for the settings used for calls to createFunction.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFunctionRequest,com.google.protobuf.Empty,OperationMetadataV1>
deleteFunctionOperationSettings()
Returns the builder for the settings used for calls to deleteFunction.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFunctionRequest,com.google.longrunning.Operation>
deleteFunctionSettings()
Returns the builder for the settings used for calls to deleteFunction.com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse>
generateDownloadUrlSettings()
Returns the builder for the settings used for calls to generateDownloadUrl.com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateUploadUrlRequest,GenerateUploadUrlResponse>
generateUploadUrlSettings()
Returns the builder for the settings used for calls to generateUploadUrl.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFunctionRequest,CloudFunction>
getFunctionSettings()
Returns the builder for the settings used for calls to getFunction.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.CloudFunctionsServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListFunctionsRequest,ListFunctionsResponse,CloudFunctionsServiceClient.ListFunctionsPagedResponse>
listFunctionsSettings()
Returns the builder for the settings used for calls to listFunctions.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,CloudFunctionsServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFunctionRequest,CloudFunction,OperationMetadataV1>
updateFunctionOperationSettings()
Returns the builder for the settings used for calls to updateFunction.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFunctionRequest,com.google.longrunning.Operation>
updateFunctionSettings()
Returns the builder for the settings used for calls to updateFunction.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudFunctionsServiceSettings settings)
-
Builder
protected Builder(CloudFunctionsServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CloudFunctionsServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CloudFunctionsServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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 com.google.api.gax.rpc.PagedCallSettings.Builder<ListFunctionsRequest,ListFunctionsResponse,CloudFunctionsServiceClient.ListFunctionsPagedResponse> listFunctionsSettings()
Returns the builder for the settings used for calls to listFunctions.
-
getFunctionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFunctionRequest,CloudFunction> getFunctionSettings()
Returns the builder for the settings used for calls to getFunction.
-
createFunctionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFunctionRequest,com.google.longrunning.Operation> createFunctionSettings()
Returns the builder for the settings used for calls to createFunction.
-
createFunctionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFunctionRequest,CloudFunction,OperationMetadataV1> createFunctionOperationSettings()
Returns the builder for the settings used for calls to createFunction.
-
updateFunctionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFunctionRequest,com.google.longrunning.Operation> updateFunctionSettings()
Returns the builder for the settings used for calls to updateFunction.
-
updateFunctionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFunctionRequest,CloudFunction,OperationMetadataV1> updateFunctionOperationSettings()
Returns the builder for the settings used for calls to updateFunction.
-
deleteFunctionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFunctionRequest,com.google.longrunning.Operation> deleteFunctionSettings()
Returns the builder for the settings used for calls to deleteFunction.
-
deleteFunctionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFunctionRequest,com.google.protobuf.Empty,OperationMetadataV1> deleteFunctionOperationSettings()
Returns the builder for the settings used for calls to deleteFunction.
-
callFunctionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CallFunctionRequest,CallFunctionResponse> callFunctionSettings()
Returns the builder for the settings used for calls to callFunction.
-
generateUploadUrlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateUploadUrlRequest,GenerateUploadUrlResponse> generateUploadUrlSettings()
Returns the builder for the settings used for calls to generateUploadUrl.
-
generateDownloadUrlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateDownloadUrlRequest,GenerateDownloadUrlResponse> generateDownloadUrlSettings()
Returns the builder for the settings used for calls to generateDownloadUrl.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,CloudFunctionsServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
build
public CloudFunctionsServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CloudFunctionsServiceSettings,CloudFunctionsServiceSettings.Builder>
- Throws:
IOException
-
-