- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServiceStub
REST stub implementation for the DocumentProcessorService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDocumentProcessorServiceStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonDocumentProcessorServiceStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDocumentProcessorServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonDocumentProcessorServiceStub |
Type | Description |
IOException |
create(DocumentProcessorServiceStubSettings settings)
public static final HttpJsonDocumentProcessorServiceStub create(DocumentProcessorServiceStubSettings settings)
Name | Description |
settings | DocumentProcessorServiceStubSettings |
Type | Description |
HttpJsonDocumentProcessorServiceStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDocumentProcessorServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | DocumentProcessorServiceStubSettings |
clientContext | ClientContext |
HttpJsonDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDocumentProcessorServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | DocumentProcessorServiceStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
batchProcessDocumentsCallable()
public UnaryCallable<BatchProcessRequest,Operation> batchProcessDocumentsCallable()
Type | Description |
UnaryCallable<BatchProcessRequest,Operation> |
batchProcessDocumentsOperationCallable()
public OperationCallable<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> batchProcessDocumentsOperationCallable()
Type | Description |
OperationCallable<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> |
close()
public final void close()
createProcessorCallable()
public UnaryCallable<CreateProcessorRequest,Processor> createProcessorCallable()
Type | Description |
UnaryCallable<CreateProcessorRequest,Processor> |
deleteProcessorCallable()
public UnaryCallable<DeleteProcessorRequest,Operation> deleteProcessorCallable()
Type | Description |
UnaryCallable<DeleteProcessorRequest,Operation> |
deleteProcessorOperationCallable()
public OperationCallable<DeleteProcessorRequest,Empty,DeleteProcessorMetadata> deleteProcessorOperationCallable()
Type | Description |
OperationCallable<DeleteProcessorRequest,Empty,DeleteProcessorMetadata> |
deleteProcessorVersionCallable()
public UnaryCallable<DeleteProcessorVersionRequest,Operation> deleteProcessorVersionCallable()
Type | Description |
UnaryCallable<DeleteProcessorVersionRequest,Operation> |
deleteProcessorVersionOperationCallable()
public OperationCallable<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata> deleteProcessorVersionOperationCallable()
Type | Description |
OperationCallable<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata> |
deployProcessorVersionCallable()
public UnaryCallable<DeployProcessorVersionRequest,Operation> deployProcessorVersionCallable()
Type | Description |
UnaryCallable<DeployProcessorVersionRequest,Operation> |
deployProcessorVersionOperationCallable()
public OperationCallable<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata> deployProcessorVersionOperationCallable()
Type | Description |
OperationCallable<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata> |
disableProcessorCallable()
public UnaryCallable<DisableProcessorRequest,Operation> disableProcessorCallable()
Type | Description |
UnaryCallable<DisableProcessorRequest,Operation> |
disableProcessorOperationCallable()
public OperationCallable<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata> disableProcessorOperationCallable()
Type | Description |
OperationCallable<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata> |
enableProcessorCallable()
public UnaryCallable<EnableProcessorRequest,Operation> enableProcessorCallable()
Type | Description |
UnaryCallable<EnableProcessorRequest,Operation> |
enableProcessorOperationCallable()
public OperationCallable<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata> enableProcessorOperationCallable()
Type | Description |
OperationCallable<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata> |
evaluateProcessorVersionCallable()
public UnaryCallable<EvaluateProcessorVersionRequest,Operation> evaluateProcessorVersionCallable()
Type | Description |
UnaryCallable<EvaluateProcessorVersionRequest,Operation> |
evaluateProcessorVersionOperationCallable()
public OperationCallable<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata> evaluateProcessorVersionOperationCallable()
Type | Description |
OperationCallable<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata> |
fetchProcessorTypesCallable()
public UnaryCallable<FetchProcessorTypesRequest,FetchProcessorTypesResponse> fetchProcessorTypesCallable()
Type | Description |
UnaryCallable<FetchProcessorTypesRequest,FetchProcessorTypesResponse> |
getEvaluationCallable()
public UnaryCallable<GetEvaluationRequest,Evaluation> getEvaluationCallable()
Type | Description |
UnaryCallable<GetEvaluationRequest,Evaluation> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getProcessorCallable()
public UnaryCallable<GetProcessorRequest,Processor> getProcessorCallable()
Type | Description |
UnaryCallable<GetProcessorRequest,Processor> |
getProcessorTypeCallable()
public UnaryCallable<GetProcessorTypeRequest,ProcessorType> getProcessorTypeCallable()
Type | Description |
UnaryCallable<GetProcessorTypeRequest,ProcessorType> |
getProcessorVersionCallable()
public UnaryCallable<GetProcessorVersionRequest,ProcessorVersion> getProcessorVersionCallable()
Type | Description |
UnaryCallable<GetProcessorVersionRequest,ProcessorVersion> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listEvaluationsCallable()
public UnaryCallable<ListEvaluationsRequest,ListEvaluationsResponse> listEvaluationsCallable()
Type | Description |
UnaryCallable<ListEvaluationsRequest,ListEvaluationsResponse> |
listEvaluationsPagedCallable()
public UnaryCallable<ListEvaluationsRequest,DocumentProcessorServiceClient.ListEvaluationsPagedResponse> listEvaluationsPagedCallable()
Type | Description |
UnaryCallable<ListEvaluationsRequest,ListEvaluationsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DocumentProcessorServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listProcessorTypesCallable()
public UnaryCallable<ListProcessorTypesRequest,ListProcessorTypesResponse> listProcessorTypesCallable()
Type | Description |
UnaryCallable<ListProcessorTypesRequest,ListProcessorTypesResponse> |
listProcessorTypesPagedCallable()
public UnaryCallable<ListProcessorTypesRequest,DocumentProcessorServiceClient.ListProcessorTypesPagedResponse> listProcessorTypesPagedCallable()
Type | Description |
UnaryCallable<ListProcessorTypesRequest,ListProcessorTypesPagedResponse> |
listProcessorVersionsCallable()
public UnaryCallable<ListProcessorVersionsRequest,ListProcessorVersionsResponse> listProcessorVersionsCallable()
Type | Description |
UnaryCallable<ListProcessorVersionsRequest,ListProcessorVersionsResponse> |
listProcessorVersionsPagedCallable()
public UnaryCallable<ListProcessorVersionsRequest,DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse> listProcessorVersionsPagedCallable()
Type | Description |
UnaryCallable<ListProcessorVersionsRequest,ListProcessorVersionsPagedResponse> |
listProcessorsCallable()
public UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> listProcessorsCallable()
Type | Description |
UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> |
listProcessorsPagedCallable()
public UnaryCallable<ListProcessorsRequest,DocumentProcessorServiceClient.ListProcessorsPagedResponse> listProcessorsPagedCallable()
Type | Description |
UnaryCallable<ListProcessorsRequest,ListProcessorsPagedResponse> |
processDocumentCallable()
public UnaryCallable<ProcessRequest,ProcessResponse> processDocumentCallable()
Type | Description |
UnaryCallable<ProcessRequest,ProcessResponse> |
reviewDocumentCallable()
public UnaryCallable<ReviewDocumentRequest,Operation> reviewDocumentCallable()
Type | Description |
UnaryCallable<ReviewDocumentRequest,Operation> |
reviewDocumentOperationCallable()
public OperationCallable<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> reviewDocumentOperationCallable()
Type | Description |
OperationCallable<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> |
setDefaultProcessorVersionCallable()
public UnaryCallable<SetDefaultProcessorVersionRequest,Operation> setDefaultProcessorVersionCallable()
Type | Description |
UnaryCallable<SetDefaultProcessorVersionRequest,Operation> |
setDefaultProcessorVersionOperationCallable()
public OperationCallable<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata> setDefaultProcessorVersionOperationCallable()
Type | Description |
OperationCallable<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
trainProcessorVersionCallable()
public UnaryCallable<TrainProcessorVersionRequest,Operation> trainProcessorVersionCallable()
Type | Description |
UnaryCallable<TrainProcessorVersionRequest,Operation> |
trainProcessorVersionOperationCallable()
public OperationCallable<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata> trainProcessorVersionOperationCallable()
Type | Description |
OperationCallable<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata> |
undeployProcessorVersionCallable()
public UnaryCallable<UndeployProcessorVersionRequest,Operation> undeployProcessorVersionCallable()
Type | Description |
UnaryCallable<UndeployProcessorVersionRequest,Operation> |
undeployProcessorVersionOperationCallable()
public OperationCallable<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata> undeployProcessorVersionOperationCallable()
Type | Description |
OperationCallable<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata> |