Class CloudFunctionsServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • 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()
      • 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.
      • 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.