Class FunctionServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<FunctionServiceStubSettings,FunctionServiceStubSettings.Builder>
com.google.cloud.functions.v2.stub.FunctionServiceStubSettings.Builder
- Enclosing class:
- FunctionServiceStubSettings
public static class FunctionServiceStubSettings.Builder
extends StubSettings.Builder<FunctionServiceStubSettings,FunctionServiceStubSettings.Builder>
Builder for FunctionServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(FunctionServiceStubSettings settings) -
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 createFunction.Returns the builder for the settings used for calls to createFunction.OperationCallSettings.Builder<DeleteFunctionRequest,com.google.protobuf.Empty, OperationMetadata> 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, FunctionServiceClient.ListFunctionsPagedResponse> Returns the builder for the settings used for calls to listFunctions.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, FunctionServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to listRuntimes.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public FunctionServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
getFunctionSettings
Returns the builder for the settings used for calls to getFunction. -
listFunctionsSettings
public PagedCallSettings.Builder<ListFunctionsRequest,ListFunctionsResponse, listFunctionsSettings()FunctionServiceClient.ListFunctionsPagedResponse> Returns the builder for the settings used for calls to listFunctions. -
createFunctionSettings
Returns the builder for the settings used for calls to createFunction. -
createFunctionOperationSettings
public OperationCallSettings.Builder<CreateFunctionRequest,Function, createFunctionOperationSettings()OperationMetadata> 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,Function, updateFunctionOperationSettings()OperationMetadata> 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()OperationMetadata> Returns the builder for the settings used for calls to deleteFunction. -
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. -
listRuntimesSettings
Returns the builder for the settings used for calls to listRuntimes. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()FunctionServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
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. -
build
- Specified by:
buildin classStubSettings.Builder<FunctionServiceStubSettings,FunctionServiceStubSettings.Builder> - Throws:
IOException
-