Class DocumentUnderstandingServiceStubSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public DocumentUnderstandingServiceStubSettings.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()
      • batchProcessDocumentsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchProcessDocumentsRequest,​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<BatchProcessDocumentsRequest,​BatchProcessDocumentsResponse,​OperationMetadata> batchProcessDocumentsOperationSettings()
        Returns the builder for the settings used for calls to batchProcessDocuments.
      • processDocumentSettings

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

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​DocumentUnderstandingServiceClient.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.