Class BatchControllerStubSettings.Builder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BatchControllerStubSettings.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.
      BatchControllerStubSettings build()  
      com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBatchRequest,​Batch,​BatchOperationMetadata> createBatchOperationSettings()
      Returns the builder for the settings used for calls to createBatch.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBatchRequest,​com.google.longrunning.Operation> createBatchSettings()
      Returns the builder for the settings used for calls to createBatch.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBatchRequest,​com.google.protobuf.Empty> deleteBatchSettings()
      Returns the builder for the settings used for calls to deleteBatch.
      com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBatchRequest,​Batch> getBatchSettings()
      Returns the builder for the settings used for calls to getBatch.
      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<ListBatchesRequest,​ListBatchesResponse,​BatchControllerClient.ListBatchesPagedResponse> listBatchesSettings()
      Returns the builder for the settings used for calls to listBatches.
      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()  
      • 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)
    • Method Detail

      • applyToAllUnaryMethods

        public BatchControllerStubSettings.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()
      • createBatchSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBatchRequest,​com.google.longrunning.Operation> createBatchSettings()
        Returns the builder for the settings used for calls to createBatch.
      • createBatchOperationSettings

        @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<CreateBatchRequest,​Batch,​BatchOperationMetadata> createBatchOperationSettings()
        Returns the builder for the settings used for calls to createBatch.
      • getBatchSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBatchRequest,​Batch> getBatchSettings()
        Returns the builder for the settings used for calls to getBatch.
      • deleteBatchSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBatchRequest,​com.google.protobuf.Empty> deleteBatchSettings()
        Returns the builder for the settings used for calls to deleteBatch.
      • 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.