Send feedback
Class DocumentProcessorServiceSettings.Builder (2.6.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.2 keyboard_arrow_down
public static class DocumentProcessorServiceSettings . Builder extends ClientSettings . Builder<DocumentProcessorServiceSettings , DocumentProcessorServiceSettings . Builder >
Builder for DocumentProcessorServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(DocumentProcessorServiceSettings settings)
protected Builder ( DocumentProcessorServiceSettings settings )
Parameter
Builder(DocumentProcessorServiceStubSettings.Builder stubSettings)
protected Builder ( DocumentProcessorServiceStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DocumentProcessorServiceSettings . 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.
Parameter
Returns
batchProcessDocumentsOperationSettings()
public OperationCallSettings . Builder<BatchProcessRequest , BatchProcessResponse , BatchProcessMetadata > batchProcessDocumentsOperationSettings ()
Returns the builder for the settings used for calls to batchProcessDocuments.
Returns
batchProcessDocumentsSettings()
public UnaryCallSettings . Builder<BatchProcessRequest , Operation > batchProcessDocumentsSettings ()
Returns the builder for the settings used for calls to batchProcessDocuments.
Returns
build()
public DocumentProcessorServiceSettings build ()
Returns
Overrides
Exceptions
createProcessorSettings()
public UnaryCallSettings . Builder<CreateProcessorRequest , Processor > createProcessorSettings ()
Returns the builder for the settings used for calls to createProcessor.
Returns
deleteProcessorOperationSettings()
public OperationCallSettings . Builder<DeleteProcessorRequest , Empty , DeleteProcessorMetadata > deleteProcessorOperationSettings ()
Returns the builder for the settings used for calls to deleteProcessor.
Returns
deleteProcessorSettings()
public UnaryCallSettings . Builder<DeleteProcessorRequest , Operation > deleteProcessorSettings ()
Returns the builder for the settings used for calls to deleteProcessor.
Returns
disableProcessorOperationSettings()
public OperationCallSettings . Builder<DisableProcessorRequest , DisableProcessorResponse , DisableProcessorMetadata > disableProcessorOperationSettings ()
Returns the builder for the settings used for calls to disableProcessor.
Returns
disableProcessorSettings()
public UnaryCallSettings . Builder<DisableProcessorRequest , Operation > disableProcessorSettings ()
Returns the builder for the settings used for calls to disableProcessor.
Returns
enableProcessorOperationSettings()
public OperationCallSettings . Builder<EnableProcessorRequest , EnableProcessorResponse , EnableProcessorMetadata > enableProcessorOperationSettings ()
Returns the builder for the settings used for calls to enableProcessor.
Returns
enableProcessorSettings()
public UnaryCallSettings . Builder<EnableProcessorRequest , Operation > enableProcessorSettings ()
Returns the builder for the settings used for calls to enableProcessor.
Returns
fetchProcessorTypesSettings()
public UnaryCallSettings . Builder<FetchProcessorTypesRequest , FetchProcessorTypesResponse > fetchProcessorTypesSettings ()
Returns the builder for the settings used for calls to fetchProcessorTypes.
Returns
getStubSettingsBuilder()
public DocumentProcessorServiceStubSettings . Builder getStubSettingsBuilder ()
Returns
public PagedCallSettings . Builder<ListProcessorsRequest , ListProcessorsResponse , DocumentProcessorServiceClient . ListProcessorsPagedResponse > listProcessorsSettings ()
Returns the builder for the settings used for calls to listProcessors.
Returns
processDocumentSettings()
public UnaryCallSettings . Builder<ProcessRequest , ProcessResponse > processDocumentSettings ()
Returns the builder for the settings used for calls to processDocument.
Returns
reviewDocumentOperationSettings()
public OperationCallSettings . Builder<ReviewDocumentRequest , ReviewDocumentResponse , ReviewDocumentOperationMetadata > reviewDocumentOperationSettings ()
Returns the builder for the settings used for calls to reviewDocument.
Returns
reviewDocumentSettings()
public UnaryCallSettings . Builder<ReviewDocumentRequest , Operation > reviewDocumentSettings ()
Returns the builder for the settings used for calls to reviewDocument.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]