public static class DocumentProcessorServiceStubSettings.Builder extends StubSettings.Builder<DocumentProcessorServiceStubSettings,DocumentProcessorServiceStubSettings.Builder>
Builder for DocumentProcessorServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(DocumentProcessorServiceStubSettings settings)
protected Builder(DocumentProcessorServiceStubSettings settings)
Name | Description |
settings | DocumentProcessorServiceStubSettings |
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
DocumentProcessorServiceStubSettings.Builder |
batchProcessDocumentsOperationSettings()
public OperationCallSettings.Builder<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> batchProcessDocumentsOperationSettings()
Returns the builder for the settings used for calls to batchProcessDocuments.
Type | Description |
Builder<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> |
batchProcessDocumentsSettings()
public UnaryCallSettings.Builder<BatchProcessRequest,Operation> batchProcessDocumentsSettings()
Returns the builder for the settings used for calls to batchProcessDocuments.
Type | Description |
Builder<BatchProcessRequest,Operation> |
build()
public DocumentProcessorServiceStubSettings build()
Type | Description |
DocumentProcessorServiceStubSettings |
Type | Description |
IOException |
processDocumentSettings()
public UnaryCallSettings.Builder<ProcessRequest,ProcessResponse> processDocumentSettings()
Returns the builder for the settings used for calls to processDocument.
Type | Description |
Builder<ProcessRequest,ProcessResponse> |
reviewDocumentOperationSettings()
public OperationCallSettings.Builder<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> reviewDocumentOperationSettings()
Returns the builder for the settings used for calls to reviewDocument.
Type | Description |
Builder<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> |
reviewDocumentSettings()
public UnaryCallSettings.Builder<ReviewDocumentRequest,Operation> reviewDocumentSettings()
Returns the builder for the settings used for calls to reviewDocument.
Type | Description |
Builder<ReviewDocumentRequest,Operation> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |