Class DocumentProcessorServiceSettings.Builder (2.52.0)

public static class DocumentProcessorServiceSettings.Builder extends ClientSettings.Builder<DocumentProcessorServiceSettings,DocumentProcessorServiceSettings.Builder>

Builder for DocumentProcessorServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DocumentProcessorServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DocumentProcessorServiceSettings settings)

protected Builder(DocumentProcessorServiceSettings settings)
Parameter
Name Description
settings DocumentProcessorServiceSettings

Builder(DocumentProcessorServiceStubSettings.Builder stubSettings)

protected Builder(DocumentProcessorServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DocumentProcessorServiceStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DocumentProcessorServiceSettings.Builder

batchProcessDocumentsOperationSettings()

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

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

Returns
Type Description
Builder<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata>

batchProcessDocumentsSettings()

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

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

Returns
Type Description
Builder<BatchProcessRequest,Operation>

build()

public DocumentProcessorServiceSettings build()
Returns
Type Description
DocumentProcessorServiceSettings
Overrides
Exceptions
Type Description
IOException

createProcessorSettings()

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

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

Returns
Type Description
Builder<CreateProcessorRequest,Processor>

deleteProcessorOperationSettings()

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

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

Returns
Type Description
Builder<DeleteProcessorRequest,Empty,DeleteProcessorMetadata>

deleteProcessorSettings()

public UnaryCallSettings.Builder<DeleteProcessorRequest,Operation> deleteProcessorSettings()

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

Returns
Type Description
Builder<DeleteProcessorRequest,Operation>

deleteProcessorVersionOperationSettings()

public OperationCallSettings.Builder<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata> deleteProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata>

deleteProcessorVersionSettings()

public UnaryCallSettings.Builder<DeleteProcessorVersionRequest,Operation> deleteProcessorVersionSettings()

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

Returns
Type Description
Builder<DeleteProcessorVersionRequest,Operation>

deployProcessorVersionOperationSettings()

public OperationCallSettings.Builder<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata> deployProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata>

deployProcessorVersionSettings()

public UnaryCallSettings.Builder<DeployProcessorVersionRequest,Operation> deployProcessorVersionSettings()

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

Returns
Type Description
Builder<DeployProcessorVersionRequest,Operation>

disableProcessorOperationSettings()

public OperationCallSettings.Builder<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata> disableProcessorOperationSettings()

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

Returns
Type Description
Builder<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata>

disableProcessorSettings()

public UnaryCallSettings.Builder<DisableProcessorRequest,Operation> disableProcessorSettings()

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

Returns
Type Description
Builder<DisableProcessorRequest,Operation>

enableProcessorOperationSettings()

public OperationCallSettings.Builder<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata> enableProcessorOperationSettings()

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

Returns
Type Description
Builder<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata>

enableProcessorSettings()

public UnaryCallSettings.Builder<EnableProcessorRequest,Operation> enableProcessorSettings()

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

Returns
Type Description
Builder<EnableProcessorRequest,Operation>

evaluateProcessorVersionOperationSettings()

public OperationCallSettings.Builder<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata> evaluateProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata>

evaluateProcessorVersionSettings()

public UnaryCallSettings.Builder<EvaluateProcessorVersionRequest,Operation> evaluateProcessorVersionSettings()

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

Returns
Type Description
Builder<EvaluateProcessorVersionRequest,Operation>

fetchProcessorTypesSettings()

public UnaryCallSettings.Builder<FetchProcessorTypesRequest,FetchProcessorTypesResponse> fetchProcessorTypesSettings()

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

Returns
Type Description
Builder<FetchProcessorTypesRequest,FetchProcessorTypesResponse>

getEvaluationSettings()

public UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()

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

Returns
Type Description
Builder<GetEvaluationRequest,Evaluation>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getProcessorSettings()

public UnaryCallSettings.Builder<GetProcessorRequest,Processor> getProcessorSettings()

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

Returns
Type Description
Builder<GetProcessorRequest,Processor>

getProcessorTypeSettings()

public UnaryCallSettings.Builder<GetProcessorTypeRequest,ProcessorType> getProcessorTypeSettings()

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

Returns
Type Description
Builder<GetProcessorTypeRequest,ProcessorType>

getProcessorVersionSettings()

public UnaryCallSettings.Builder<GetProcessorVersionRequest,ProcessorVersion> getProcessorVersionSettings()

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

Returns
Type Description
Builder<GetProcessorVersionRequest,ProcessorVersion>

getStubSettingsBuilder()

public DocumentProcessorServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DocumentProcessorServiceStubSettings.Builder

listEvaluationsSettings()

public PagedCallSettings.Builder<ListEvaluationsRequest,ListEvaluationsResponse,DocumentProcessorServiceClient.ListEvaluationsPagedResponse> listEvaluationsSettings()

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

Returns
Type Description
Builder<ListEvaluationsRequest,ListEvaluationsResponse,ListEvaluationsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DocumentProcessorServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listProcessorTypesSettings()

public PagedCallSettings.Builder<ListProcessorTypesRequest,ListProcessorTypesResponse,DocumentProcessorServiceClient.ListProcessorTypesPagedResponse> listProcessorTypesSettings()

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

Returns
Type Description
Builder<ListProcessorTypesRequest,ListProcessorTypesResponse,ListProcessorTypesPagedResponse>

listProcessorVersionsSettings()

public PagedCallSettings.Builder<ListProcessorVersionsRequest,ListProcessorVersionsResponse,DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse> listProcessorVersionsSettings()

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

Returns
Type Description
Builder<ListProcessorVersionsRequest,ListProcessorVersionsResponse,ListProcessorVersionsPagedResponse>

listProcessorsSettings()

public PagedCallSettings.Builder<ListProcessorsRequest,ListProcessorsResponse,DocumentProcessorServiceClient.ListProcessorsPagedResponse> listProcessorsSettings()

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

Returns
Type Description
Builder<ListProcessorsRequest,ListProcessorsResponse,ListProcessorsPagedResponse>

processDocumentSettings()

public UnaryCallSettings.Builder<ProcessRequest,ProcessResponse> processDocumentSettings()

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

Returns
Type Description
Builder<ProcessRequest,ProcessResponse>

reviewDocumentOperationSettings()

public OperationCallSettings.Builder<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> reviewDocumentOperationSettings()

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

Returns
Type Description
Builder<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata>

reviewDocumentSettings()

public UnaryCallSettings.Builder<ReviewDocumentRequest,Operation> reviewDocumentSettings()

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

Returns
Type Description
Builder<ReviewDocumentRequest,Operation>

setDefaultProcessorVersionOperationSettings()

public OperationCallSettings.Builder<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata> setDefaultProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata>

setDefaultProcessorVersionSettings()

public UnaryCallSettings.Builder<SetDefaultProcessorVersionRequest,Operation> setDefaultProcessorVersionSettings()

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

Returns
Type Description
Builder<SetDefaultProcessorVersionRequest,Operation>

trainProcessorVersionOperationSettings()

public OperationCallSettings.Builder<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata> trainProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata>

trainProcessorVersionSettings()

public UnaryCallSettings.Builder<TrainProcessorVersionRequest,Operation> trainProcessorVersionSettings()

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

Returns
Type Description
Builder<TrainProcessorVersionRequest,Operation>

undeployProcessorVersionOperationSettings()

public OperationCallSettings.Builder<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata> undeployProcessorVersionOperationSettings()

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

Returns
Type Description
Builder<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata>

undeployProcessorVersionSettings()

public UnaryCallSettings.Builder<UndeployProcessorVersionRequest,Operation> undeployProcessorVersionSettings()

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

Returns
Type Description
Builder<UndeployProcessorVersionRequest,Operation>