public static class DocumentProcessorServiceStubSettings . Builder extends StubSettings . Builder<DocumentProcessorServiceStubSettings , DocumentProcessorServiceStubSettings . Builder >
Builder for DocumentProcessorServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(DocumentProcessorServiceStubSettings settings)
protected Builder ( DocumentProcessorServiceStubSettings settings )
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.
batchProcessDocumentsOperationSettings()
public OperationCallSettings . Builder<BatchProcessRequest , BatchProcessResponse , BatchProcessMetadata > batchProcessDocumentsOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to batchProcessDocuments.
batchProcessDocumentsSettings()
public UnaryCallSettings . Builder<BatchProcessRequest , Operation > batchProcessDocumentsSettings ()
Returns the builder for the settings used for calls to batchProcessDocuments.
build()
public DocumentProcessorServiceStubSettings build ()
Overrides
createProcessorSettings()
public UnaryCallSettings . Builder<CreateProcessorRequest , Processor > createProcessorSettings ()
Returns the builder for the settings used for calls to createProcessor.
deleteProcessorOperationSettings()
public OperationCallSettings . Builder<DeleteProcessorRequest , Empty , DeleteProcessorMetadata > deleteProcessorOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteProcessor.
deleteProcessorSettings()
public UnaryCallSettings . Builder<DeleteProcessorRequest , Operation > deleteProcessorSettings ()
Returns the builder for the settings used for calls to deleteProcessor.
deleteProcessorVersionOperationSettings()
public OperationCallSettings . Builder<DeleteProcessorVersionRequest , Empty , DeleteProcessorVersionMetadata > deleteProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteProcessorVersion.
deleteProcessorVersionSettings()
public UnaryCallSettings . Builder<DeleteProcessorVersionRequest , Operation > deleteProcessorVersionSettings ()
Returns the builder for the settings used for calls to deleteProcessorVersion.
deployProcessorVersionOperationSettings()
public OperationCallSettings . Builder<DeployProcessorVersionRequest , DeployProcessorVersionResponse , DeployProcessorVersionMetadata > deployProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deployProcessorVersion.
deployProcessorVersionSettings()
public UnaryCallSettings . Builder<DeployProcessorVersionRequest , Operation > deployProcessorVersionSettings ()
Returns the builder for the settings used for calls to deployProcessorVersion.
disableProcessorOperationSettings()
public OperationCallSettings . Builder<DisableProcessorRequest , DisableProcessorResponse , DisableProcessorMetadata > disableProcessorOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to disableProcessor.
disableProcessorSettings()
public UnaryCallSettings . Builder<DisableProcessorRequest , Operation > disableProcessorSettings ()
Returns the builder for the settings used for calls to disableProcessor.
enableProcessorOperationSettings()
public OperationCallSettings . Builder<EnableProcessorRequest , EnableProcessorResponse , EnableProcessorMetadata > enableProcessorOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to enableProcessor.
enableProcessorSettings()
public UnaryCallSettings . Builder<EnableProcessorRequest , Operation > enableProcessorSettings ()
Returns the builder for the settings used for calls to enableProcessor.
evaluateProcessorVersionOperationSettings()
public OperationCallSettings . Builder<EvaluateProcessorVersionRequest , EvaluateProcessorVersionResponse , EvaluateProcessorVersionMetadata > evaluateProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to evaluateProcessorVersion.
evaluateProcessorVersionSettings()
public UnaryCallSettings . Builder<EvaluateProcessorVersionRequest , Operation > evaluateProcessorVersionSettings ()
Returns the builder for the settings used for calls to evaluateProcessorVersion.
fetchProcessorTypesSettings()
public UnaryCallSettings . Builder<FetchProcessorTypesRequest , FetchProcessorTypesResponse > fetchProcessorTypesSettings ()
Returns the builder for the settings used for calls to fetchProcessorTypes.
getEndpoint()
public String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getEvaluationSettings()
public UnaryCallSettings . Builder<GetEvaluationRequest , Evaluation > getEvaluationSettings ()
Returns the builder for the settings used for calls to getEvaluation.
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.
getProcessorTypeSettings()
public UnaryCallSettings . Builder<GetProcessorTypeRequest , ProcessorType > getProcessorTypeSettings ()
Returns the builder for the settings used for calls to getProcessorType.
getProcessorVersionSettings()
public UnaryCallSettings . Builder<GetProcessorVersionRequest , ProcessorVersion > getProcessorVersionSettings ()
Returns the builder for the settings used for calls to getProcessorVersion.
importProcessorVersionOperationSettings()
public OperationCallSettings . Builder<ImportProcessorVersionRequest , ImportProcessorVersionResponse , ImportProcessorVersionMetadata > importProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to importProcessorVersion.
importProcessorVersionSettings()
public UnaryCallSettings . Builder<ImportProcessorVersionRequest , Operation > importProcessorVersionSettings ()
Returns the builder for the settings used for calls to importProcessorVersion.
listEvaluationsSettings()
public PagedCallSettings . Builder<ListEvaluationsRequest , ListEvaluationsResponse , DocumentProcessorServiceClient . ListEvaluationsPagedResponse > listEvaluationsSettings ()
Returns the builder for the settings used for calls to listEvaluations.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , DocumentProcessorServiceClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
listProcessorTypesSettings()
public PagedCallSettings . Builder<ListProcessorTypesRequest , ListProcessorTypesResponse , DocumentProcessorServiceClient . ListProcessorTypesPagedResponse > listProcessorTypesSettings ()
Returns the builder for the settings used for calls to listProcessorTypes.
listProcessorVersionsSettings()
public PagedCallSettings . Builder<ListProcessorVersionsRequest , ListProcessorVersionsResponse , DocumentProcessorServiceClient . ListProcessorVersionsPagedResponse > listProcessorVersionsSettings ()
Returns the builder for the settings used for calls to listProcessorVersions.
public PagedCallSettings . Builder<ListProcessorsRequest , ListProcessorsResponse , DocumentProcessorServiceClient . ListProcessorsPagedResponse > listProcessorsSettings ()
Returns the builder for the settings used for calls to listProcessors.
processDocumentSettings()
public UnaryCallSettings . Builder<ProcessRequest , ProcessResponse > processDocumentSettings ()
Returns the builder for the settings used for calls to processDocument.
reviewDocumentOperationSettings()
public OperationCallSettings . Builder<ReviewDocumentRequest , ReviewDocumentResponse , ReviewDocumentOperationMetadata > reviewDocumentOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to reviewDocument.
reviewDocumentSettings()
public UnaryCallSettings . Builder<ReviewDocumentRequest , Operation > reviewDocumentSettings ()
Returns the builder for the settings used for calls to reviewDocument.
setDefaultProcessorVersionOperationSettings()
public OperationCallSettings . Builder<SetDefaultProcessorVersionRequest , SetDefaultProcessorVersionResponse , SetDefaultProcessorVersionMetadata > setDefaultProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to setDefaultProcessorVersion.
setDefaultProcessorVersionSettings()
public UnaryCallSettings . Builder<SetDefaultProcessorVersionRequest , Operation > setDefaultProcessorVersionSettings ()
Returns the builder for the settings used for calls to setDefaultProcessorVersion.
trainProcessorVersionOperationSettings()
public OperationCallSettings . Builder<TrainProcessorVersionRequest , TrainProcessorVersionResponse , TrainProcessorVersionMetadata > trainProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to trainProcessorVersion.
trainProcessorVersionSettings()
public UnaryCallSettings . Builder<TrainProcessorVersionRequest , Operation > trainProcessorVersionSettings ()
Returns the builder for the settings used for calls to trainProcessorVersion.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
undeployProcessorVersionOperationSettings()
public OperationCallSettings . Builder<UndeployProcessorVersionRequest , UndeployProcessorVersionResponse , UndeployProcessorVersionMetadata > undeployProcessorVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to undeployProcessorVersion.
undeployProcessorVersionSettings()
public UnaryCallSettings . Builder<UndeployProcessorVersionRequest , Operation > undeployProcessorVersionSettings ()
Returns the builder for the settings used for calls to undeployProcessorVersion.