Class DocumentProcessorServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public DocumentProcessorServiceStubSettings.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()
      • processDocumentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ProcessRequest,​ProcessResponse> processDocumentSettings()
        Returns the builder for the settings used for calls to processDocument.
      • batchProcessDocumentsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchProcessRequest,​com.google.longrunning.Operation> batchProcessDocumentsSettings()
        Returns the builder for the settings used for calls to batchProcessDocuments.
      • batchProcessDocumentsOperationSettings

        @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<BatchProcessRequest,​BatchProcessResponse,​BatchProcessMetadata> batchProcessDocumentsOperationSettings()
        Returns the builder for the settings used for calls to batchProcessDocuments.
      • getProcessorTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProcessorTypeRequest,​ProcessorType> getProcessorTypeSettings()
        Returns the builder for the settings used for calls to getProcessorType.
      • getProcessorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProcessorRequest,​Processor> getProcessorSettings()
        Returns the builder for the settings used for calls to getProcessor.
      • trainProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainProcessorVersionRequest,​com.google.longrunning.Operation> trainProcessorVersionSettings()
        Returns the builder for the settings used for calls to trainProcessorVersion.
      • getProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProcessorVersionRequest,​ProcessorVersion> getProcessorVersionSettings()
        Returns the builder for the settings used for calls to getProcessorVersion.
      • deleteProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProcessorVersionRequest,​com.google.longrunning.Operation> deleteProcessorVersionSettings()
        Returns the builder for the settings used for calls to deleteProcessorVersion.
      • deleteProcessorVersionOperationSettings

        @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<DeleteProcessorVersionRequest,​com.google.protobuf.Empty,​DeleteProcessorVersionMetadata> deleteProcessorVersionOperationSettings()
        Returns the builder for the settings used for calls to deleteProcessorVersion.
      • deployProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeployProcessorVersionRequest,​com.google.longrunning.Operation> deployProcessorVersionSettings()
        Returns the builder for the settings used for calls to deployProcessorVersion.
      • undeployProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeployProcessorVersionRequest,​com.google.longrunning.Operation> undeployProcessorVersionSettings()
        Returns the builder for the settings used for calls to undeployProcessorVersion.
      • createProcessorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProcessorRequest,​Processor> createProcessorSettings()
        Returns the builder for the settings used for calls to createProcessor.
      • deleteProcessorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProcessorRequest,​com.google.longrunning.Operation> deleteProcessorSettings()
        Returns the builder for the settings used for calls to deleteProcessor.
      • deleteProcessorOperationSettings

        @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<DeleteProcessorRequest,​com.google.protobuf.Empty,​DeleteProcessorMetadata> deleteProcessorOperationSettings()
        Returns the builder for the settings used for calls to deleteProcessor.
      • enableProcessorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableProcessorRequest,​com.google.longrunning.Operation> enableProcessorSettings()
        Returns the builder for the settings used for calls to enableProcessor.
      • enableProcessorOperationSettings

        @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<EnableProcessorRequest,​EnableProcessorResponse,​EnableProcessorMetadata> enableProcessorOperationSettings()
        Returns the builder for the settings used for calls to enableProcessor.
      • disableProcessorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableProcessorRequest,​com.google.longrunning.Operation> disableProcessorSettings()
        Returns the builder for the settings used for calls to disableProcessor.
      • disableProcessorOperationSettings

        @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<DisableProcessorRequest,​DisableProcessorResponse,​DisableProcessorMetadata> disableProcessorOperationSettings()
        Returns the builder for the settings used for calls to disableProcessor.
      • setDefaultProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultProcessorVersionRequest,​com.google.longrunning.Operation> setDefaultProcessorVersionSettings()
        Returns the builder for the settings used for calls to setDefaultProcessorVersion.
      • reviewDocumentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReviewDocumentRequest,​com.google.longrunning.Operation> reviewDocumentSettings()
        Returns the builder for the settings used for calls to reviewDocument.
      • reviewDocumentOperationSettings

        @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<ReviewDocumentRequest,​ReviewDocumentResponse,​ReviewDocumentOperationMetadata> reviewDocumentOperationSettings()
        Returns the builder for the settings used for calls to reviewDocument.
      • evaluateProcessorVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<EvaluateProcessorVersionRequest,​com.google.longrunning.Operation> evaluateProcessorVersionSettings()
        Returns the builder for the settings used for calls to evaluateProcessorVersion.
      • getEvaluationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEvaluationRequest,​Evaluation> getEvaluationSettings()
        Returns the builder for the settings used for calls to getEvaluation.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​DocumentProcessorServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.