Class DocumentProcessorServiceStubSettings.Builder (2.12.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()

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

Returns
TypeDescription
Builder<DeleteProcessorRequest,Empty,DeleteProcessorMetadata>

deleteProcessorSettings()

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

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

Returns
TypeDescription
Builder<DeleteProcessorRequest,Operation>

deleteProcessorVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata>

deleteProcessorVersionSettings()

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

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

Returns
TypeDescription
Builder<DeleteProcessorVersionRequest,Operation>

deployProcessorVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata>

deployProcessorVersionSettings()

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

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

Returns
TypeDescription
Builder<DeployProcessorVersionRequest,Operation>

disableProcessorOperationSettings()

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

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

Returns
TypeDescription
Builder<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata>

disableProcessorSettings()

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

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

Returns
TypeDescription
Builder<DisableProcessorRequest,Operation>

enableProcessorOperationSettings()

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

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

Returns
TypeDescription
Builder<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata>

enableProcessorSettings()

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

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

Returns
TypeDescription
Builder<EnableProcessorRequest,Operation>

fetchProcessorTypesSettings()

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

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

Returns
TypeDescription
Builder<FetchProcessorTypesRequest,FetchProcessorTypesResponse>

getLocationSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetProcessorRequest,Processor>

getProcessorVersionSettings()

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

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

Returns
TypeDescription
Builder<GetProcessorVersionRequest,ProcessorVersion>

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListProcessorsRequest,ListProcessorsResponse,ListProcessorsPagedResponse>

processDocumentSettings()

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

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

Returns
TypeDescription
Builder<ProcessRequest,ProcessResponse>

reviewDocumentOperationSettings()

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

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

Returns
TypeDescription
Builder<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata>

reviewDocumentSettings()

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

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

Returns
TypeDescription
Builder<ReviewDocumentRequest,Operation>

setDefaultProcessorVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata>

setDefaultProcessorVersionSettings()

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

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

Returns
TypeDescription
Builder<SetDefaultProcessorVersionRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

undeployProcessorVersionOperationSettings()

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

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

Returns
TypeDescription
Builder<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata>

undeployProcessorVersionSettings()

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

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

Returns
TypeDescription
Builder<UndeployProcessorVersionRequest,Operation>