Class CloudFunctionsServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<CloudFunctionsServiceStubSettings,CloudFunctionsServiceStubSettings.Builder>
-
- com.google.cloud.functions.v1.stub.CloudFunctionsServiceStubSettings.Builder
-
- Enclosing class:
- CloudFunctionsServiceStubSettings
public static class CloudFunctionsServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CloudFunctionsServiceStubSettings,CloudFunctionsServiceStubSettings.Builder>
Builder for CloudFunctionsServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudFunctionsServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudFunctionsServiceStubSettings.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.CloudFunctionsServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudFunctionsServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CloudFunctionsServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 CloudFunctionsServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<CloudFunctionsServiceStubSettings,CloudFunctionsServiceStubSettings.Builder>
- Throws:
IOException
-
-