Class DocumentProcessorServiceStubSettings.Builder (2.15.0)

public static class DocumentProcessorServiceStubSettings.Builder extends StubSettings.Builder<DocumentProcessorServiceStubSettings,DocumentProcessorServiceStubSettings.Builder>

Builder for DocumentProcessorServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DocumentProcessorServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DocumentProcessorServiceStubSettings settings)

protected Builder(DocumentProcessorServiceStubSettings settings)
Parameter
NameDescription
settingsDocumentProcessorServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DocumentProcessorServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DocumentProcessorServiceStubSettings.Builder

batchProcessDocumentsOperationSettings()

public OperationCallSettings.Builder<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> batchProcessDocumentsOperationSettings()

Returns the builder for the settings used for calls to batchProcessDocuments.

Returns
TypeDescription
Builder<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata>

batchProcessDocumentsSettings()

public UnaryCallSettings.Builder<BatchProcessRequest,Operation> batchProcessDocumentsSettings()

Returns the builder for the settings used for calls to batchProcessDocuments.

Returns
TypeDescription
Builder<BatchProcessRequest,Operation>

build()

public DocumentProcessorServiceStubSettings build()
Returns
TypeDescription
DocumentProcessorServiceStubSettings
Overrides Exceptions
TypeDescription
IOException

createProcessorSettings()

public UnaryCallSettings.Builder<CreateProcessorRequest,Processor> createProcessorSettings()

Returns the builder for the settings used for calls to createProcessor.

Returns
TypeDescription
Builder<CreateProcessorRequest,Processor>

deleteProcessorOperationSettings()

public OperationCallSettings.Builder<DeleteProcessorRequest,Empty,DeleteProcessorMetadata> deleteProcessorOperationSettings()